Giter VIP home page Giter VIP logo

tuya-vacuum-card's People

Contributors

rikman122 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tuya-vacuum-card's Issues

Mode, Fan_speed_list values

During initial testing of your card, found that you have hardcoded fan_speed_list values.

en: {
    smart: "Smart",
    standby: "Standby",
    chargego: "Go Charge",
    wall_follow: "Wall Follow",
    spiral: "Spiral",
    single: "Spot",
    low: "Low",
    normal: "Normal",
    high: "High"
},

as an example, my vacuum has different mode names (modes and fan_speed_list)

      - platform: vacuum
        friendly_name: Robot Vacuum
        id: 5
        idle_status_value: "standby,sleep,paused"
        powergo_dp: 2
        docked_status_value: "charging,charge_done"
        returning_status_value: "goto_charge"
        battery_dp: 6
        mode_dp: 3
        modes: "chargego,smart,wall_follow,spiral,partial_bow,mop"
        fan_speed_dp: 14
        fan_speeds: "gentle,normal,strong"
        clean_time_dp: 16
        clean_area_dp: 17

probably it will be good idea to fetch those from vacuum itself or define them in card configuration.

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.