Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Ping dead node
- description: >-
- Pings a node if it goes dead. Needs trigger and choose for each node so entire
- network does not get a ping. allows parallel run in case multiple nodes go
- dead at the same time.
- trigger:
- - platform: state
- entity_id: sensor.bsmt_living_node_status
- id: 2 Bsmt Living
- to: dead
- for:
- hours: 0
- minutes: 0
- seconds: 2
- - platform: state
- entity_id: sensor.bsmt_bar_node_status
- id: 3 Bsmt Bar
- to: dead
- for:
- hours: 0
- minutes: 0
- seconds: 2
- condition: []
- action:
- - choose:
- - conditions:
- - condition: trigger
- id: 2 Bsmt Living
- sequence:
- - service: zwave_js.ping
- target:
- entity_id: light.bsmt_living
- data: {}
- - conditions:
- - condition: trigger
- id: 3 Bsmt Bar
- sequence:
- - service: zwave_js.ping
- target:
- entity_id: light.bsmt_bar
- data: {}
- mode: parallel
- max: 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement