broke out button function

This commit is contained in:
John Lancaster
2023-11-24 23:18:42 -06:00
parent 380be7d4a6
commit b4a6d9ac78
5 changed files with 31 additions and 9 deletions

View File

@@ -4,9 +4,6 @@ bedroom:
entity: light.bedroom
sensor: binary_sensor.bedroom_motion_occupancy
off_duration: '00:05:00'
button:
- Bedroom Button 1
- Bedroom Button 2
states:
- time: 'sunrise - 03:00:00'
scene:
@@ -62,4 +59,12 @@ bedroom:
state: on
color_temp: 350
brightness_pct: 10
sleep: input_boolean.sleeping
sleep: input_boolean.sleeping
bedroom_buttons:
module: button
class: ButtonController
app: bedroom
button:
- Bedroom Button 1
- Bedroom Button 2