Hi all,
I have a problem with a button card I’m running on hassio 0.108.1.
When I set assumed_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