rest of the pivot

This commit is contained in:
John Lancaster
2023-04-25 23:10:44 -05:00
parent f10927ccce
commit 02c7cf98ee
5 changed files with 392 additions and 392 deletions

View File

@@ -1,52 +1,52 @@
bathroom:
module: controller
class: ControllerRoomLights
entities:
- light.bathroom
# bathroom:
# module: controller
# class: ControllerRoomLights
# entities:
# - light.bathroom
bathroom_motion:
module: controller
class: ControllerMotion
room: bathroom
off_duration: 00:03:00
entities:
- binary_sensor.motion_bathroom
# bathroom_motion:
# module: controller
# class: ControllerMotion
# room: bathroom
# off_duration: 00:03:00
# entities:
# - binary_sensor.motion_bathroom
bathroom_button:
module: controller
class: ControllerButton
room: bathroom
buttons:
- bathroom
# bathroom_button:
# module: controller
# class: ControllerButton
# room: bathroom
# buttons:
# - bathroom
bathroom_daylight:
module: controller
class: ControllerDaylight
enable: input_boolean.enable_bathroom
room: bathroom
entities:
- light.bathroom
latitude: 30.150380
longitude: -97.4487
periods:
- time: '04:00:00am'
brightness: 40
color_temp: 350
# bathroom_daylight:
# module: controller
# class: ControllerDaylight
# enable: input_boolean.enable_bathroom
# room: bathroom
# entities:
# - light.bathroom
# latitude: 30.150380
# longitude: -97.4487
# periods:
# - time: '04:00:00am'
# brightness: 40
# color_temp: 350
- elevation: 0
direction: rising
brightness: 150
color_temp: 200
# - elevation: 0
# direction: rising
# brightness: 150
# color_temp: 200
- time: noon
brightness: 255
color_temp: 300
# - time: noon
# brightness: 255
# color_temp: 300
- elevation: 0
direction: setting
brightness: 125
color_temp: 325
# - elevation: 0
# direction: setting
# brightness: 125
# color_temp: 325
- time: '10:30:00pm'
brightness: 40
color_temp: 350
# - time: '10:30:00pm'
# brightness: 40
# color_temp: 350

View File

@@ -1,55 +1,55 @@
bedroom:
module: controller
class: ControllerRoomLights
sleep: input_boolean.sleeping
entities:
- light.bedroom
- light.overhead
# bedroom:
# module: controller
# class: ControllerRoomLights
# sleep: input_boolean.sleeping
# entities:
# - light.bedroom
# - light.overhead
bedroom_motion:
module: controller
class: ControllerMotion
room: bedroom
off_duration: 00:05:00
entities:
- binary_sensor.motion_bedroom
# bedroom_motion:
# module: controller
# class: ControllerMotion
# room: bedroom
# off_duration: 00:05:00
# entities:
# - binary_sensor.motion_bedroom
bedroom_button:
module: controller
class: ControllerButton
room: bedroom
buttons:
- bedroom
- bedroom2
# bedroom_button:
# module: controller
# class: ControllerButton
# room: bedroom
# buttons:
# - bedroom
# - bedroom2
bedroom_daylight:
module: controller
class: ControllerDaylight
enable: input_boolean.enable_bedroom
room: bedroom
entities:
- light.bedroom
latitude: 30.150380
longitude: -97.4487
periods:
- time: '04:00:00am'
brightness: 75
color_temp: 200
# bedroom_daylight:
# module: controller
# class: ControllerDaylight
# enable: input_boolean.enable_bedroom
# room: bedroom
# entities:
# - light.bedroom
# latitude: 30.150380
# longitude: -97.4487
# periods:
# - time: '04:00:00am'
# brightness: 75
# color_temp: 200
- elevation: 0
direction: rising
brightness: 150
color_temp: 200
# - elevation: 0
# direction: rising
# brightness: 150
# color_temp: 200
- time: noon
brightness: 255
color_temp: 250
# - time: noon
# brightness: 255
# color_temp: 250
- elevation: 0
direction: setting
brightness: 125
color_temp: 300
# - elevation: 0
# direction: setting
# brightness: 125
# color_temp: 300
- time: '10:30:00pm'
brightness: 75
color_temp: 300
# - time: '10:30:00pm'
# brightness: 75
# color_temp: 300

View File

