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: - choose:
- conditions: - conditions:
- condition: state - condition: state
entity_id: light.table_lamp entity_id: light.office
state: 'on' state: 'on'
sequence: sequence:
- service: light.turn_off - service: light.turn_off
entity_id: light.table_lamp entity_id: light.office
- conditions: - conditions:
- condition: state - condition: state
entity_id: light.table_lamp entity_id: light.office
state: 'off' state: 'off'
sequence: sequence:
- choose: - choose:
@ -27,7 +27,7 @@
state: 'on' state: 'on'
sequence: sequence:
- service: light.turn_on - service: light.turn_on
entity_id: light.table_lamp entity_id: light.office
data: data:
brightness_pct: 100 brightness_pct: 100
kelvin: 2000 kelvin: 2000
@ -37,7 +37,7 @@
state: 'off' state: 'off'
sequence: sequence:
- service: light.turn_on - service: light.turn_on
entity_id: light.table_lamp entity_id: light.office
data: data:
brightness_pct: 100 brightness_pct: 100
kelvin: 3200 kelvin: 3200

View File

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

View File

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

View File

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

View File

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

View File

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