[ZHA] Inovelli VZM31-SN Blue Series 2-1 Switch

This blueprint really makes controlling things other than lights easy which I love. My first automation is to make a single click of the config button tell the robot mop or vac to come clean the room.

I’ve been working on cleaning up things writing into logbook that don’t need to be there. This is both to keep my database smaller and to make debugging easier by lowering the signal to noise ratio. I get entries ever few minutes such as “FR Inovelli Canlight Switch Actions triggered by state of FR Ceiling Canlights Action
4:48:55 PM - 1 second ago” even though I haven’t touched the switch. I think it just needs a condition added to the trigger condition so that it’s not triggered on null but I tried adding a condition to the trigger in the template but it just breaks it. I’m new to Blueprints so probably my issue:

condition:

  • condition: template
    value_template: >
    {{ trigger.to_state.state not in [‘’, ‘unknown’, ‘null’] }

Any suggestions what the right way in a blueprint to get the automation only to trigger and therefore log an entry when a button is pressed?