summaryrefslogtreecommitdiffstats
path: root/scripts.yaml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2023-01-21 01:27:13 +0400
committerSuren A. Chilingaryan <csa@suren.me>2023-01-21 01:27:13 +0400
commit614c8a5f4e3bf26d3af0a91685e00eecb171339b (patch)
tree94a94b63fb3e10a1ec4bf132bd5e3dde4dafae3b /scripts.yaml
parent2c0c331eb7b7a03152309bbbd4e0fee157e8d86c (diff)
downloadhass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.tar.gz
hass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.tar.bz2
hass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.tar.xz
hass-614c8a5f4e3bf26d3af0a91685e00eecb171339b.zip
Media controls, occupancy tracking, and fixes
Diffstat (limited to 'scripts.yaml')
-rw-r--r--scripts.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts.yaml b/scripts.yaml
index 59b3898..09cb932 100644
--- a/scripts.yaml
+++ b/scripts.yaml
@@ -95,3 +95,18 @@ kodi_sleep:
target:
entity_id: media_player.smartpi
mode: single
+turn_on_office_lights:
+ alias: turn_on_office_lights
+ sequence:
+ - parallel:
+ - service: light.turn_on
+ data:
+ brightness_pct: 100
+ kelvin: 6000
+ target:
+ entity_id: light.yeelight_color_0x7caaf86
+ - service: homeassistant.turn_off
+ data: {}
+ target:
+ entity_id: switch.lights_living_lustre
+ mode: single