periodic push

This commit is contained in:
2023-06-29 16:14:36 +02:00
parent c948b95622
commit 831f676068
267 changed files with 17705 additions and 10864 deletions

View File

@@ -125,23 +125,14 @@
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
motion_sensor: binary_sensor.lumi_lumi_sensor_motion_aq2_occupancy
target_entity: light.lamp_wc_beneden_light
illuminance_sensor: sensor.lumi_lumi_sensor_motion_aq2_illuminance
no_motion_wait: input_number.beweging_toilet_timer
target_off_entity: light.lamp_wc_beneden_light
illuminance_cutoff: input_number.beweging_toilet_helderheid
- id: '1660502406213'
alias: Tuin - Lights On At Sunset
description: ''
use_blueprint:
path: CyanAutomation/lights_on_at_sunset.yaml
input:
target_brightness: 40
target_light:
area_id: tuin
motion_sensor: binary_sensor.lumi_lumi_sensor_motion_aq2_occupancy
- id: '1660507765057'
alias: woonkamer - alles uit
alias: woonkamer - alles uit - sfeer schakelaar
description: ''
trigger:
- platform: device
@@ -164,44 +155,26 @@
action:
- service: scene.turn_on
target:
entity_id: scene.beneden_alles_uit
entity_id: scene.woonkamer_ochtend_scene
metadata: {}
mode: single
- id: '1660508989788'
alias: Slaapkamer - bedlamp aan lage helderheid
description: ''
trigger:
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
condition: []
action:
- choose:
- conditions:
- condition: device
type: is_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
sequence:
- type: turn_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
brightness_pct: 10
- conditions:
- condition: device
type: is_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
sequence:
- type: turn_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
- type: turn_off
device_id: 6652a530d4f2c349be36ea58904e613f
entity_id: switch.display_woonkamer_browsee_screen
domain: switch
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- service: scene.turn_on
data:
transition: 19
target:
entity_id: scene.tuin_nacht
- type: turn_off
device_id: 1281186f8b90c2b00053decdf33a6d72
entity_id: light.lamp_aanrecht
domain: light
mode: single
- id: '1661107342293'
alias: Zolder - Wasdroger cycle
@@ -250,51 +223,33 @@
target:
entity_id: scene.tuin_uit
metadata: {}
mode: single
- id: '1661711305212'
alias: Tuin - waterklep fix
description: ''
trigger:
- type: opened
platform: device
device_id: 172891d014f4ffcaefd3e0310574ed3a
entity_id: binary_sensor.waterklep_contact_contact
domain: binary_sensor
condition:
- condition: device
type: is_on
device_id: 14791754a4e8dd8e44b075ab2b932296
entity_id: switch.waterklep
domain: switch
for:
- delay:
hours: 0
minutes: 0
seconds: 4
action:
- type: turn_on
device_id: 14791754a4e8dd8e44b075ab2b932296
entity_id: switch.waterklep
domain: switch
mode: restart
seconds: 30
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id:
- light.tuin_verlichting
- light.tuin_achtertuin
mode: single
- id: '1661803600011'
alias: Woonkamer - Beweging
description: ''
trigger:
- type: motion
platform: device
device_id: dba81805bffdc5ab5eb183b0c2d845dc
entity_id: binary_sensor.beweging_woonkamer2_iaszone
device_id: 4cf96197bf033071d030814729b20dfb
entity_id: binary_sensor.ikea_of_sweden_tradfri_motion_sensor_motion
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 3
condition:
- condition: or
conditions:
- condition: time
after: 06:30:00
before: 08:00:00
after: 04:30:00
before: sensor.sun_next_rising
weekday:
- sun
- mon
@@ -303,8 +258,9 @@
- thu
- sat
- fri
alias: Before sun rise
- condition: time
after: '17:30:00'
after: sensor.sun_next_setting
before: '23:00:00'
weekday:
- sun
@@ -314,6 +270,7 @@
- thu
- fri
- sat
alias: After Sunset
- condition: device
type: is_off
device_id: bc61b8f4ddf2fc04d3a0a6001ea7c7c8
@@ -323,85 +280,13 @@
hours: 0
minutes: 10
seconds: 0
enabled: true
action:
- service: scene.turn_on
target:
entity_id: scene.woonkamer_sfeer_verlichting_aan
metadata: {}
mode: single
- id: '1662235717886'
alias: Woonkamer - CO2 melding
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.woonkamer_co2
for:
hours: 0
minutes: 5
seconds: 0
attribute: state_class
above: '1000'
condition: []
action:
- service: notify.mobile_app_iphone
data:
message: Co2 in de woonkamer te hoog, nu ventileren
title: Let op!
- service: notify.mobile_app_iphone_van_ilse
data:
message: Co2 in de woonkamer te hoog, nu ventileren
title: Let op!
mode: single
- id: '1662613235716'
alias: Slaapkamer - toggle rgb lamp
description: ''
trigger:
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_short_press
subtype: button_2
condition: []
action:
- if:
- condition: device
type: is_off
device_id: 486c39036f87bee0fb2ed8521eb89559
entity_id: light.lamp_rgb_slaapkamer
domain: light
then:
- service: scene.turn_on
target:
entity_id: scene.slaapkamer_dim_wit
metadata: {}
else:
- type: turn_off
device_id: 486c39036f87bee0fb2ed8521eb89559
entity_id: light.lamp_rgb_slaapkamer
domain: light
mode: single
- id: '1666338442880'
alias: Tuin - melding poort
description: ''
trigger:
- type: opened
platform: device
device_id: 692b4399bddfc992385e65ea0fcf8af6
entity_id: binary_sensor.deurcontact_poort_contact
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 3
condition: []
action:
- service: notify.mobile_app_iphone_van_ilse
data:
message: sensor van de poort getriggerd (poort open)
- service: notify.mobile_app_iphone_van_willem
data:
message: sensor van de poort getriggerd (poort open)
mode: single
- id: '1666506600186'
alias: Slaapkamer - bed lamp feller
description: ''
@@ -450,7 +335,7 @@
brightness_pct: 20
- type: turn_on
device_id: 4c2d45d53cd5318e416fdc1cc942f65a
entity_id: light.lamp_dressoir_light
entity_id: light.lamp_dressoir
domain: light
brightness_pct: 20
- conditions:
@@ -466,7 +351,7 @@
domain: light
- type: turn_off
device_id: 4c2d45d53cd5318e416fdc1cc942f65a
entity_id: light.lamp_dressoir_light
entity_id: light.lamp_dressoir
domain: light
mode: single
- id: '1671052282402'
@@ -491,23 +376,6 @@
domain: light
brightness_pct: 100
mode: single
- id: '1671659606183'
alias: Alles uit
description: ''
trigger:
- platform: device
domain: mqtt
device_id: c976ab1909dcc67895eccdce5708b0dc
type: action
subtype: brightness_move_down_1
discovery_id: 0x60a423fffe28320f action_brightness_move_down_1
condition: []
action:
- service: scene.turn_on
data: {}
target:
entity_id: scene.beneden_alles_uit
mode: single
- id: '1672424581965'
alias: slaapkamer tim - schakelaar (Actions)
description: ''
@@ -710,38 +578,6 @@
device_id: 9f4dd21a83f9473a5350876da52296d6
entity_id: light.lamp_bank_light
domain: light
- id: '1674681637235'
alias: Slaapkamer i&w - knoppen bed willem [BP]
description: ''
use_blueprint:
path: andordavoti/zha-aqara-wireless-switch-WXKG02LM.yaml
input:
aqara_switch: dc42e9871d6dfc0ce76c594054038cd9
button_single_press_right:
- choose:
- conditions:
- condition: device
type: is_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
sequence:
- type: turn_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
brightness_pct: 10
- conditions:
- condition: device
type: is_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
sequence:
- type: turn_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
- id: '1675520145446'
alias: Zolder - knoppen bureau willem (BP)
description: ''
@@ -760,15 +596,15 @@
target:
entity_id: scene.klaar_met_werken_op_zolder
on_button_2_short:
- device_id: 9186cc61ae5a6d7206c02fc67cfdb878
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
domain: climate
entity_id: climate.ac_zolder
entity_id: climate.airco_4
type: set_hvac_mode
hvac_mode: heat_cool
off_button_2_short:
- device_id: 9186cc61ae5a6d7206c02fc67cfdb878
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
domain: climate
entity_id: climate.ac_zolder
entity_id: climate.airco_4
type: set_hvac_mode
hvac_mode: 'off'
- id: '1675628615548'
@@ -776,23 +612,28 @@
description: ''
trigger:
- platform: time
at: 00:01:00
at: 03:00:00
condition:
- condition: or
conditions:
- condition: template
value_template: '{{ (as_timestamp(now()) - as_timestamp(states.sensor.roborock_vacuum_s5e_last_clean_end.last_updated)
)/3600 > 8}}'
enabled: false
- condition: and
conditions:
- condition: template
value_template: " - condition: template\n value_template: >-\n {{
(as_timestamp(now()) -\n as_timestamp(states.sensor.roborock_vacuum_s5e_last_clean_end.last_updated)\n
\ )/3600 > 1}}"
- condition: numeric_state
entity_id: sensor.roborock_vacuum_s5e_last_clean_area
below: 7
enabled: false
enabled: false
action:
- service: vacuum.set_fan_speed
data:
fan_speed: Low
target:
device_id: b99930765798a4796ca3ebb87e84299e
- device_id: b99930765798a4796ca3ebb87e84299e
domain: vacuum
entity_id: vacuum.roborock_vacuum_s5e
@@ -807,6 +648,24 @@
offset: 0
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.tuin_avond
metadata: {}
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: scene.turn_on
target:
entity_id: scene.tuin_avond
metadata: {}
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: scene.turn_on
target:
entity_id: scene.tuin_avond
@@ -832,7 +691,7 @@
minutes: 1
seconds: 0
- condition: time
after: '22:00:00'
after: '20:30:00'
before: 05:00:00
- type: is_no_motion
condition: device
@@ -868,3 +727,302 @@
- service: notify.mobile_app_iphone_van_willem
data:
message: sensor batteries are low {{sensors}}
- id: '1677526576561'
alias: slaapkamer i&w - knoppen bed willem (knop 2)
description: ''
trigger:
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_short_press
subtype: button_2
id: remote_button2_short_press
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_double_press
subtype: button_2
id: remote_button2_double_press
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_long_press
subtype: button_2
id: remote_button2_long_press
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
id: button_1_short
condition: []
action:
- if:
- condition: device
type: is_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
then:
- choose:
- conditions:
- condition: trigger
id: remote_button2_short_press
sequence:
- type: turn_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
brightness_pct: 5
- conditions:
- condition: trigger
id: remote_button2_double_press
sequence:
- type: turn_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
brightness_pct: 100
- conditions:
- condition: trigger
id: remote_button2_long_press
sequence:
- service: light.turn_on
target:
entity_id: light.lamp_bed_willem_light
data:
brightness: '{% if state_attr("light.lamp_bed_willem_light","brightness")
is none %} 8 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 9 %} 32 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 33 %} 128 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 129 %} 160 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 161 %} 192 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 193 %} 224 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 225 %} 255 {% else %} 10 {% endif %}
'
else:
- type: turn_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
mode: single
- id: '1678901438847'
alias: Knop kamer Luuk, verwarming uit
description: ''
trigger:
- device_id: 17ebe217929cb75025e2e52c47113267
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
condition: []
action:
- service: climate.set_temperature
data:
temperature: 16
target:
entity_id: climate.kamer_luuk
mode: single
- id: '1678902018862'
alias: knop luuk dubbel klik - verwarming aan
description: ''
trigger:
- device_id: 17ebe217929cb75025e2e52c47113267
domain: zha
platform: device
type: remote_button_double_press
subtype: remote_button_double_press
condition: []
action:
- service: climate.set_preset_mode
data:
preset_mode: None
target:
entity_id: climate.kamer_luuk
- service: climate.set_temperature
data:
temperature: 18.5
target:
entity_id: climate.kamer_luuk
mode: single
- id: '1679258969777'
alias: badkamer - thermostaat automatisch uit
description: ''
trigger:
- platform: numeric_state
entity_id: climate.badkamer
for:
hours: 2
minutes: 0
seconds: 0
above: 17.5
attribute: temperature
condition:
- type: is_not_occupied
condition: device
device_id: dd0fea1459ae5d17823e14348b73cb24
entity_id: binary_sensor.lumi_lumi_sensor_motion_aq2_occupancy_2
domain: binary_sensor
for:
hours: 0
minutes: 20
seconds: 0
action:
- service: climate.set_temperature
data:
temperature: 16
target:
entity_id: climate.badkamer
- service: climate.set_temperature
data:
temperature: 15
target:
entity_id: climate.vloerverwarming_badkamer
- service: notify.mobile_app_iphone_van_willem
data:
message: Badkamer verwarming uit
mode: single
- id: '1679849595183'
alias: woonkamer - alles uit als het licht is
description: ''
trigger:
- platform: time
at: sensor.sun_next_rising
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.beneden_alles_uit
metadata: {}
mode: single
- id: '1683562357537'
alias: awtrix_weather_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_weather_app.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
my_sensor: weather.forecast_home
switch_to_app: false
toggle_helper: input_boolean.awtrix_weather_app_toggle
show_rainbow: false
duration: '10'
push_icon: '1'
show_windspeed: false
- id: '1683562545849'
alias: awtrix_rain_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_rain_forecast.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_rain_app_toggle
my_sensor: weather.forecast_home
graph_type: line
switch_to_app: true
- id: '1683566553338'
alias: awtrix_sensor_power_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_sensor: sensor.dsmr_reading_electricity_currently_delivered
my_icon: '21256'
show_rainbow: false
- id: '1683882275516'
alias: awtrix_sensor_pm2.5
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_icon: '2718'
push_icon: '1'
my_sensor: sensor.particulate_matter_2_5um_concentration
- id: '1683882676954'
alias: awtrix_stock_batt_toggle
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
input:
stock_app: bat
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_stock_batt_toggle
- id: '1684882366818'
alias: zolder - airco automatisch uit
description: ''
trigger:
- type: not_occupied
platform: device
device_id: 029153653b8e5f423c3350efedb3b0d3
entity_id: binary_sensor.aqs_zolder_still_target
domain: binary_sensor
for:
hours: 0
minutes: 20
seconds: 0
condition:
- condition: device
type: is_on
device_id: 6f9cbe311638680986f710f63e99e576
entity_id: switch.contact_airco_flap_zolder_switch
domain: switch
enabled: true
action:
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
domain: climate
entity_id: climate.airco_4
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1685739271048'
alias: Woonkamer - display aan
description: ''
trigger:
- platform: time
at: sensor.sun_next_rising
condition: []
action:
- type: turn_on
device_id: 6652a530d4f2c349be36ea58904e613f
entity_id: switch.display_woonkamer_browsee_screen
domain: switch
mode: single
- id: '1686156742969'
alias: woonkamer - beweging - leds - aan
description: ''
trigger:
- type: occupied
platform: device
device_id: 5bb607cec18e50a97f334c94836fa9f0
entity_id: binary_sensor.aqs_woonkamer2_aqs_woonkamer2_still_target
domain: binary_sensor
condition: []
action:
- type: turn_on
device_id: 5bb607cec18e50a97f334c94836fa9f0
entity_id: light.aqs_woonkamer2_aqs_woonkamer2_rgb_light
domain: light
brightness_pct: 50
mode: single
- id: '1686848917898'
alias: Tuin - automatisch water op timer
description: ''
trigger:
- platform: device
type: turned_on
device_id: e1fd7471fc9fcde9a19ec7175a486dd9
entity_id: switch.valve
domain: switch
condition: []
action:
- service: notify.mobile_app_iphone_van_willem
data:
message: Water timer gestart
- service: script.tuin_water_op_timer
data: {}
mode: single