config files on 14-12-2023 09:06:28
This commit is contained in:
424
automations.yaml
424
automations.yaml
@@ -198,6 +198,10 @@
|
||||
device_id: 6652a530d4f2c349be36ea58904e613f
|
||||
entity_id: switch.display_woonkamer_browsee_screen
|
||||
domain: switch
|
||||
- service: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.kerst_uit
|
||||
data: {}
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
@@ -318,139 +322,6 @@
|
||||
entity_id: 10d3e1053f8475aa6370bef50d1540bf
|
||||
domain: light
|
||||
mode: single
|
||||
- id: '1672424581965'
|
||||
alias: slaapkamer tim - schakelaar (Actions)
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: arrow_left_click
|
||||
discovery_id: 0x003c84fffe32c0c0 action_arrow_left_click
|
||||
id: arrow_left_click
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: arrow_right_click
|
||||
discovery_id: 0x003c84fffe32c0c0 action_arrow_right_click
|
||||
id: arrow_right_click
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: 'off'
|
||||
discovery_id: 0x003c84fffe32c0c0 action_off
|
||||
id: off_action
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: 'on'
|
||||
discovery_id: 0x003c84fffe32c0c0 action_on
|
||||
id: on_action
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: brightness_move_up
|
||||
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_up
|
||||
id: brightness_move_up
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: brightness_move_down
|
||||
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_down
|
||||
id: brightness_move_down
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: arrow_right_click
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
color_temp: '{% if state_attr("light.rgb_slaapkamer_tim","color_temp") is
|
||||
none %} 454 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 350 %} 333 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 332 %} 285 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 284 %} 244 {% else %} 370 {% endif %}
|
||||
|
||||
'
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: off_action
|
||||
sequence:
|
||||
- type: turn_off
|
||||
device_id: f8152ddb8405d3417a0141746a3c3ce0
|
||||
entity_id: 5419855a4d17f478a45d515e8f9d87d9
|
||||
domain: light
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: arrow_left_click
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
rgb_color:
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: on_action
|
||||
sequence:
|
||||
- type: turn_on
|
||||
device_id: 1834f301f21c8a1d8a7a16fe8ee2b6b2
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
domain: light
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: brightness_move_up
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim","brightness") is
|
||||
none %} 8 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 9 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 17 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 33 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 65 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 129 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 161 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 193 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 225 %} 255 {% else %} 10 {% endif %}
|
||||
|
||||
'
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: brightness_move_down
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim_light","brightness")
|
||||
is none %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 254 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 223 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 191 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 159 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 127 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 63 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 31 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 15 %} 8 {% else %} 128 {% endif %}
|
||||
|
||||
'
|
||||
mode: single
|
||||
- id: '1673030409002'
|
||||
alias: Hal - voordeur deurbel [BP]
|
||||
description: ''
|
||||
@@ -477,55 +348,6 @@
|
||||
entity_id: light.lamp_aanrecht
|
||||
domain: light
|
||||
mode: single
|
||||
- id: '1674679921198'
|
||||
alias: Woonkamer - knoppen (robsmart) [BP]
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: Bekkie/robb-smart-8-switch-ROBB-ROB_200-007-0.yaml
|
||||
input:
|
||||
remote: b5245812a93ad1f15abe7ee901e5b43c
|
||||
on_button_4_short:
|
||||
- service: scene.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: scene.tuin_avond
|
||||
off_button_4_short:
|
||||
- service: scene.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: scene.tuin_uit
|
||||
on_button_1_short:
|
||||
- type: turn_on
|
||||
device_id: 9f4dd21a83f9473a5350876da52296d6
|
||||
entity_id: light.lamp_bank_light
|
||||
domain: light
|
||||
brightness_pct: 40
|
||||
on_button_2_long: []
|
||||
on_button_2_short:
|
||||
- type: turn_on
|
||||
device_id: 82e1a32555c372d3d5180521d1f84789
|
||||
entity_id: switch.screens_woonkamer
|
||||
domain: switch
|
||||
off_button_2_short:
|
||||
- type: turn_off
|
||||
device_id: 82e1a32555c372d3d5180521d1f84789
|
||||
entity_id: switch.screens_woonkamer
|
||||
domain: switch
|
||||
on_button_3_short:
|
||||
- type: turn_on
|
||||
device_id: 4ef8a164146ae2252807b12b461a9838
|
||||
entity_id: switch.rolluik_woonkamer_2
|
||||
domain: switch
|
||||
off_button_3_short:
|
||||
- type: turn_off
|
||||
device_id: 4ef8a164146ae2252807b12b461a9838
|
||||
entity_id: switch.rolluik_woonkamer_2
|
||||
domain: switch
|
||||
off_button_1_short:
|
||||
- type: turn_off
|
||||
device_id: 9f4dd21a83f9473a5350876da52296d6
|
||||
entity_id: light.lamp_bank_light
|
||||
domain: light
|
||||
- id: '1675520145446'
|
||||
alias: Zolder - knoppen bureau willem (BP)
|
||||
description: ''
|
||||
@@ -731,43 +553,6 @@
|
||||
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: ''
|
||||
@@ -821,33 +606,6 @@
|
||||
awtrix_displays:
|
||||
- 658104c6c966f75ddf9c747816e4a8f4
|
||||
toggle_helper: input_boolean.awtrix_stock_batt_toggle
|
||||
- id: '1684882366818'
|
||||
alias: zolder - airco automatisch uit
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.beweging_zolder_zolder_occupancy
|
||||
to: 'off'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 10
|
||||
seconds: 0
|
||||
from: 'on'
|
||||
condition:
|
||||
- condition: device
|
||||
type: is_on
|
||||
device_id: 6f9cbe311638680986f710f63e99e576
|
||||
entity_id: switch.contact_airco_flap_zolder_switch
|
||||
domain: switch
|
||||
enabled: false
|
||||
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: ''
|
||||
@@ -879,6 +637,18 @@
|
||||
device_id: 6652a530d4f2c349be36ea58904e613f
|
||||
entity_id: 8ea088343901b662ed2ad97c14043b34
|
||||
domain: switch
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: sensor.display_woonkamer_current_page
|
||||
attribute: full_url
|
||||
state: http://192.168.2.181:8123/tuya-panel/0
|
||||
then:
|
||||
- stop: ''
|
||||
else:
|
||||
- device_id: 6652a530d4f2c349be36ea58904e613f
|
||||
domain: button
|
||||
entity_id: ef0133d776a0015c7b4209a9c19c3b14
|
||||
type: press
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id:
|
||||
@@ -1436,3 +1206,165 @@
|
||||
target:
|
||||
entity_id: light.tuin_lamp_voortuin_pad_rechts
|
||||
mode: single
|
||||
- id: '1701172785385'
|
||||
alias: ha backup - git
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
hours: '23'
|
||||
minutes: '23'
|
||||
seconds: '23'
|
||||
condition: []
|
||||
action:
|
||||
- service: hassio.addon_stdin
|
||||
data:
|
||||
addon: a0d7b954_ssh
|
||||
input: /config/config_backup.sh
|
||||
mode: single
|
||||
- id: '1701204274791'
|
||||
alias: slaapkamer tim - knoppen (2)
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: arrow_left_click
|
||||
discovery_id: 0x003c84fffe32c0c0 action_arrow_left_click
|
||||
id: arrow_left_click
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: arrow_right_click
|
||||
discovery_id: 0x003c84fffe32c0c0 action_arrow_right_click
|
||||
id: arrow_right_click
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: 'off'
|
||||
discovery_id: 0x003c84fffe32c0c0 action_off
|
||||
id: off_action
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: 'on'
|
||||
discovery_id: 0x003c84fffe32c0c0 action_on
|
||||
id: on_action
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: brightness_move_up
|
||||
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_up
|
||||
id: brightness_move_up
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: brightness_move_down
|
||||
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_down
|
||||
id: brightness_move_down
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: arrow_right_click
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
color_temp: '{% if state_attr("light.rgb_slaapkamer_tim","color_temp") is
|
||||
none %} 454 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 350 %} 333 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 332 %} 285 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 284 %} 244 {% else %} 370 {% endif %}
|
||||
|
||||
'
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: off_action
|
||||
sequence:
|
||||
- type: turn_off
|
||||
device_id: f8152ddb8405d3417a0141746a3c3ce0
|
||||
entity_id: 5419855a4d17f478a45d515e8f9d87d9
|
||||
domain: light
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: arrow_left_click
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
rgb_color:
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: on_action
|
||||
sequence:
|
||||
- type: turn_on
|
||||
device_id: f8152ddb8405d3417a0141746a3c3ce0
|
||||
entity_id: 5419855a4d17f478a45d515e8f9d87d9
|
||||
domain: light
|
||||
brightness_pct: 25
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: brightness_move_up
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim","brightness") is
|
||||
none %} 8 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 9 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 17 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 33 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 65 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 129 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 161 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 193 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 225 %} 255 {% else %} 10 {% endif %}
|
||||
|
||||
'
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: brightness_move_down
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim_light","brightness")
|
||||
is none %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 254 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 223 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 191 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 159 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 127 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 63 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 31 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 15 %} 8 {% else %} 128 {% endif %}
|
||||
|
||||
'
|
||||
mode: single
|
||||
- id: '1701930524468'
|
||||
alias: kerst aan
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 07:00:00
|
||||
condition: []
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: scene.kerst_aan
|
||||
mode: single
|
||||
|
||||
Reference in New Issue
Block a user