ok so some background
I have my Tuya added to my HA and the addin imported the 2 scenes i had setup on the Tuya iOS app.
These scenes are “blinds open” which opens 3 blinds and “blinds closed” which closes the same 3 blinds.
My question is how do i set these up in HomeAssistant as a button that i can tap
I have put the following code in lovelace-ui.yaml which is:
- type: custom:button-card
entity: scene.close_blinds
name: Blinds
template:
- base
- icon_closet
which shows the button which i can tap and they close, but then it doesnt switch to show me the other command to open them, i guess i need some sort of dual function button/helper code or something, but with it being a scene (and not a entity) im struggling.
I woudl also like some control over the blinds currently it just seems them as on/off i guess (open/closed) and doesnt know their posistions as its not that inteligent. so would need the sensor to say be able to open them 50% for summer mode or something.
any help would be welcomed and even buy someone a beer if they get this working with me!