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:
|
substitutions:
|
||||||
name: cyd-remote
|
name: mbr-ha-remote
|
||||||
friendly_name: "Room Remote"
|
friendly_name: "MBR HA Remote"
|
||||||
|
|
||||||
# Home Assistant entity IDs - UPDATE THESE TO MATCH YOUR SETUP
|
# Home Assistant entity IDs - UPDATE THESE TO MATCH YOUR SETUP
|
||||||
light_1_entity: switch.living_room_light_1
|
light_1_entity: switch.pollys_light
|
||||||
light_2_entity: switch.living_room_light_2
|
light_2_entity: switch.joshuas_light
|
||||||
fan_entity: switch.living_room_fan
|
fan_entity: switch.parents_ceiling_fan
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: ${name}
|
name: ${name}
|
||||||
@@ -32,7 +32,7 @@ wifi:
|
|||||||
ap:
|
ap:
|
||||||
ssid: "${name} Fallback"
|
ssid: "${name} Fallback"
|
||||||
password: !secret wifi_password
|
password: !secret wifi_password
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
# SPI for display and touchscreen
|
# SPI for display and touchscreen
|
||||||
@@ -47,6 +47,7 @@ display:
|
|||||||
model: ili9341
|
model: ili9341
|
||||||
cs_pin: GPIO15
|
cs_pin: GPIO15
|
||||||
dc_pin: GPIO2
|
dc_pin: GPIO2
|
||||||
|
reset_pin: GPIO4
|
||||||
rotation: 0
|
rotation: 0
|
||||||
invert_colors: false
|
invert_colors: false
|
||||||
id: my_display
|
id: my_display
|
||||||
@@ -238,4 +239,4 @@ text_sensor:
|
|||||||
on_value:
|
on_value:
|
||||||
then:
|
then:
|
||||||
- lambda: 'id(fan_state) = (x == "on");'
|
- 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