fixed brightness_pct after update

This commit is contained in:
John Lancaster
2023-12-08 08:18:56 -06:00
parent 56e4d893f5
commit e3735e381b
5 changed files with 40 additions and 41 deletions

View File

@@ -1,28 +1,27 @@
bathroom: bathroom:
module: room_control module: room_control
class: RoomController class: RoomController
ref_entity: light.bathroom
off_duration: '00:05:00' off_duration: '00:05:00'
states: states:
- time: '05:00:00' - time: '05:00:00'
scene: scene:
light.bathroom: light.bathroom:
brightness_pct: 40 brightness: 100
color_temp: 250 color_temp: 250
- time: '12:00:00' - time: '12:00:00'
scene: scene:
light.bathroom: light.bathroom:
brightness_pct: 70 brightness: 175
color_temp: 300 color_temp: 300
- time: sunset - time: sunset
scene: scene:
light.bathroom: light.bathroom:
brightness_pct: 50 brightness: 125
color_temp: 350 color_temp: 350
- time: '23:00:00' - time: '23:00:00'
scene: scene:
light.bathroom: light.bathroom:
brightness_pct: 20 brightness: 50
color_temp: 350 color_temp: 350
sleep: input_boolean.sleeping sleep: input_boolean.sleeping
sleep_state: sleep_state:
@@ -37,6 +36,7 @@ bathroom_button:
class: Button class: Button
app: bathroom app: bathroom
button: Bathroom Button button: Bathroom Button
ref_entity: light.bathroom
bathroom_motion: bathroom_motion:
module: motion module: motion

View File

@@ -1,7 +1,6 @@
bedroom: bedroom:
module: room_control module: room_control
class: RoomController class: RoomController
ref_entity: light.bedroom
off_duration: '00:05:00' off_duration: '00:05:00'
states: states:
- time: 'sunrise - 03:00:00' - time: 'sunrise - 03:00:00'
@@ -9,11 +8,11 @@ bedroom:
light.bedroom: light.bedroom:
state: on state: on
color_temp: 200 color_temp: 200
brightness_pct: 20 brightness: 50
light.globe: light.globe:
state: on state: on
color_temp: 200 color_temp: 200
brightness_pct: 20 brightness: 50
light.overhead: light.overhead:
state: off state: off
- time: '06:00:00' - time: '06:00:00'
@@ -21,57 +20,57 @@ bedroom:
light.bedroom: light.bedroom:
state: on state: on
color_temp: 250 color_temp: 250
brightness_pct: 20 brightness: 50
light.globe: light.globe:
state: on state: on
color_temp: 250 color_temp: 250
brightness_pct: 20 brightness: 50
light.overhead: light.overhead:
state: on state: on
color_temp: 250 color_temp: 250
brightness_pct: 15 brightness: 40
- time: '12:00:00' - time: '12:00:00'
scene: scene:
light.bedroom: light.bedroom:
state: on state: on
color_temp: 325 color_temp: 325
brightness_pct: 30 brightness: 75
light.globe: light.globe:
state: on state: on
color_temp: 325 color_temp: 325
brightness_pct: 30 brightness: 75
light.overhead: light.overhead:
state: on state: on
color_temp: 325 color_temp: 325
brightness_pct: 50 brightness: 50
- time: 'sunset' - time: 'sunset'
scene: scene:
light.bedroom: light.bedroom:
state: on state: on
color_temp: 325 color_temp: 325
brightness_pct: 50 brightness: 50
light.globe: light.globe:
state: on state: on
color_temp: 325 color_temp: 325
brightness_pct: 50 brightness: 50
light.overhead: light.overhead:
state: on state: on
color_temp: 350 color_temp: 350
brightness_pct: 10 brightness: 65
- time: '01:00:00' - time: '01:00:00'
scene: scene:
light.bedroom: light.bedroom:
state: on state: on
color_name: green color_name: green
brightness_pct: 50 brightness: 50
light.globe: light.globe:
state: on state: on
color_name: blue color_name: blue
brightness_pct: 50 brightness: 50
light.overhead: light.overhead:
state: on state: on
color_name: blueviolet color_name: blueviolet
brightness_pct: 100 brightness: 255
sleep: input_boolean.sleeping sleep: input_boolean.sleeping
bedroom_buttons: bedroom_buttons:

View File

@@ -6,22 +6,22 @@ closet:
- time: 'sunrise - 03:00:00' - time: 'sunrise - 03:00:00'
scene: scene:
light.closet: light.closet:
brightness_pct: 10 brightness: 25
color_temp: 200 color_temp: 200
- time: 'sunrise' - time: 'sunrise'
scene: scene:
light.closet: light.closet:
brightness_pct: 30 brightness: 75
color_temp: 200 color_temp: 200
- time: '12:00:00' - time: '12:00:00'
scene: scene:
light.closet: light.closet:
brightness_pct: 70 brightness: 175
color_temp: 300 color_temp: 300
- time: sunset - time: sunset
scene: scene:
light.closet: light.closet:
brightness_pct: 40 brightness: 100
color_temp: 400 color_temp: 400
closet_motion: closet_motion:

