1
0

Rename table lights to office

This commit is contained in:
Przemek Grondek 2021-12-14 16:09:31 +01:00
parent 9857a90de1
commit 479fa18e40
6 changed files with 17 additions and 16 deletions

View File

@ -10,14 +10,14 @@
- choose:
- conditions:
- condition: state
entity_id: light.table_lamp
entity_id: light.office
state: 'on'
sequence:
- service: light.turn_off
entity_id: light.table_lamp
entity_id: light.office
- conditions:
- condition: state
entity_id: light.table_lamp
entity_id: light.office
state: 'off'
sequence:
- choose:
@ -27,7 +27,7 @@
state: 'on'
sequence:
- service: light.turn_on
entity_id: light.table_lamp
entity_id: light.office
data:
brightness_pct: 100
kelvin: 2000
@ -37,7 +37,7 @@
state: 'off'
sequence:
- service: light.turn_on
entity_id: light.table_lamp
entity_id: light.office
data:
brightness_pct: 100
kelvin: 3200

View File

@ -13,14 +13,14 @@
- choose:
- conditions:
- condition: state
entity_id: light.table_lamp
entity_id: light.office
state: 'on'
sequence:
- service: light.turn_off
entity_id: light.table_lamp
entity_id: light.office
- conditions:
- condition: state
entity_id: light.table_lamp
entity_id: light.office
state: 'off'
sequence:
- choose:
@ -36,7 +36,7 @@
state: 'on'
sequence:
- service: light.turn_on
entity_id: light.table_lamp
entity_id: light.office
data:
brightness_pct: 100
kelvin: 2000
@ -46,7 +46,7 @@
state: 'off'
sequence:
- service: light.turn_on
entity_id: light.table_lamp
entity_id: light.office
data:
brightness_pct: 100
kelvin: 3200
@ -56,7 +56,7 @@
state: Night
sequence:
- service: light.turn_on
entity_id: light.table_lamp
entity_id: light.office
data:
brightness_pct: 5
kelvin: 2700

View File

@ -14,6 +14,7 @@ http:
- 192.168.50.101
- 192.168.50.102
- 192.168.50.103
- 192.168.50.104
ip_ban_enabled: false
login_attempts_threshold: 5
image:

View File

@ -25,7 +25,7 @@
name: Couch Lights
- entityId: light.desk_lightbar
name: Desk Lightbar
- entityId: light.table_lamp
- entityId: light.office
name: Table lamp
- name: Copy rest of automations
copy:

View File

@ -17,8 +17,8 @@
name: Couch Lights
- entityId: light.desk_lightbar
name: Desk Lightbar
- entityId: light.table_lamp
name: Table lamp
- entityId: light.office
name: Office lamp
- name: Concat scripts
ansible.builtin.assemble:
src: scripts

View File

@ -13,7 +13,7 @@ good_night:
- light.desk_lightbar_ambilight
- light.couch_lights
- light.tv_lights
- light.table_lamp
- light.office
- light.kitchen_lights
- light.kitchen_sink_lighstrip
- light.bathroom_lights
@ -92,7 +92,7 @@ leave_home:
- light.desk_lightbar_ambilight
- light.couch_lights
- light.tv_lights
- light.table_lamp
- light.office
- light.kitchen_lights
- light.kitchen_sink_lighstrip
- light.bathroom_lights