mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-21 11:24:54 +00:00
Minor Swap of Names for some Light GROUPS.
This commit is contained in:
parent
dd81e503ad
commit
ee18fd0b8d
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user