mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-04-30 03:26:02 +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"
|
name: "Large Garage Door Since"
|
||||||
state_topic: "garadget/GLarge/status"
|
state_topic: "garadget/GLarge/status"
|
||||||
value_template: '{{ value_json.time }}'
|
value_template: '{{ value_json.time }}'
|
||||||
unit_of_measurement: 'minutes'
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Small Garage Door Since"
|
name: "Small Garage Door Since"
|
||||||
state_topic: "garadget/GSmall/status"
|
state_topic: "garadget/GSmall/status"
|
||||||
value_template: '{{ value_json.time }}'
|
value_template: '{{ value_json.time }}'
|
||||||
unit_of_measurement: 'minutes'
|
|
||||||
|
|
||||||
group:
|
group:
|
||||||
garage_doors: # This group is used to check if doors are open or Closed.
|
garage_doors: # This group is used to check if doors are open or Closed.
|
||||||
|
@ -39,7 +39,7 @@ automation:
|
|||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
state: 'home'
|
state: 'home'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.office_lamp
|
entity_id: light.office_lights
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
@ -68,7 +68,7 @@ automation:
|
|||||||
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id: light.office_lamp
|
entity_id: light.office_lights
|
||||||
|
|
||||||
- alias: 'Motion in the Office - Turn off Light'
|
- alias: 'Motion in the Office - Turn off Light'
|
||||||
trigger:
|
trigger:
|
||||||
@ -82,9 +82,9 @@ automation:
|
|||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.office_lamp
|
entity_id: light.office_lights
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.office_lamp
|
entity_id: light.office_lights
|
||||||
|
Loading…
x
Reference in New Issue
Block a user