Delete living-room-remote.yaml
This commit is contained in:
@@ -1,98 +0,0 @@
|
|||||||
# Lights-only first version for the Living Room remote.
|
|
||||||
# Entity IDs came from the project's HA snapshot; verify them in live HA.
|
|
||||||
|
|
||||||
substitutions:
|
|
||||||
device_name: living-room-remote
|
|
||||||
friendly_name: Living Room Remote
|
|
||||||
|
|
||||||
esphome:
|
|
||||||
name: ${device_name}
|
|
||||||
friendly_name: ${friendly_name}
|
|
||||||
|
|
||||||
packages:
|
|
||||||
hardware: !include panel-remote-common.yaml
|
|
||||||
|
|
||||||
binary_sensor:
|
|
||||||
- platform: homeassistant
|
|
||||||
id: ceiling_light_state
|
|
||||||
entity_id: light.living_room_light_2
|
|
||||||
publish_initial_state: true
|
|
||||||
on_state:
|
|
||||||
- lvgl.widget.update:
|
|
||||||
id: ceiling_light_button
|
|
||||||
state:
|
|
||||||
checked: !lambda return x;
|
|
||||||
- platform: homeassistant
|
|
||||||
id: small_lamp_state
|
|
||||||
entity_id: light.small_living_room_lamp
|
|
||||||
publish_initial_state: true
|
|
||||||
on_state:
|
|
||||||
- lvgl.widget.update:
|
|
||||||
id: small_lamp_button
|
|
||||||
state:
|
|
||||||
checked: !lambda return x;
|
|
||||||
|
|
||||||
lvgl:
|
|
||||||
on_idle:
|
|
||||||
- timeout: 45s
|
|
||||||
then:
|
|
||||||
- light.turn_on:
|
|
||||||
id: panel_backlight
|
|
||||||
brightness: 15%
|
|
||||||
pages:
|
|
||||||
- id: room_page
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
x: 12
|
|
||||||
y: 8
|
|
||||||
text: Living Room
|
|
||||||
- button:
|
|
||||||
id: ceiling_light_button
|
|
||||||
x: 10
|
|
||||||
y: 45
|
|
||||||
width: 145
|
|
||||||
height: 75
|
|
||||||
checkable: true
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
align: CENTER
|
|
||||||
text: Main Light
|
|
||||||
on_click:
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.toggle
|
|
||||||
data:
|
|
||||||
entity_id: light.living_room_light_2
|
|
||||||
- button:
|
|
||||||
id: small_lamp_button
|
|
||||||
x: 165
|
|
||||||
y: 45
|
|
||||||
width: 145
|
|
||||||
height: 75
|
|
||||||
checkable: true
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
align: CENTER
|
|
||||||
text: Small Lamp
|
|
||||||
on_click:
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.toggle
|
|
||||||
data:
|
|
||||||
entity_id: light.small_living_room_lamp
|
|
||||||
- button:
|
|
||||||
x: 10
|
|
||||||
y: 135
|
|
||||||
width: 300
|
|
||||||
height: 75
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
align: CENTER
|
|
||||||
text: All Lights Off
|
|
||||||
on_click:
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.turn_off
|
|
||||||
data:
|
|
||||||
entity_id: light.living_room_light_2
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.turn_off
|
|
||||||
data:
|
|
||||||
entity_id: light.small_living_room_lamp
|
|
||||||
Reference in New Issue
Block a user