Home-AssistantConfig/automation/System/Self_heal.yaml

23 lines
887 B
YAML
Executable File

###################################
## Self Healing Section -
## Home Assistant runs on my [Raspberry Pi 3](http://amzn.to/2e3DOBY) with [Aeon Labs Z Wave Stick (GEN 5)](http://amzn.to/2eAiAP0).
###################################
- alias: Heal ZWave Nightly
hide_entity: True
trigger:
platform: time
at: '2:31:00'
action:
# - service: zwave.heal_network - Not needed anymore since I've migrated to Wink.
- service: script.tweet_engine
data_template:
tweet: >
{{ [
"While they sleep, I self heal the Z-Wave network with Wink.",
"Nightly Z-WAVE Self heals keep all the gear in check! (http://amzn.to/2q17R4S)",
"Every night at 2:31am, I do my self-heal and rebuild the ZWAVE network.",
"Without my Nightly ZWave Self Heal, things get a little whackado."
] | random + " #SelfHeal #ZWave"}}