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