@@ -1,43 +1,43 @@
kitchen:
module: controller
class: ControllerRoomLights
entities:
- light.kitchen
# kitchen:
# module: controller
# class: ControllerRoomLights
# entities:
# - light.kitchen
kitchen_motion:
module: controller
class: ControllerMotion
room: kitchen
off_duration: 00:01:00
entities:
- binary_sensor.motion_kitchen
# kitchen_motion:
# module: controller
# class: ControllerMotion
# room: kitchen
# off_duration: 00:01:00
# entities:
# - binary_sensor.motion_kitchen
kitchen_button:
module: controller
class: ControllerButton
room: kitchen
buttons:
- kitchen
# kitchen_button:
# module: controller
# class: ControllerButton
# room: kitchen
# buttons:
# - kitchen
kitchen_daylight:
module: controller
class: ControllerDaylight
enable: input_boolean.enable_kitchen
room: kitchen
entities:
- light.kitchen
latitude: 30.150380
longitude: -97.4487
periods:
- time: sunrise
brightness: 10
color_temp: 200
- time: noon
brightness: 30
color_temp: 300
- time: sunset
brightness: 40
color_temp: 450
- time: '10:00:00pm'
brightness: 10
color_temp: 500
# kitchen_daylight:
# module: controller
# class: ControllerDaylight
# enable: input_boolean.enable_kitchen
# room: kitchen
# entities:
# - light.kitchen
# latitude: 30.150380
# longitude: -97.4487
# periods:
# - time: sunrise
# brightness: 10
# color_temp: 200
# - time: noon
# brightness: 30
# color_temp: 300
# - time: sunset
# brightness: 40
# color_temp: 450
# - time: '10:00:00pm'
# brightness: 10
# color_temp: 500

View File

@@ -1,94 +1,94 @@
living_room:
module: controller
class: ControllerRoomLights
entities:
- light.living_room
- light.couch_corner
# living_room:
# module: controller
# class: ControllerRoomLights
# entities:
# - light.living_room
# - light.couch_corner
living_room_motion:
module: controller
class: ControllerMotion
dependencies: living_room
room: living_room
entities:
- binary_sensor.motion_living_room
off_duration: 00:30:00
# living_room_motion:
# module: controller
# class: ControllerMotion
# dependencies: living_room
# room: living_room
# entities:
# - binary_sensor.motion_living_room
# off_duration: 00:30:00
living_room_button:
module: controller
class: ControllerButton
dependencies: living_room
room: living_room
buttons:
- living_room
# living_room_button:
# module: controller
# class: ControllerButton
# dependencies: living_room
# room: living_room
# buttons:
# - living_room
living_room_daylight:
module: controller
class: ControllerDaylight
enable: input_boolean.enable_living_room
room: living_room
entities:
- light.living_room
latitude: 30.150380
longitude: -97.4487
periods:
- time: '04:00:00am'
brightness: 75
color_temp: 375
# living_room_daylight:
# module: controller
# class: ControllerDaylight
# enable: input_boolean.enable_living_room
# room: living_room
# entities:
# - light.living_room
# latitude: 30.150380
# longitude: -97.4487
# periods:
# - time: '04:00:00am'
# brightness: 75
# color_temp: 375
- elevation: 0
direction: rising
brightness: 150
color_temp: 200
# - elevation: 0
# direction: rising
# brightness: 150
# color_temp: 200
- time: noon
brightness: 255
color_temp: 250
# - time: noon
# brightness: 255
# color_temp: 250
- elevation: 20
direction: setting
brightness: 200
color_temp: 275
# - elevation: 20
# direction: setting
# brightness: 200
# color_temp: 275
- elevation: 0
direction: setting
brightness: 200
color_temp: 325
# - elevation: 0
# direction: setting
# brightness: 200
# color_temp: 325
- elevation: -20
direction: setting
brightness: 200
color_temp: 350
# - elevation: -20
# direction: setting
# brightness: 200
# color_temp: 350
- time: '11:00:00pm'
brightness: 75
color_temp: 375
# - time: '11:00:00pm'
# brightness: 75
# color_temp: 375
couch_corner_daylight:
module: controller
class: ControllerDaylight
room: living_room
entities:
- light.couch_corner
latitude: 30.150380
longitude: -97.4487
periods:
- time: '04:00:00am'
brightness: 10
color_temp: 500
# couch_corner_daylight:
# module: controller
# class: ControllerDaylight
# room: living_room
# entities:
# - light.couch_corner
# latitude: 30.150380
# longitude: -97.4487
# periods:
# - time: '04:00:00am'
# brightness: 10
# color_temp: 500
- time: sunrise
brightness: 20
color_temp: 200
# - time: sunrise
# brightness: 20
# color_temp: 200
- time: noon
brightness: 80
color_temp: 300
# - time: noon
# brightness: 80
# color_temp: 300
- time: sunset
brightness: 20
color_temp: 400
# - time: sunset
# brightness: 20
# color_temp: 400
- time: '10:30:00pm'
brightness: 10
color_temp: 500
# - time: '10:30:00pm'
# brightness: 10
# color_temp: 500

