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

New Automation is not triggering as expected

$
0
0

@giannella wrote:

Hi all,

I created this automation but HA doesn’t trigger it when the window sersor (Shelly Windows) changes from Close to Open:

- id: '00016'
  alias: LuceBox
  initial_state: true
  trigger:
    platform: state
    entity_id:
      - binary_sensor.sensore_portone_box
    from: close
    to: open
  condition: []
  - condition: state
    entity_id: switch.luce_box_mqtt
    state: 'off'
  action:
  - entity_id: switch.luce_box_mqtt
    service: switch.turn_on
  - delay: '60'
  - entity_id: switch.luce_box_mqtt
    service: switch.turn_off

What is wrong in the test above?

Home Assistant 0.110.4
HassOS 4.8

thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102481

Trending Articles



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