Many updates

This commit is contained in:
2022-12-28 17:54:28 +01:00
parent 2bfa07019e
commit 900f180c69
19 changed files with 351 additions and 110 deletions

View File

@@ -0,0 +1,30 @@
automation:
- alias: laundry_standard
trigger: []
condition: []
action:
- service: timer.start
data:
duration: "03:20:00"
target:
entity_id: timer.laundry
- alias: laundry_30
trigger: []
condition: []
action:
- service: timer.start
data:
duration: "03:05:00"
target:
entity_id: timer.laundry
- alias: laundry_auto
trigger: []
condition: []
action:
- service: timer.start
data:
duration: "03:40:00"
target:
entity_id: timer.laundry

3
packages/laundry/timer.yaml Executable file
View File

@@ -0,0 +1,3 @@
timer:
laundry:
#duration: "03:20:00"

View File

@@ -5,4 +5,6 @@ adaptive_lighting:
interval: 20
lights:
- light.office_bulb
- light.bedroom_bulb_light
- light.bedroom_bulb_light
- light.bedroom_bulb_toni_light
- light.bedroom_bulb_philipp_light

View File

@@ -0,0 +1,7 @@
light:
- platform: group
name: "Bedroom Lights"
entities:
- light.bedroom_bulb_toni_light
- light.bedroom_bulb_philipp_light
- light.bedroom_bulb_light

View File

@@ -1,57 +0,0 @@
#Guest Room Button Light
automation:
- alias: guestroom_light_button
trigger:
- device_id: c6b9d0a0f7a56e9f2966cdb8cb312614
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
entity_id: light.guestroom_switch_lamp
domain: light
#Bedroom Button Light
- alias: bedroom_light_button
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: e0e71e574631d1fd7ebf960b883d1b6f
entity_id: light.bedroom_bulb_light
domain: light
# Office Button Light
- alias: office_light_button_single_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: ce016fbf6d9602740bbabe1fe9915c88
entity_id: light.office_bulb
domain: light
# Office Button Light double press
- alias: office_light_button_double_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_double_press
subtype: button
action:
- service: light.turn_on
target:
entity_id: light.office_bulb
data:
color_temp: 255
brightness: 255

View File

@@ -0,0 +1,99 @@
# Guest Room Button Light
automation:
- alias: guestroom_light_button
trigger:
- device_id: c6b9d0a0f7a56e9f2966cdb8cb312614
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
entity_id: light.guestroom_switch_lamp
domain: light
###### Bedroom ######
# Bedroom Button Philipp Light single press
- alias: bedroom_light_button_philipp_single_press
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: f472f0815009f1343028a8d6a41b34ae
entity_id: light.bedroom_bulb_philipp_light
domain: light
# Bedroom Button Philipp Light double press
- alias: bedroom_light_button_philipp_double_press
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_double_press
subtype: button
action:
- type: toggle
device_id: e0e71e574631d1fd7ebf960b883d1b6f
entity_id: light.bedroom_bulb_light
domain: light
# Bedroom Button Philipp Light long press
- alias: bedroom_light_button_philipp_long_press
trigger:
- device_id: 5eaa44bd80bff72ec68727486d1259cd
domain: zha
platform: device
type: remote_button_long_press
subtype: button
action:
- service: light.toggle
target:
entity_id: light.bedroom_lights
# Bedroom Button Toni Light
- alias: bedroom_light_button_toni_single_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_short_press
subtype: button
action:
- type: toggle
device_id: f472f0815009f1343028a8d6a41b34ae
entity_id: light.bedroom_bulb_toni_light
domain: light
# Bedroom Button Toni Light double press
- alias: bedroom_light_button_toni_double_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_double_press
subtype: button
action:
- type: toggle
device_id: e0e71e574631d1fd7ebf960b883d1b6f
entity_id: light.bedroom_bulb_light
domain: light
# Bedroom Button Toni Light long press
- alias: bedroom_light_button_toni_long_press
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_long_press
subtype: button
action:
- service: light.toggle
target:
entity_id: light.bedroom_lights

