mirror of
https://github.com/nikdoof/homeassistant-blueprints.git
synced 2025-12-22 22:10:37 +00:00
Fix Hue sensor templates
This commit is contained in:
@@ -65,7 +65,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: {{ trigger.to_state.state == "on" }}
|
||||
value_template: "{{ trigger.to_state.state == 'on' }}"
|
||||
- condition: numeric_state
|
||||
entity_id: !input motion_sensor
|
||||
attribute: illuminance_lux
|
||||
@@ -79,7 +79,7 @@ action:
|
||||
brightness_pct: !input brightness
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: {{ trigger.to_state.state == "off" }}
|
||||
value_template: "{{ trigger.to_state.state == 'off' }}"
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
target: !input target_lights
|
||||
|
||||
Reference in New Issue
Block a user