various tidyups

This commit is contained in:
zorruno committed 2026-07-29 23:18:11 +12:00
1 parent adb533d6a3
commit dd13f52feb
22 files changed
+6837 -4057

No files matched your search

@@ -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"