various tidyups

This commit is contained in:
zorruno
2026-07-29 23:18:11 +12:00
parent adb533d6a3
commit dd13f52feb
22 changed files with 6837 additions and 4057 deletions
@@ -113,13 +113,12 @@ automation:
# Re-apply when the openHASP display comes online
##########################################################################
- trigger: mqtt
topic: hasp/openhasp_1/status
payload: online
topic: "hasp/openhasp_1/LWT"
actions:
- if:
- condition: template
value_template: "{{ trigger.platform in ['homeassistant', 'mqtt'] }}"
value_template: "{{ trigger.platform == 'homeassistant' or (trigger.platform == 'mqtt' and trigger.payload == 'online') }}"
then:
- delay: "00:00:02"