Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95399

Strange behavior in button card

$
0
0

@cinquemic wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95399

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>