initial commit

This commit is contained in:
2025-02-07 12:46:24 -05:00
commit 8dfb36a3f1
183 changed files with 9212 additions and 0 deletions

View File

@ -0,0 +1,24 @@
---
- alias: "[Scene] Bedroom Olivia Scene Rotation"
initial_state: 'true'
trigger:
platform: state
entity_id: input_select.bedroom_olivia_scenes
action:
- service: scene.turn_on
data_template:
entity_id: scene.bedroom_olivia_{{ states.input_select.bedroom_olivia_scenes.state | replace(' ', '_') | lower | string }}
transition: 2.5
- service: input_text.set_value
target:
entity_id: input_text.bedroom_olivia_last_scene
data:
value: "{{ states.input_select.bedroom_olivia_scenes.state | replace(' ', '_') | lower | string }}"
- service_template: >
{% if states.input_select.bedroom_olivia_scenes.state | lower | string == 'off' %}
input_boolean.turn_off
{% else %}
input_boolean.turn_on
{% endif %}
entity_id:
- input_boolean.bedroom_olivia_light_state