From 8d1304b67f35b1694cd7f0cfbfd0f709d1623c95 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Sat, 19 Nov 2016 18:45:39 +0000 Subject: [PATCH] Name Changes and View Changes --- Misc Stuff.md | 28 +++++++++++++++------------- automation/device_status.yaml | 2 +- automation/good_morning.yaml | 2 +- automation/late_night_helper.yaml | 6 +++--- configuration.yaml | 1 + group/Indoor_Outdoor.yaml | 6 +++--- group/lights.yaml | 11 +++-------- group/views.yaml | 7 +++++++ scene/tv_time.yaml | 11 +++++++---- 9 files changed, 41 insertions(+), 33 deletions(-) diff --git a/Misc Stuff.md b/Misc Stuff.md index b950fb96..3603f4a3 100755 --- a/Misc Stuff.md +++ b/Misc Stuff.md @@ -54,16 +54,18 @@ action: transition: 1 brightness: 255 - -alias: 'Autoadjust Bedroom Lights After Sunset' -trigger: - - platform: numeric_state - entity_id: light.bedroom_light_1 - value_template: '{{ state.attributes.brightness }}' - above: 140 -condition: - condition: state - entity_id: sun.sun - state: below_horizon -action: - - service: script.bedroom_lights_fade_down_to_50_percent \ No newline at end of file + + + + # Template Binary Sensors +platform: template +sensors: + flood_sensor: + value_template: >- + {% if states.sensor.everspring_st812_flood_detector_flood_2_5.state == '255' %} + 'on' + {% elif states.sensor.everspring_st812_flood_detector_flood_2_5.state == '0' %} + 'off' + {% else %} + n/a + {% endif %} diff --git a/automation/device_status.yaml b/automation/device_status.yaml index 123ea52d..67ededf4 100755 --- a/automation/device_status.yaml +++ b/automation/device_status.yaml @@ -15,7 +15,7 @@ - sensor.circle - sensor.rachio - sensor.skybell - - sensor.samsungtv + #- sensor.samsungtv - sensor.chromecast_audio_1 - sensor.chromecast_audio_2 - sensor.nest_upstairs diff --git a/automation/good_morning.yaml b/automation/good_morning.yaml index 54e4672c..18ad97b7 100755 --- a/automation/good_morning.yaml +++ b/automation/good_morning.yaml @@ -27,7 +27,7 @@ action: - service: light.turn_on entity_id: - - light.kitchen_fridge + - light.fridge - light.s1 - light.s4 data: diff --git a/automation/late_night_helper.yaml b/automation/late_night_helper.yaml index e67b978a..1d67de65 100755 --- a/automation/late_night_helper.yaml +++ b/automation/late_night_helper.yaml @@ -29,9 +29,9 @@ - group.living_room_accents - light.living_room_slider - light.foyer_door - - light.kitchen_fridge - - light.kitchen_sink - - light.living_room_front_right + - light.fridge + - light.sink + - light.M1_front_right data: brightness: 150 diff --git a/configuration.yaml b/configuration.yaml index 05342495..4e7f21d7 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -76,6 +76,7 @@ climate: media_player: platform: cast + host: 192.168.10.105 sensor: !include_dir_merge_list sensor automation: !include_dir_merge_list automation diff --git a/group/Indoor_Outdoor.yaml b/group/Indoor_Outdoor.yaml index 00b69ab9..89ace247 100755 --- a/group/Indoor_Outdoor.yaml +++ b/group/Indoor_Outdoor.yaml @@ -4,15 +4,15 @@ Interior Lights: - group.Living_Room_Lights - group.Living_Room_Accents - group.Dinette_Lights + - group.dining_room_lights - group.den_lights - group.foyer_lights - group.office_lights + - group.hallway_lights - group.upstairs_lights - - group.dining_room_lights - group.Outdoor_pool_lights - group.garage_lights - - group.hallway_lights - + Outdoor Lights: entities: - light.outdoor_foyer diff --git a/group/lights.yaml b/group/lights.yaml index 419b2bea..5439f581 100755 --- a/group/lights.yaml +++ b/group/lights.yaml @@ -10,8 +10,8 @@ Kitchen lights: - light.K4 - light.K5 - light.K6 - - light.Kitchen_sink - - light.Kitchen_fridge + - light.sink + - light.fridge Living Room lights: entities: @@ -62,12 +62,7 @@ Outdoor Pool Lights: - light.P1_front_right - light.P1_back_left - light.P1_back_left - -Outdoor Lights: - entities: - - light.outdoor_foyer - - light.Outdoor_bathroom - + Garage lights: entities: - light.garage_attic diff --git a/group/views.yaml b/group/views.yaml index d229a56b..216827ad 100755 --- a/group/views.yaml +++ b/group/views.yaml @@ -18,6 +18,7 @@ default_view: - group.foyer_lights - group.upstairs_lights - group.den_lights + - group.hallway - group.office_lights - group.garage_lights - group.outdoor_pool_lights @@ -29,6 +30,8 @@ Lights: entities: - group.home_modes - group.amps + - group.interior_lights + - group.outdoor_lights - group.holiday_lights - group.Bedroom_lights - group.Kitchen_lights @@ -42,6 +45,7 @@ Lights: - group.office_lights - group.garage_lights - group.outdoor_pool_lights + Info: view: yes @@ -52,6 +56,9 @@ Info: - group.network - group.sensors - sun.sun + - media_player.roku_1gj361038190 + - media_player.roku_1gs3ac111661 + - media_player.roku_2N006T621680 - group.weather - group.all_lights - group.all_switches diff --git a/scene/tv_time.yaml b/scene/tv_time.yaml index 11c5e727..455160dd 100755 --- a/scene/tv_time.yaml +++ b/scene/tv_time.yaml @@ -1,15 +1,18 @@ - name: Living Room TV Time entities: - group.foyer: + group.foyer_lights: state: off transition: 100 - group.office: + group.office_lights: state: off transition: 10 - group.dinette: + group.dinette_lights: state: off transition: 100 - group.kitchen: + group.kitchen_lights: + state: off + transition: 100 + group.dining_room_lights: state: off transition: 100 light.M1_front_left: