Created
February 19, 2023 18:18
-
-
Save dgrove/1787bb54e82a54551d5333c85ce35a33 to your computer and use it in GitHub Desktop.
Zwave ping dead nodes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Ping Dead ZWave Nodes | |
description: Auto press ping button for dead zwave nodes. | |
trigger: | |
- platform: state | |
entity_id: sensor.offline_zwave_devices | |
not_to: | |
- unknown | |
- unavailable | |
condition: | |
- condition: numeric_state | |
entity_id: sensor.offline_zwave_devices | |
above: 0 | |
action: | |
- repeat: | |
until: | |
- condition: numeric_state | |
entity_id: sensor.offline_zwave_devices | |
below: 1 | |
sequence: | |
- service: button.press | |
target: | |
entity_id: "{{ state_attr('sensor.offline_zwave_devices','entity_id') }}" | |
- delay: | |
hours: 0 | |
minutes: 0 | |
seconds: 30 | |
milliseconds: 0 | |
mode: queued |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment