-
Notifications
You must be signed in to change notification settings - Fork 723
Request support for Skytower Grand Smart #3366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I added oscillating also as extra switch, I think everything works, don't thibk there is any diagnostic DP for errors or something, not sure |
Why did you add it as an extra switch? You shouldn't do that. |
It's easier in HA eventually to control it with a button card for example... Since oscillating is a complete different fan service... You need to set it to true/false instead of on/off I could also make a template switch offcourse, but easier if the switch is coming from your integration |
The integration should be about getting the data into HA, providing different options for ease of UI use is not something to aim for. Helpers can be used, or you can learn to use attributes in the UI cards. Exposing a switch entity does not even help with creating a button in the UI, as you still need to create a button that calls an action when pressed, and it isn't really any different if that action is switch.turn_on() or fan.oscillate(oscillating=True) |
ok, makes sense! i now have like:
otherwise i have to use, something like below in the button card, but for some reason it didnt work, it turns it to off, but doesnt turn it on again :-)
|
remove oscillating
value: "8h" | ||
- dps_val: "9H" | ||
value: "9h" | ||
# - entity: sensor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally a select style timer will come with such a sensor, so I think it should be included. Often if the timer is not set, then the dp is not reported, so the dp should be marked as optional: true
custom_components/tuya_local/devices/klarstein_skytower_grand_smart.yaml
Outdated
Show resolved
Hide resolved
ok, changed those 2 |
- filename: follow convention of brandname_modelname_type.yaml - uncomment time_remaining sensor and add optional: true so it does not affect detection PR make-all#3366
hey @make-all are you sure for that diagnostic one? i want able to find the correct dp 12 ?
|
I would look at using |
No description provided.