broke out button function
This commit is contained in:
Submodule apps/room_control updated: 4d36c11bfb...ff033c174d
@@ -4,7 +4,6 @@ bathroom:
|
||||
entity: light.bathroom
|
||||
sensor: binary_sensor.bathroom_motion_occupancy
|
||||
off_duration: '00:05:00'
|
||||
button: Bathroom Button
|
||||
delay: '00:20:00'
|
||||
states:
|
||||
- time: '05:00:00'
|
||||
@@ -32,5 +31,11 @@ bathroom:
|
||||
off_duration: '00:02:00'
|
||||
scene:
|
||||
light.bathroom:
|
||||
brightness_pct: 10
|
||||
color_temp: 250
|
||||
brightness: 1
|
||||
color_temp: 250
|
||||
|
||||
bathroom_button:
|
||||
module: button
|
||||
class: ButtonController
|
||||
app: bathroom
|
||||
button: Bathroom Button
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@ kitchen:
|
||||
entity: light.kitchen
|
||||
sensor: binary_sensor.kitchen_motion_occupancy
|
||||
off_duration: '00:10:00'
|
||||
button: Kitchen Button
|
||||
|
||||
ha_button: input_button.activate_kitchen
|
||||
states:
|
||||
- time: sunrise
|
||||
@@ -38,3 +38,9 @@ kitchen:
|
||||
light.kitchen:
|
||||
state: on
|
||||
brightness_pct: 1
|
||||
|
||||
kitchen_button:
|
||||
module: button
|
||||
class: ButtonController
|
||||
app: kitchen
|
||||
button: Kitchen Button
|
||||
|
||||
@@ -73,3 +73,9 @@ front_door:
|
||||
class: DoorControl
|
||||
app: living_room
|
||||
door: binary_sensor.front_contact
|
||||
|
||||
living_room_button:
|
||||
module: button
|
||||
class: ButtonController
|
||||
app: living_room
|
||||
button: Living Room Button
|
||||
Reference in New Issue
Block a user