Minor Swap of Names for some Light GROUPS.

This commit is contained in:
ccostan 2020-07-16 13:08:35 -04:00
parent dd81e503ad
commit ee18fd0b8d
2 changed files with 6 additions and 7 deletions

View File

@ -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.

View File

@ -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