diff --git a/apps/apps.yaml b/apps/apps.yaml new file mode 100644 index 0000000..4c84034 --- /dev/null +++ b/apps/apps.yaml @@ -0,0 +1,3 @@ +hello_world: + module: hello + class: HelloWorld diff --git a/apps/living_room.yaml b/apps/living_room.yaml new file mode 100644 index 0000000..d9598fd --- /dev/null +++ b/apps/living_room.yaml @@ -0,0 +1,68 @@ +living_room: + module: room_control + class: RoomController + # rich: DEBUG + off_duration: 00:10:00 + manual_mode: input_boolean.living_room_manual_mode + states: + - time: sunrise + off_duration: 00:15:00 + scene: + light.living_room_lamps: + state: on + color_temp: 200 + brightness: 255 + light.white05: + state: on + color_temp: 200 + brightness: 190 + light.living_room_floodlights: + state: off + - time: '18:00:00' + off_duration: 01:00:00 + scene: + light.living_room_lamps: + state: on + color_temp: 300 + brightness: 190 + light.living_room_floodlights: + state: off + - time: '23:00:00' + off_duration: 00:00:30 + scene: + light.living_room_lamps: + state: on + color_temp: 400 + brightness: 125 + light.white05: + state: off + light.living_room_floodlights: + state: off + # sleep: input_boolean.sleeping + # sleep_state: + # scene: + # light.colorflood05: + # state: 'on' + # color_name: 'red' + # brightness: 10 + +# front_door: +# module: door +# class: Door +# app: living_room +# door: binary_sensor.front_contact + +living_room_button: + module: button + class: Button + app: living_room + manual_mode: input_boolean.living_room_manual_mode + button: button01 + ref_entity: light.color04 + +living_room_motion: + module: motion + class: Motion + app: living_room + sensor: binary_sensor.living_room_motion + ref_entity: light.color04 diff --git a/apps/mancave.yaml b/apps/mancave.yaml index 8ad796f..85c26c2 100644 --- a/apps/mancave.yaml +++ b/apps/mancave.yaml @@ -1,7 +1,7 @@ mancave: module: room_control class: RoomController - rich: DEBUG + # rich: DEBUG off_duration: 00:00:10 manual_mode: input_boolean.mancave_manual_mode states: @@ -18,6 +18,9 @@ mancave: light.white08: color_temp: 300 brightness: 175 + light.wled_soundreactive: + state: off + preset: 'Stream' - time: '18:00:00' scene: light.color01: @@ -34,6 +37,9 @@ mancave: state: on color_temp: 400 brightness: 70 + light.wled_soundreactive: + state: on + preset: 'WashingMachine' - time: '23:00:00' scene: light.color01: @@ -46,6 +52,8 @@ mancave: state: off light.white08: state: off + light.wled_soundreactive: + state: off # sleep: input_boolean.sleeping # sleep_state: # scene: