mirror of
https://github.com/HASwitchPlate/HASPone.git
synced 2025-07-24 11:46:33 +00:00
Fix breaking changes in 2021.04
This commit is contained in:
parent
2ee34cb5d3
commit
2c446cd9f9
@ -353,7 +353,7 @@ action:
|
||||
# Create required helpers and apply HASP defaults when "RUN ACTIONS" is pressed by the user
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: "{{ (trigger is not defined) or (trigger.platform|lower == 'none') }}"
|
||||
value_template: "{{ (trigger is not defined) or (trigger.platform is none) }}"
|
||||
sequence:
|
||||
# Push discovery messages for RGB lights used to configure themes
|
||||
- service: mqtt.publish
|
||||
|
@ -192,7 +192,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -190,7 +190,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -282,7 +282,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -196,7 +196,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -282,7 +282,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -337,7 +337,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -314,7 +314,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -314,7 +314,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -194,7 +194,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -369,7 +369,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -408,7 +408,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -288,7 +288,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -267,7 +267,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -421,7 +421,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -131,7 +131,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -269,7 +269,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -254,7 +254,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -254,7 +254,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
@ -307,7 +307,7 @@ action:
|
||||
{{-
|
||||
(trigger is not defined)
|
||||
or
|
||||
(trigger.platform|lower == 'none')
|
||||
(trigger.platform is none)
|
||||
or
|
||||
((trigger.platform == 'homeassistant') and (trigger.event == 'start'))
|
||||
or
|
||||
|
Loading…
x
Reference in New Issue
Block a user