View File

@@ -1,38 +1,38 @@
# bathroom:
# module: basic_motion
# class: MotionLight
# entity: light.bathroom
# sensor: binary_sensor.motion_bathroom
# off_duration: '00:05:00'
# button: button1
# delay: '00:20:00'
# scene:
# - time: '05:00:00'
# scene:
# light.bathroom:
# brightness_pct: 40
# color_temp: 250
# - time: '12:00:00'
# scene:
# light.bathroom:
# brightness_pct: 70
# color_temp: 300
# - time: sunset
# scene:
# light.bathroom:
# brightness_pct: 50
# color_temp: 350
# - time: '23:00:00'
# scene:
# light.bathroom:
# brightness_pct: 20
# color_temp: 350
# sleep: input_boolean.sleeping
# sleep_scene:
# off_duration: '00:02:00'
# light.bathroom:
# brightness_pct: 10
# color_temp: 250
bathroom:
module: basic_motion
class: MotionLight
entity: light.bathroom
sensor: binary_sensor.motion_bathroom
off_duration: '00:05:00'
button: button1
delay: '00:20:00'
scene:
- time: '05:00:00'
scene:
light.bathroom:
brightness_pct: 40
color_temp: 250
- time: '12:00:00'
scene:
light.bathroom:
brightness_pct: 70
color_temp: 300
- time: sunset
scene:
light.bathroom:
brightness_pct: 50
color_temp: 350
- time: '23:00:00'
scene:
light.bathroom:
brightness_pct: 20
color_temp: 350
sleep: input_boolean.sleeping
sleep_scene:
off_duration: '00:02:00'
light.bathroom:
brightness_pct: 10
color_temp: 250
closet:
module: basic_motion
@@ -62,152 +62,152 @@ closet:
brightness_pct: 40
color_temp: 400
# bedroom:
# module: basic_motion
# class: MotionLight
# entity: light.bedroom
# sensor: binary_sensor.motion_bedroom
# off_duration: '00:05:00'
# button:
# - bedroom
# - bedroom2
# scene:
# - time: 'sunrise - 03:00:00'
# scene:
# light.bedroom:
# state: on
# color_temp: 550
# brightness_pct: 20
# light.overhead:
# state: off
# - time: '06:00:00'
# scene:
# light.bedroom:
# state: on
# color_temp: 550
# brightness_pct: 20
# light.overhead:
# state: on
# color_temp: 250
# brightness_pct: 15
# - time: '12:00:00'
# scene:
# light.bedroom:
# state: on
# color_temp: 325
# brightness_pct: 30
# light.overhead:
# state: on
# color_temp: 325
# brightness_pct: 70
# - time: 'sunset'
# scene:
# light.bedroom:
# state: on
# color_temp: 325
# brightness_pct: 50
# light.overhead:
# state: on
# color_temp: 350
# brightness_pct: 10
# sleep: input_boolean.sleeping
bedroom:
module: basic_motion
class: MotionLight
entity: light.bedroom
sensor: binary_sensor.motion_bedroom
off_duration: '00:05:00'
button:
- bedroom
- bedroom2
scene:
- time: 'sunrise - 03:00:00'
scene:
light.bedroom:
state: on
color_temp: 550
brightness_pct: 20
light.overhead:
state: off
- time: '06:00:00'
scene:
light.bedroom:
state: on
color_temp: 550
brightness_pct: 20
light.overhead:
state: on
color_temp: 250
brightness_pct: 15
- time: '12:00:00'
scene:
light.bedroom:
state: on
color_temp: 325
brightness_pct: 30
light.overhead:
state: on
color_temp: 325
brightness_pct: 70
- time: 'sunset'
scene:
light.bedroom:
state: on
color_temp: 325
brightness_pct: 50
light.overhead:
state: on
color_temp: 350
brightness_pct: 10
sleep: input_boolean.sleeping
# living_room:
# module: basic_motion
# class: MotionLight
# entity: light.living_room
# sensor: binary_sensor.motion_living_room
# off_duration: '00:30:00'
# button: living_room
# door: binary_sensor.front_door
# scene:
# - time: sunrise
# scene:
# light.living_room:
# state: on
# color_temp: 200
# brightness_pct: 30
# light.corner_light:
# state: on
# color_temp: 200
# brightness_pct: 7
# - time: '09:00:00'
# scene:
# light.living_room:
# state: on
# color_temp: 250
# brightness_pct: 50
# light.corner_light:
# state: on
# color_temp: 250
# brightness_pct: 25
# - time: '12:00:00'
# scene:
# light.living_room:
# state: on
# color_temp: 300
# brightness_pct: 100
# light.corner_light:
# state: on
# color_temp: 450
# brightness_pct: 50
# - time: 'sunset'
# off_duration: '01:00:00'
# scene:
# light.living_room:
# state: on
# color_temp: 350
# brightness_pct: 70
# light.corner_light:
# state: on
# color_temp: 650
# brightness_pct: 10
# sleep: input_boolean.sleeping
# sleep_scene:
# off_duration: '00:02:00'
# light.living_room:
# state: 'on'
# color_name: 'red'
# brightness_pct: 50
living_room:
module: basic_motion
class: MotionLight
sensor: binary_sensor.motion_living_room
off_duration: 00:30:00
entity: light.living_room
button: living_room
door: binary_sensor.door_front
scene:
- time: sunrise
scene:
light.living_room:
state: on
color_temp: 200
brightness_pct: 30
light.corner_light:
state: on
color_temp: 200
brightness_pct: 7
- time: '09:00:00'
scene:
light.living_room:
state: on
color_temp: 250
brightness_pct: 50
light.corner_light:
state: on
color_temp: 250
brightness_pct: 25
- time: '12:00:00'
scene:
light.living_room:
state: on
color_temp: 300
brightness_pct: 100
light.corner_light:
state: on
color_temp: 450
brightness_pct: 50
- time: 'sunset'
off_duration: '01:00:00'
scene:
light.living_room:
state: on
color_temp: 350
brightness_pct: 70
light.corner_light:
state: on
color_temp: 650
brightness_pct: 10
sleep: input_boolean.sleeping
sleep_scene:
off_duration: '00:02:00'
light.living_room:
state: 'on'
color_name: 'red'
brightness_pct: 50
# kitchen:
# module: basic_motion
# class: MotionLight
# entity: light.kitchen
# sensor: binary_sensor.motion_kitchen
# off_duration: '00:10:00'
# button: kitchen_switch
# scene:
# - time: sunrise
# scene:
# light.kitchen:
# state: on
# color_temp: 200
# brightness_pct: 10
# - time: '12:00:00'
# scene:
# light.kitchen:
# state: on
# color_temp: 300
# brightness_pct: 30
# - time: sunset
# scene:
# light.kitchen:
# state: on
# color_temp: 450
# brightness_pct: 40
# - time: '22:00:00'
# off_duration: '00:02:00'
# scene:
# light.kitchen:
# state: on
# color_temp: 650
# brightness_pct: 10
# sleep: input_boolean.sleeping
# sleep_scene:
# light.kitchen:
# state: on
# brightness_pct: 1
kitchen:
module: basic_motion
class: MotionLight
entity: light.kitchen
sensor: binary_sensor.motion_kitchen
off_duration: '00:10:00'
button: kitchen_switch
scene:
- time: sunrise
scene:
light.kitchen:
state: on
color_temp: 200
brightness_pct: 10
- time: '12:00:00'
scene:
light.kitchen:
state: on
color_temp: 300
brightness_pct: 30
- time: sunset
scene:
light.kitchen:
state: on
color_temp: 450
brightness_pct: 40
- time: '22:00:00'
off_duration: '00:02:00'
scene:
light.kitchen:
state: on
color_temp: 650
brightness_pct: 10
sleep: input_boolean.sleeping
sleep_scene:
light.kitchen:
state: on
brightness_pct: 1
# patio: