1
0

Rename some entities

This commit is contained in:
Przemek Grondek 2021-10-11 20:15:50 +02:00
parent 39e2a4ac88
commit 0435938743
7 changed files with 35 additions and 35 deletions

View File

@ -13,13 +13,13 @@
entity_id: input_select.home_mode entity_id: input_select.home_mode
state: Day state: Day
- condition: state - condition: state
entity_id: binary_sensor.computer_cave_window_1_open_close entity_id: binary_sensor.dining_window_1_open_close
state: 'off' state: 'off'
- condition: state - condition: state
entity_id: binary_sensor.computer_cave_window_2_open_close entity_id: binary_sensor.dining_window_2_open_close
state: 'off' state: 'off'
- condition: state - condition: state
entity_id: binary_sensor.living_room_window_open_close entity_id: binary_sensor.office_window_open_close
state: 'off' state: 'off'
action: action:
- service: climate.turn_on - service: climate.turn_on
@ -37,17 +37,17 @@
mode: single mode: single
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.computer_cave_window_1_open_close entity_id: binary_sensor.dining_window_1_open_close
to: 'on' to: 'on'
for: for:
minutes: 1 minutes: 1
- platform: state - platform: state
entity_id: binary_sensor.computer_cave_window_2_open_close entity_id: binary_sensor.dining_window_2_open_close
to: 'on' to: 'on'
for: for:
minutes: 1 minutes: 1
- platform: state - platform: state
entity_id: binary_sensor.living_room_window_open_close entity_id: binary_sensor.office_window_open_close
to: 'on' to: 'on'
for: for:
minutes: 1 minutes: 1

View File

@ -25,10 +25,10 @@
entity_id: binary_sensor.bedroom_window_open_close entity_id: binary_sensor.bedroom_window_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.computer_cave_window_1_open_close entity_id: binary_sensor.dining_window_1_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.computer_cave_window_2_open_close entity_id: binary_sensor.dining_window_2_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.freezer_door_on_off entity_id: binary_sensor.freezer_door_on_off
@ -37,7 +37,7 @@
entity_id: binary_sensor.front_door_open_close entity_id: binary_sensor.front_door_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.living_room_window_open_close entity_id: binary_sensor.office_window_open_close
to: 'on' to: 'on'
# Use lock # Use lock
- platform: state - platform: state
@ -58,10 +58,10 @@
entity_id: binary_sensor.bedroom_window_open_close entity_id: binary_sensor.bedroom_window_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.computer_cave_window_1_open_close entity_id: binary_sensor.dining_window_1_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.computer_cave_window_2_open_close entity_id: binary_sensor.dining_window_2_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.freezer_door_on_off entity_id: binary_sensor.freezer_door_on_off
@ -70,7 +70,7 @@
entity_id: binary_sensor.front_door_open_close entity_id: binary_sensor.front_door_open_close
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.living_room_window_open_close entity_id: binary_sensor.office_window_open_close
to: 'on' to: 'on'
condition: condition:
- condition: state - condition: state

View File

@ -1,5 +1,5 @@
- id: button-computer-cave-living-room-table - id: button-office-table
alias: '[Computer Cave] Living Room Table' alias: '[Office] Button Light'
trigger: trigger:
- device_id: 5b972523e427721ec88e095994f7cc16 - device_id: 5b972523e427721ec88e095994f7cc16
domain: zha domain: zha
@ -43,8 +43,8 @@
kelvin: 3200 kelvin: 3200
mode: single mode: single
- id: button-computer-cave-desk - id: button-office-desk
alias: '[Computer Cave] Button Desk' alias: '[Office] Button Desk'
trigger: trigger:
- device_id: 5b972523e427721ec88e095994f7cc16 - device_id: 5b972523e427721ec88e095994f7cc16
domain: zha domain: zha

View File

@ -1,5 +1,5 @@
- id: button-computer-blinds-up - id: button-dining-blinds-up
alias: '[Computer Blinds] Up' alias: '[Dining Blinds] Up'
trigger: trigger:
- device_id: 6818c2a8921603a8a04e6c6f4d45a8ec - device_id: 6818c2a8921603a8a04e6c6f4d45a8ec
domain: zha domain: zha
@ -8,11 +8,11 @@
subtype: turn_on subtype: turn_on
action: action:
- service: cover.close_cover - service: cover.close_cover
entity_id: cover.computer_cave_blinds entity_id: cover.dining_blinds
mode: single mode: single
- id: button-computer-blinds-down - id: button-dining-blinds-down
alias: '[Computer Blinds] Down' alias: '[Dining Blinds] Down'
trigger: trigger:
- device_id: 6818c2a8921603a8a04e6c6f4d45a8ec - device_id: 6818c2a8921603a8a04e6c6f4d45a8ec
domain: zha domain: zha
@ -21,5 +21,5 @@
subtype: turn_off subtype: turn_off
action: action:
- service: cover.open_cover - service: cover.open_cover
entity_id: cover.computer_cave_blinds entity_id: cover.dining_blinds
mode: single mode: single

View File

@ -1,5 +1,5 @@
- id: living-room-blinds-button-up - id: office-blinds-button-up
alias: '[Living Room Blinds] Up' alias: '[Office Blinds] Up'
trigger: trigger:
- device_id: a47c928b108240ed8866f9f7a70bc844 - device_id: a47c928b108240ed8866f9f7a70bc844
domain: zha domain: zha
@ -8,11 +8,11 @@
subtype: turn_on subtype: turn_on
action: action:
- service: cover.close_cover - service: cover.close_cover
entity_id: cover.living_room_blind entity_id: cover.office_blind
mode: single mode: single
- id: living-room-blinds-button-down - id: office-blinds-button-down
alias: '[Living Room Blinds] Down' alias: '[Office Blinds] Down'
trigger: trigger:
- device_id: a47c928b108240ed8866f9f7a70bc844 - device_id: a47c928b108240ed8866f9f7a70bc844
domain: zha domain: zha
@ -21,5 +21,5 @@
subtype: turn_off subtype: turn_off
action: action:
- service: cover.open_cover - service: cover.open_cover
entity_id: cover.living_room_blind entity_id: cover.office_blind
mode: single mode: single

View File

@ -595,10 +595,10 @@ cover:
- cover.bedroom_blind_left - cover.bedroom_blind_left
- cover.bedroom_blind_right - cover.bedroom_blind_right
- platform: group - platform: group
name: Computer Cave Blinds name: Dining Blinds
entities: entities:
- cover.computer_cave_blind_left - cover.dining_blind_left
- cover.computer_cave_blind_right - cover.dining_blind_right
template: template:
- sensor: - sensor:

View File

@ -43,8 +43,8 @@ good_night:
- service: cover.close_cover - service: cover.close_cover
entity_id: entity_id:
- cover.bedroom_blinds - cover.bedroom_blinds
- cover.computer_cave_blinds - cover.dining_blinds
- cover.living_room_blind - cover.office_blind
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_25f246fe_door_lock
@ -61,8 +61,8 @@ good_morning:
- service: cover.open_cover - service: cover.open_cover
entity_id: entity_id:
- cover.bedroom_blinds - cover.bedroom_blinds
- cover.computer_cave_blinds - cover.dining_blinds
- cover.living_room_blind - cover.office_blind
- service: alarm_control_panel.alarm_disarm - service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.ha_alarm entity_id: alarm_control_panel.ha_alarm
- service: input_select.select_option - service: input_select.select_option