From ee18fd0b8d7b83d3dbfa79cd1e6b612333c18dbe Mon Sep 17 00:00:00 2001 From: ccostan Date: Thu, 16 Jul 2020 13:08:35 -0400 Subject: [PATCH] Minor Swap of Names for some Light GROUPS. --- config/packages/garadget.yaml | 3 +-- config/packages/office_motion.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config/packages/garadget.yaml b/config/packages/garadget.yaml index caec7aa6..790f8839 100755 --- a/config/packages/garadget.yaml +++ b/config/packages/garadget.yaml @@ -42,12 +42,11 @@ sensor: name: "Large Garage Door Since" state_topic: "garadget/GLarge/status" value_template: '{{ value_json.time }}' - unit_of_measurement: 'minutes' + - platform: mqtt name: "Small Garage Door Since" state_topic: "garadget/GSmall/status" value_template: '{{ value_json.time }}' - unit_of_measurement: 'minutes' group: garage_doors: # This group is used to check if doors are open or Closed. diff --git a/config/packages/office_motion.yaml b/config/packages/office_motion.yaml index c5bec5e3..e46fb1df 100755 --- a/config/packages/office_motion.yaml +++ b/config/packages/office_motion.yaml @@ -8,7 +8,7 @@ homeassistant: binary_sensor.office_motion: friendly_name: Office Motion Sensor - + #---Sensor for Light----------------------------- binary_sensor: - platform: mqtt @@ -39,7 +39,7 @@ automation: entity_id: group.family state: 'home' - condition: state - entity_id: light.office_lamp + entity_id: light.office_lights state: 'off' - condition: or conditions: @@ -68,7 +68,7 @@ automation: action: - service: light.turn_on - entity_id: light.office_lamp + entity_id: light.office_lights - alias: 'Motion in the Office - Turn off Light' trigger: @@ -82,9 +82,9 @@ automation: condition: - condition: state - entity_id: light.office_lamp + entity_id: light.office_lights state: 'on' action: - service: light.turn_off - entity_id: light.office_lamp + entity_id: light.office_lights