updates
This commit is contained in:
65
packages/door_sensors/door_sensors.yaml
Executable file → Normal file
65
packages/door_sensors/door_sensors.yaml
Executable file → Normal file
@ -32,4 +32,67 @@ automation:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: ist noch offen!
|
||||
title: Freezer
|
||||
title: Freezer
|
||||
|
||||
# Badezimmer oder Gartentüre offen
|
||||
- alias: open_doors_check
|
||||
trigger:
|
||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- type: is_open
|
||||
condition: device
|
||||
device_id: 85dbfa4e5a7ad4dcc73d74b8f051647b
|
||||
entity_id: binary_sensor.bathroom_window_iaszone
|
||||
domain: binary_sensor
|
||||
- type: is_open
|
||||
condition: device
|
||||
device_id: b8119ef2d21afde8394d70373bb9621e
|
||||
entity_id: binary_sensor.livingroom_freezer_iaszone
|
||||
domain: binary_sensor
|
||||
- type: is_open
|
||||
condition: device
|
||||
device_id: bb0545a3347e971df3a86ffa24477c12
|
||||
entity_id: binary_sensor.livingroom_door_garden_iaszone
|
||||
domain: binary_sensor
|
||||
action:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: ist noch was offen.
|
||||
title: Alaaarm
|
||||
|
||||
- alias: turn_off_stuff
|
||||
trigger:
|
||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.bedroom_lights
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.office_bulb
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
- service: script.turn_on
|
||||
target:
|
||||
entity_id: script.denon_tv_turn_off
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.bedroom_switch_lamp
|
||||
|
||||
|
||||
|
||||
|
0
packages/harmony/harmony.yaml
Executable file → Normal file
0
packages/harmony/harmony.yaml
Executable file → Normal file
0
packages/harmony/netflix.yaml
Executable file → Normal file
0
packages/harmony/netflix.yaml
Executable file → Normal file
0
packages/harmony/turn_on_tv.yaml
Executable file → Normal file
0
packages/harmony/turn_on_tv.yaml
Executable file → Normal file
0
packages/harmony/volume_control.yaml
Executable file → Normal file
0
packages/harmony/volume_control.yaml
Executable file → Normal file
0
packages/homeassistant/default_theme.yaml
Executable file → Normal file
0
packages/homeassistant/default_theme.yaml
Executable file → Normal file
0
packages/homeassistant/homeassistant.yaml
Executable file → Normal file
0
packages/homeassistant/homeassistant.yaml
Executable file → Normal file
0
packages/homeassistant/recorder.yaml
Executable file → Normal file
0
packages/homeassistant/recorder.yaml
Executable file → Normal file
0
packages/html5_notifications/html5_notification.yaml
Executable file → Normal file
0
packages/html5_notifications/html5_notification.yaml
Executable file → Normal file
0
packages/laundry/laundry_timer.yaml
Executable file → Normal file
0
packages/laundry/laundry_timer.yaml
Executable file → Normal file
29
packages/laundry/timer.yaml
Executable file → Normal file
29
packages/laundry/timer.yaml
Executable file → Normal file
@ -1,3 +1,30 @@
|
||||
timer:
|
||||
laundry:
|
||||
#duration: "03:20:00"
|
||||
#duration: "03:20:00"
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
laundry_remaining:
|
||||
friendly_name: "Laundry Remaining"
|
||||
value_template: >
|
||||
{% set f = state_attr('timer.laundry', 'finishes_at') %}
|
||||
{{ '00:00:00' if f == None else
|
||||
(as_datetime(f) - now()).total_seconds() | timestamp_custom('%H:%M:%S', false) }}
|
||||
template:
|
||||
- trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- timer.laundry
|
||||
attribute: remaining
|
||||
sensor:
|
||||
# Keep track how many days have past since a date
|
||||
- name: laundry_remaining
|
||||
state: >
|
||||
{% set f = state_attr('timer.laundry', 'finishes_at') %}
|
||||
{% set res = '00:00:00' %}
|
||||
{% if f != None %}
|
||||
{{ (as_datetime(f) - now()).total_seconds() | timestamp_custom('%H:%M:%S', false) }}
|
||||
{% else %}
|
||||
{{ res }}
|
||||
{% endif %}
|
3
packages/light/adaptive.yaml
Executable file → Normal file
3
packages/light/adaptive.yaml
Executable file → Normal file
@ -7,4 +7,5 @@ adaptive_lighting:
|
||||
- light.office_bulb
|
||||
- light.bedroom_bulb_light
|
||||
- light.bedroom_bulb_toni_light
|
||||
- light.bedroom_bulb_philipp_light
|
||||
- light.bedroom_bulb_philipp_light
|
||||
- light.nursery_bulb
|
0
packages/light/all_device_group.yaml
Executable file → Normal file
0
packages/light/all_device_group.yaml
Executable file → Normal file
0
packages/light/bedroom_group.yaml
Executable file → Normal file
0
packages/light/bedroom_group.yaml
Executable file → Normal file
62
packages/light/buttons/bedrooms.yaml
Executable file → Normal file
62
packages/light/buttons/bedrooms.yaml
Executable file → Normal file
@ -1,19 +1,57 @@
|
||||
# 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
|
||||
#- 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 ######
|
||||
- alias: bedroom_door_light_button_single_press
|
||||
trigger:
|
||||
- device_id: 1c88c2785261b381346bf6ea621d02ea
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: e0e71e574631d1fd7ebf960b883d1b6f
|
||||
entity_id: light.bedroom_bulb_light
|
||||
domain: light
|
||||
|
||||
- alias: bedroom_door_light_button_long_press
|
||||
trigger:
|
||||
- device_id: 1c88c2785261b381346bf6ea621d02ea
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_press
|
||||
subtype: dim_up
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: f472f0815009f1343028a8d6a41b34ae
|
||||
entity_id: light.bedroom_lights
|
||||
domain: light
|
||||
|
||||
- alias: bedroom_door_light_button_single_press_down
|
||||
trigger:
|
||||
- device_id: 1c88c2785261b381346bf6ea621d02ea
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: f472f0815009f1343028a8d6a41b34ae
|
||||
entity_id: light.bedroom_lights
|
||||
domain: light
|
||||
|
||||
# Bedroom Button Philipp Light single press
|
||||
- alias: bedroom_light_button_philipp_single_press
|
||||
|
6
packages/light/livingroom_group.yaml
Executable file → Normal file
6
packages/light/livingroom_group.yaml
Executable file → Normal file
@ -4,6 +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
|
||||
- light.livingroom_switch_lamp_couch
|
||||
- light.living_room_switch_lamp_sill
|
||||
#- light.livingroom_switch_lamp
|
||||
|
0
packages/light/motion.yaml
Executable file → Normal file
0
packages/light/motion.yaml
Executable file → Normal file
0
packages/livingroom/button/button.yaml
Executable file → Normal file
0
packages/livingroom/button/button.yaml
Executable file → Normal file
30
packages/livingroom/remote/remote.yaml
Executable file → Normal file
30
packages/livingroom/remote/remote.yaml
Executable file → Normal file
@ -10,7 +10,7 @@ automation:
|
||||
action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
entity_id: light.livingroom_switch_lamp_table
|
||||
|
||||
# Living Room button turn light off
|
||||
- alias: living_room_light_button_turn_off
|
||||
@ -23,7 +23,7 @@ automation:
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
entity_id: light.livingroom_switch_lamp_table
|
||||
|
||||
# Living Room button Netflix
|
||||
- alias: living_room_light_button_tv
|
||||
@ -51,6 +51,19 @@ automation:
|
||||
target:
|
||||
entity_id: script.denon_listen_music
|
||||
|
||||
# Living Room button Turn On
|
||||
- alias: living_room_turn_on_all_lights
|
||||
trigger:
|
||||
- device_id: 86384e5da7e890f4a7a84d186383d1c1
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_release
|
||||
subtype: dim_up
|
||||
action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
|
||||
# Living Room button Turn Off
|
||||
- alias: living_room_turn_off_everything
|
||||
trigger:
|
||||
@ -60,12 +73,13 @@ automation:
|
||||
type: remote_button_long_release
|
||||
subtype: dim_down
|
||||
action:
|
||||
- service: script.turn_on
|
||||
target:
|
||||
entity_id: script.denon_tv_turn_off
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
entity_id: light.living_room_lights
|
||||
#- service: script.turn_on
|
||||
# target:
|
||||
# entity_id: script.denon_tv_turn_off
|
||||
|
||||
|
||||
#### Door Button ####
|
||||
# Living Room door button turn light on
|
||||
@ -79,7 +93,7 @@ automation:
|
||||
action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
entity_id: light.livingroom_switch_lamp_table
|
||||
|
||||
- alias: livingroom_button_door_turn_off
|
||||
trigger:
|
||||
@ -91,7 +105,7 @@ automation:
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
entity_id: light.livingroom_switch_lamp_table
|
||||
|
||||
- alias: livingroom_button_door_turn_off_long
|
||||
trigger:
|
||||
|
0
packages/mailbox/mailbox_received.yaml
Executable file → Normal file
0
packages/mailbox/mailbox_received.yaml
Executable file → Normal file
0
packages/mailbox/mailbox_taken_out.yaml
Executable file → Normal file
0
packages/mailbox/mailbox_taken_out.yaml
Executable file → Normal file
0
packages/mailbox/switch.yaml
Executable file → Normal file
0
packages/mailbox/switch.yaml
Executable file → Normal file
0
packages/minimalist/minimalist_input.yaml
Executable file → Normal file
0
packages/minimalist/minimalist_input.yaml
Executable file → Normal file
4
packages/nursery/babycrydetection.yaml
Normal file
4
packages/nursery/babycrydetection.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
input_boolean:
|
||||
baby_cry_notification:
|
||||
name: Notify @babycry
|
||||
icon: mdi:baby-face-outline
|
106
packages/nursery/nursery.yaml
Normal file
106
packages/nursery/nursery.yaml
Normal file
@ -0,0 +1,106 @@
|
||||
automation:
|
||||
# Nursery heat lamp turn on from bedroom Philipp
|
||||
- alias: nursery_heat_lamp_bedroom_button_philipp_turn_on
|
||||
trigger:
|
||||
- device_id: 1baf5adc6850ac0413ee80d5ce75f1b8
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- type: turn_on
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
||||
- delay:
|
||||
minutes: 15
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
# Nursery heat lamp turn off from bedroom Philipp
|
||||
- alias: nursery_heat_lamp_bedroom_button_philippturn_off
|
||||
trigger:
|
||||
- device_id: 1baf5adc6850ac0413ee80d5ce75f1b8
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
###### Nursery #####
|
||||
|
||||
# Nursery heat lamp turn on button door
|
||||
- alias: nursery_heat_lamp_turn_on_nursery_button_door
|
||||
trigger:
|
||||
- device_id: 990a122b3d7c305259f6033660c23e98
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- type: turn_on
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
||||
- delay:
|
||||
minutes: 15
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
# Nursery heat lamp + light turn on button door
|
||||
- alias: nursery_heat_lamp_bulb_turn_on_nursery_button_door
|
||||
trigger:
|
||||
- device_id: 990a122b3d7c305259f6033660c23e98
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_press
|
||||
subtype: dim_up
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- delay:
|
||||
minutes: 15
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
|
||||
# Nursery heat lamp turn off button door
|
||||
- alias: nursery_heat_lamp_turn_off_nursery_button_door
|
||||
trigger:
|
||||
- device_id: 990a122b3d7c305259f6033660c23e98
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: f544eb364af0e4c42f36e5479f79e111
|
||||
entity_id: switch.nursery
|
||||
domain: switch
|
||||
- type: turn_off
|
||||
device_id: 8d78194d0cb175221b3b0ffa337a9592
|
||||
entity_id: light.nursery_bulb
|
||||
domain: light
|
63
packages/office/button.yaml
Executable file → Normal file
63
packages/office/button.yaml
Executable file → Normal file
@ -13,7 +13,7 @@ automation:
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
- type: turn_off
|
||||
entity_id: light.office_switch_socket
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
domain: light
|
||||
|
||||
@ -45,6 +45,65 @@ automation:
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
||||
- type: turn_on
|
||||
entity_id: light.office_switch_socket
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
domain: light
|
||||
|
||||
#### Remote ####
|
||||
# Office remote turn light on
|
||||
- alias: office_light_remote_turn_on
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
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 remote turn light off
|
||||
- alias: office_light_remote_turn_off
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
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
|
||||
|
||||
# Office remote turn pc on
|
||||
- alias: office_light_remote_turn_on_pc
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: left
|
||||
action:
|
||||
- type: turn_on
|
||||
entity_id: switch.tower
|
||||
- type: turn_on
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
device_id: 343b205f3ed48a715e59c5490050150f
|
||||
domain: light
|
||||
|
||||
# Office remote turn all off
|
||||
- alias: office_light_remote_turn_off_all
|
||||
trigger:
|
||||
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_long_press
|
||||
subtype: dim_down
|
||||
action:
|
||||
- type: turn_off
|
||||
entity_id: light.office_bulb
|
||||
device_id: ce016fbf6d9602740bbabe1fe9915c88
|
||||
domain: light
|
0
packages/office/pc.yaml
Executable file → Normal file
0
packages/office/pc.yaml
Executable file → Normal file
@ -1,4 +0,0 @@
|
||||
weather:
|
||||
- platform: pirateweather
|
||||
api_key: !secret pirate_weather_api
|
||||
mode: daily
|
0
packages/turn_off_everything.txt
Executable file → Normal file
0
packages/turn_off_everything.txt
Executable file → Normal file
Reference in New Issue
Block a user