My Automation only fires sometimes

I can’t seem to figure this out. I have a Zen 34 switch which I want to fire an automation. Something the automation fires and sometimes it does not. HA see the switch everytime, so I don’t understand why the automation will not fire.

Help please.

What does the trace show in the automation? How is your automation set up?

1 Like

Hello Terry,

Please share your automation. We have no clue what you are trying to do.

My first guess is this, however, as it gets a lot of new people.

1 Like

Sorry I should be provided more details up front.
I have a Zooz Zen34 rocker switch with Sceen 01 and 02. I’m trying to get the switch to turn the POE port 15 on/off. I have a unifi router and poe switch and can see the switch entity change when the automation fires.

But, it only fires sometimes.

alias: Turn off Camera port
description: “”
triggers:

  • device_id: 21ebf53df53c6e990ba576d00b919c38
    domain: zwave_js
    type: event.value_notification.central_scene
    property: scene
    property_key: “002”
    endpoint: 0
    command_class: 91
    subtype: Endpoint 0 Scene 002
    trigger: device
    value: 0
    conditions:
    actions:
  • action: switch.turn_off
    metadata: {}
    data: {}
    target:
    entity_id: switch.usw_24_poe_port_15_poe
    mode: single

How to help us help you - or How to ask a good question - Configuration - Home Assistant Community

Post your code in code tags because the forum editor turns your yaml files into gibberish.

2 Likes