Push button reacts to status NONE

Hi, being a HA newbie i have following questions
I have a Silvercrest Zigbee smart pushbutton and try to use it in a automation.
This is the trigger

platform: state
entity_id:

  • sensor.drukknop1_action

I declared Some actions when pushed. Switching lights on and off each time the button is pushed (toggled)
Works ok. But after 1hour the lights go on without pushing the button.
When I check the log of the button I see that it had changed to status ‘none’.
What does this mean, how is this triggered and how can I solve this?
Thanks in advance.

Marc.

It would help to post your formatted automation in the future.

However, in this case, you want to specify a from: argument. So, something like this:

- platform: state
    entity_id:
      - input_boolean.working_mode_switch
    from: "on"
    to: "off"

I’m guessing that this is happening because the switch is going either unavailable or is sending a message with a none result in the action.

Please format your code properly

And the reason is you did not specify a from: or to:

1 Like

Thanks for helping.
I will try this out and give more information i n the future
M