Refactor master bedroom remote configuration: Update entity IDs and friendly names for improved setup alignment
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
substitutions:
|
||||
name: cyd-remote
|
||||
friendly_name: "Room Remote"
|
||||
name: mbr-ha-remote
|
||||
friendly_name: "MBR HA Remote"
|
||||
|
||||
# Home Assistant entity IDs - UPDATE THESE TO MATCH YOUR SETUP
|
||||
light_1_entity: switch.living_room_light_1
|
||||
light_2_entity: switch.living_room_light_2
|
||||
fan_entity: switch.living_room_fan
|
||||
light_1_entity: switch.pollys_light
|
||||
light_2_entity: switch.joshuas_light
|
||||
fan_entity: switch.parents_ceiling_fan
|
||||
|
||||
esphome:
|
||||
name: ${name}
|
||||
@@ -32,7 +32,7 @@ wifi:
|
||||
ap:
|
||||
ssid: "${name} Fallback"
|
||||
password: !secret wifi_password
|
||||
|
||||
|
||||
captive_portal:
|
||||
|
||||
# SPI for display and touchscreen
|
||||
@@ -47,6 +47,7 @@ display:
|
||||
model: ili9341
|
||||
cs_pin: GPIO15
|
||||
dc_pin: GPIO2
|
||||
reset_pin: GPIO4
|
||||
rotation: 0
|
||||
invert_colors: false
|
||||
id: my_display
|
||||
@@ -238,4 +239,4 @@ text_sensor:
|
||||
on_value:
|
||||
then:
|
||||
- lambda: 'id(fan_state) = (x == "on");'
|
||||
- lambda: 'id(all_state) = id(light1_state) && id(light2_state) && id(fan_state);'
|
||||
- lambda: 'id(all_state) = id(light1_state) && id(light2_state) && id(fan_state);'
|
||||
|
||||
Reference in New Issue
Block a user