View File

@@ -1,7 +1,6 @@
kitchen: kitchen:
module: room_control module: room_control
class: RoomController class: RoomController
ref_entity: light.kitchen
off_duration: '00:10:00' off_duration: '00:10:00'
# ha_button: input_button.activate_kitchen # ha_button: input_button.activate_kitchen
sleep: input_boolean.sleeping sleep: input_boolean.sleeping
@@ -16,32 +15,33 @@ kitchen:
light.kitchen: light.kitchen:
state: on state: on
color_temp: 200 color_temp: 200
brightness_pct: 10 brightness: 25
- time: '12:00:00' - time: '12:00:00'
scene: scene:
light.kitchen: light.kitchen:
state: on state: on
color_temp: 300 color_temp: 300
brightness_pct: 30 brightness: 75
- time: sunset - time: sunset
scene: scene:
light.kitchen: light.kitchen:
state: on state: on
color_temp: 450 color_temp: 450
brightness_pct: 40 brightness: 100
- time: '22:00:00' - time: '22:00:00'
off_duration: '00:02:00' off_duration: '00:02:00'
scene: scene:
light.kitchen: light.kitchen:
state: on state: on
color_temp: 650 color_temp: 650
brightness_pct: 10 brightness: 25
kitchen_button: kitchen_button:
module: button module: button
class: Button class: Button
app: kitchen app: kitchen
button: Kitchen Button button: Kitchen Button
ref_entity: light.kitchen
kitchen_motion: kitchen_motion:
module: motion module: motion

View File

@@ -1,7 +1,6 @@
living_room: living_room:
module: room_control module: room_control
class: RoomController class: RoomController
ref_entity: light.living_room
off_duration: 00:30:00 off_duration: 00:30:00
states: states:
- time: sunrise - time: sunrise
@@ -9,42 +8,42 @@ living_room:
light.living_room: light.living_room:
state: on state: on
color_temp: 200 color_temp: 200
brightness_pct: 30 brightness: 75
light.couch_corner: light.couch_corner:
state: on state: on
color_temp: 200 color_temp: 200
brightness_pct: 7 brightness: 20
- time: '09:00:00' - time: '09:00:00'
scene: scene:
light.living_room: light.living_room:
state: on state: on
color_temp: 250 color_temp: 250
brightness_pct: 50 brightness: 130
light.couch_corner: light.couch_corner:
state: on state: on
color_temp: 250 color_temp: 250
brightness_pct: 25 brightness: 65
- time: '12:00:00' - time: '12:00:00'
scene: scene:
light.living_room: light.living_room:
state: on state: on
color_temp: 300 color_temp: 300
brightness_pct: 100 brightness: 255
light.couch_corner: light.couch_corner:
state: on state: on
color_temp: 450 color_temp: 450
brightness_pct: 50 brightness: 125
- time: sunset - time: sunset
off_duration: 01:00:00 off_duration: 01:00:00
scene: scene:
light.living_room: light.living_room:
state: on state: on
color_temp: 350 color_temp: 350
brightness_pct: 70 brightness: 175
light.couch_corner: light.couch_corner:
state: on state: on
color_temp: 650 color_temp: 650
brightness_pct: 10 brightness: 25
- elevation: -20 - elevation: -20
direction: setting direction: setting
off_duration: 00:30:00 off_duration: 00:30:00
@@ -52,11 +51,11 @@ living_room:
light.living_room: light.living_room:
state: on state: on
color_temp: 350 color_temp: 350
brightness_pct: 50 brightness: 125
light.couch_corner: light.couch_corner:
state: on state: on
color_temp: 650 color_temp: 650
brightness_pct: 5 brightness: 5
sleep: input_boolean.sleeping sleep: input_boolean.sleeping
sleep_state: sleep_state:
# off_duration: '00:02:00' # off_duration: '00:02:00'
@@ -64,7 +63,7 @@ living_room:
light.living_room: light.living_room:
state: 'on' state: 'on'
color_name: 'red' color_name: 'red'
brightness_pct: 10 brightness: 25
front_door: front_door:
module: door module: door
@@ -77,6 +76,7 @@ living_room_button:
class: Button class: Button
app: living_room app: living_room
button: Living Room Button button: Living Room Button
ref_entity: light.living_room
living_room_motion: living_room_motion:
module: motion module: motion