View File

@@ -4,5 +4,6 @@ light:
name: "Living Room Lights"
entities:
- light.livingroom_switch_lamp_table
- light.livingroom_switch_lamp_couch
- light.living_room_switch_lamp_sill
#- light.livingroom_switch_lamp_couch
#- light.living_room_switch_lamp_sill
- light.livingroom_switch_lamp

View File

View File

@@ -51,7 +51,7 @@ automation:
target:
entity_id: script.denon_listen_music
# Living Room button Spotify
# Living Room button Turn Off
- alias: living_room_turn_off_everything
trigger:
- device_id: 86384e5da7e890f4a7a84d186383d1c1
@@ -65,4 +65,45 @@ automation:
entity_id: script.denon_tv_turn_off
- service: light.turn_off
target:
entity_id: light.living_room_lights
entity_id: light.living_room_lights
#### Door Button ####
# Living Room door button turn light on
- alias: livingroom_button_door_turn_on
trigger:
- device_id: 85e0a07a3b952671b37fd008f7b2a299
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- service: light.turn_on
target:
entity_id: light.living_room_lights
- alias: livingroom_button_door_turn_off
trigger:
- device_id: 85e0a07a3b952671b37fd008f7b2a299
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
action:
- service: light.turn_off
target:
entity_id: light.living_room_lights
- alias: livingroom_button_door_turn_off_long
trigger:
- device_id: 85e0a07a3b952671b37fd008f7b2a299
domain: zha
platform: device
type: remote_button_long_press
subtype: dim_down
action:
- service: light.turn_off
target:
entity_id: light.living_room_lights
- service: script.turn_on
target:
entity_id: script.denon_tv_turn_off

50
packages/office/button.yaml Executable file
View File

@@ -0,0 +1,50 @@
automation:
# Living Room button turn light off
- alias: office_light_button_turn_off
trigger:
- device_id: ca1b84b5a0bc1aaa9e1a6b856d77b37e
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
action:
- type: turn_off
entity_id: light.office_bulb
device_id: ce016fbf6d9602740bbabe1fe9915c88
domain: light
- type: turn_off
entity_id: light.office_switch_socket
device_id: 343b205f3ed48a715e59c5490050150f
domain: light
# Office button turn light on
- alias: office_light_button_turn_on
trigger:
- device_id: ca1b84b5a0bc1aaa9e1a6b856d77b37e
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- type: turn_on
entity_id: light.office_bulb
device_id: ce016fbf6d9602740bbabe1fe9915c88
domain: light
# Office button turn light on long
- alias: office_light_button_turn_on_long
trigger:
- device_id: ca1b84b5a0bc1aaa9e1a6b856d77b37e
domain: zha
platform: device
type: remote_button_long_press
subtype: dim_up
action:
- type: turn_on
entity_id: light.office_bulb
device_id: ce016fbf6d9602740bbabe1fe9915c88
domain: light
- type: turn_on
entity_id: light.office_switch_socket
device_id: 343b205f3ed48a715e59c5490050150f
domain: light

7
packages/office/pc.yaml Executable file
View File

@@ -0,0 +1,7 @@
wake_on_lan:
switch:
- platform: wake_on_lan
mac: !secret tower_mac
name: tower

View File

@@ -1,21 +0,0 @@
wake_on_lan:
switch:
- platform: wake_on_lan
mac: !secret tower_mac
name: tower
#Office Steckdosenleiste
automation:
- alias: office_light_socket
trigger:
- device_id: ab68a51751fcc28c6576ba467a77581d
domain: zha
platform: device
type: remote_button_long_press
subtype: button
action:
- type: toggle
device_id: 343b205f3ed48a715e59c5490050150f
entity_id: light.office_switch_socket
domain: light