Delete family-room-remote.yaml
This commit is contained in:
@@ -1,128 +0,0 @@
|
|||||||
# Lights-only first version for the Family Room remote.
|
|
||||||
# Entity IDs came from the project's HA snapshot; verify them in live HA.
|
|
||||||
|
|
||||||
substitutions:
|
|
||||||
device_name: family-room-remote
|
|
||||||
friendly_name: Family Room Remote
|
|
||||||
|
|
||||||
esphome:
|
|
||||||
name: ${device_name}
|
|
||||||
friendly_name: ${friendly_name}
|
|
||||||
|
|
||||||
packages:
|
|
||||||
hardware: !include panel-remote-common.yaml
|
|
||||||
|
|
||||||
binary_sensor:
|
|
||||||
- platform: homeassistant
|
|
||||||
id: standing_lamp_state
|
|
||||||
entity_id: light.living_room_lamp_1
|
|
||||||
trigger_on_initial_state: true
|
|
||||||
on_state:
|
|
||||||
- lvgl.widget.update:
|
|
||||||
id: standing_lamp_button
|
|
||||||
state:
|
|
||||||
checked: !lambda return x;
|
|
||||||
- platform: homeassistant
|
|
||||||
id: small_lamp_state
|
|
||||||
entity_id: light.small_family_room_lamp
|
|
||||||
trigger_on_initial_state: true
|
|
||||||
on_state:
|
|
||||||
- lvgl.widget.update:
|
|
||||||
id: small_lamp_button
|
|
||||||
state:
|
|
||||||
checked: !lambda return x;
|
|
||||||
- platform: homeassistant
|
|
||||||
id: tv_stand_state
|
|
||||||
entity_id: light.family_room_tv_stand
|
|
||||||
trigger_on_initial_state: true
|
|
||||||
on_state:
|
|
||||||
- lvgl.widget.update:
|
|
||||||
id: tv_stand_button
|
|
||||||
state:
|
|
||||||
checked: !lambda return x;
|
|
||||||
|
|
||||||
lvgl:
|
|
||||||
rotation: 90
|
|
||||||
on_idle:
|
|
||||||
- timeout: 45s
|
|
||||||
then:
|
|
||||||
- light.turn_on:
|
|
||||||
id: panel_backlight
|
|
||||||
brightness: 15%
|
|
||||||
pages:
|
|
||||||
- id: room_page
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
x: 12
|
|
||||||
y: 8
|
|
||||||
text: Family Room
|
|
||||||
- button:
|
|
||||||
id: standing_lamp_button
|
|
||||||
x: 10
|
|
||||||
y: 45
|
|
||||||
width: 145
|
|
||||||
height: 75
|
|
||||||
checkable: true
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
align: CENTER
|
|
||||||
text: Standing Lamp
|
|
||||||
on_click:
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.toggle
|
|
||||||
data:
|
|
||||||
entity_id: light.living_room_lamp_1
|
|
||||||
- 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_family_room_lamp
|
|
||||||
- button:
|
|
||||||
id: tv_stand_button
|
|
||||||
x: 10
|
|
||||||
y: 135
|
|
||||||
width: 145
|
|
||||||
height: 75
|
|
||||||
checkable: true
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
align: CENTER
|
|
||||||
text: TV Stand
|
|
||||||
on_click:
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.toggle
|
|
||||||
data:
|
|
||||||
entity_id: light.family_room_tv_stand
|
|
||||||
- button:
|
|
||||||
x: 165
|
|
||||||
y: 135
|
|
||||||
width: 145
|
|
||||||
height: 75
|
|
||||||
widgets:
|
|
||||||
- label:
|
|
||||||
align: CENTER
|
|
||||||
text: All Off
|
|
||||||
on_click:
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.turn_off
|
|
||||||
data:
|
|
||||||
entity_id: light.living_room_lamp_1
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.turn_off
|
|
||||||
data:
|
|
||||||
entity_id: light.small_family_room_lamp
|
|
||||||
- homeassistant.action:
|
|
||||||
action: light.turn_off
|
|
||||||
data:
|
|
||||||
entity_id: light.family_room_tv_stand
|
|
||||||
Reference in New Issue
Block a user