From 0d1ee35bdd74e0ec955fd9495f581adc493f3644 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Sat, 22 Oct 2016 15:48:23 +0000 Subject: [PATCH] Fix lights so Alexa doesn't get confused. --- Misc Stuff.md | 13 ++++++++++- automation/late_night_helper.yaml | 8 +++---- device_tracker/nmap.yaml | 2 +- group/home_mode.yaml | 1 - group/lights.yaml | 38 ++++++++++++++++++------------- scene/tv_time.yaml | 6 ++--- 6 files changed, 42 insertions(+), 26 deletions(-) diff --git a/Misc Stuff.md b/Misc Stuff.md index a32a03ed..6997dd1e 100755 --- a/Misc Stuff.md +++ b/Misc Stuff.md @@ -1,4 +1,15 @@ - +- alias: turn_it_off_after_10m + trigger: + - platform: state + entity_id: light.bedroom + state: 'on' + for: '00:10:00' + condition: + ... + action: + - service: light.turn_off + data_template: + entity_id: "{{ trigger.entity_id }}" - alias: 'Get Random Time' diff --git a/automation/late_night_helper.yaml b/automation/late_night_helper.yaml index ef1f0724..f7d959e9 100755 --- a/automation/late_night_helper.yaml +++ b/automation/late_night_helper.yaml @@ -27,10 +27,10 @@ entity_id: - group.living_room_accents - light.living_room_slider - - light.foyer_door_light - - light.kitchen_fridge_light - - light.kitchen_sink_light + - light.foyer_door + - light.kitchen_fridge + - light.kitchen_sink - light.living_room_front_right data: - brightness: 200 + brightness: 150 diff --git a/device_tracker/nmap.yaml b/device_tracker/nmap.yaml index c130741e..457c1448 100755 --- a/device_tracker/nmap.yaml +++ b/device_tracker/nmap.yaml @@ -1,4 +1,4 @@ - platform: nmap_tracker - hosts: 192.168.10.50-254 + hosts: 192.168.10.100-250 track_new_devices: no # consider_home: 1800 - Added to known_devices.yaml instead on a device by device basis. \ No newline at end of file diff --git a/group/home_mode.yaml b/group/home_mode.yaml index 03670d38..6e3de083 100755 --- a/group/home_mode.yaml +++ b/group/home_mode.yaml @@ -1,5 +1,4 @@ home_modes: entities: - input_boolean.guest_mode - - automation.goodnight__away_mode - scene.living_room_tv_time diff --git a/group/lights.yaml b/group/lights.yaml index f31e12c3..d8e21b7a 100755 --- a/group/lights.yaml +++ b/group/lights.yaml @@ -1,17 +1,17 @@ Bedroom: entities: - - light.bedroom_stacey_light + - light.bedroom Kitchen: entities: - - light.kitchen_light_1 - - light.kitchen_light_2 - - light.kitchen_light_3 - - light.kitchen_light_4 - - light.kitchen_light_5 - - light.kitchen_light_6 - - light.kitchen_sink_light - - light.kitchen_fridge_light + - light.kitchen_1 + - light.kitchen_2 + - light.kitchen_3 + - light.kitchen_4 + - light.kitchen_5 + - light.kitchen_6 + - light.kitchen_sink + - light.kitchen_fridge Living Room: entities: @@ -23,14 +23,14 @@ Living Room: Living Room Accents: entities: - - light.living_room_couch_1 - - light.living_room_couch_2 - - light.couch_tv_light + - light.couch_1 + - light.couch_2 + - light.couch_tv Dinette: entities: - - light.dinette_light_1 - - light.dinette_light_2 + - light.dinette_1 + - light.dinette_2 Den: entities: @@ -38,8 +38,8 @@ Den: Foyer: entities: - - light.foyer_door_light - - light.foyer_light + - light.foyer_door + - light.foyer Office: entities: @@ -49,3 +49,9 @@ Upstairs: entities: - light.upstairs_lamp +Dining_Room: + entities: + - light.sconce_1 + - light.sconce_2 + - light.sconce_3 + - light.sconce_4 diff --git a/scene/tv_time.yaml b/scene/tv_time.yaml index 9681d0ab..6d0e3677 100755 --- a/scene/tv_time.yaml +++ b/scene/tv_time.yaml @@ -23,17 +23,17 @@ state: on transition: 40 brightness: 1 - light.living_room_couch_1: + light.couch_1: state: on transition: 400 xy_color: [0.6621,0.3023] brightness: 255 - light.living_room_couch_2: + light.couch_2: state: on transition: 400 xy_color: [0.6621,0.3023] brightness: 255 - light.couch_tv_light: + light.couch_tv: state: on transition: 400 xy_color: [0.6621,0.3023]