From 614c8a5f4e3bf26d3af0a91685e00eecb171339b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 21 Jan 2023 01:27:13 +0400 Subject: Media controls, occupancy tracking, and fixes --- scripts.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'scripts.yaml') 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 -- cgit v1.2.3