@cinquemic wrote:
Hi all,
I have a problem with a button card I’m running on hassio 0.108.1.
When I setassumed_state: false
in customize, the button switch to on and then to off, if I re-press the button it work normally and it stay on.
the code for the switch:- platform: command_line switches: irrigazione: command_on: 'python3 /config/python_scripts/irrig_on.py' command_off: 'python3 /config/python_scripts/irrig_off.py'
If I use an entity card and don’t use
assumed_state: false
the switch works normally.
Any ideas?
thanks
Posts: 1
Participants: 1