backup 20240718
This commit is contained in:
542
automations.yaml
542
automations.yaml
@@ -131,7 +131,7 @@
|
||||
input:
|
||||
no_motion_wait: input_number.beweging_toilet_timer
|
||||
target_off_entity: light.lamp_wc_beneden
|
||||
motion_sensor: binary_sensor.beweging_toilet_occupancy
|
||||
motion_sensor: binary_sensor.beweging_toilet_bezetting
|
||||
target_entity: scene.wc_aan
|
||||
- id: '1660507765057'
|
||||
alias: woonkamer - alles uit - sfeer schakelaar
|
||||
@@ -168,6 +168,10 @@
|
||||
entity_id: scene.kerst_uit
|
||||
data: {}
|
||||
enabled: false
|
||||
- type: turn_off
|
||||
device_id: b3ccc72bafb4fc06b08c8b774b8c1eac
|
||||
entity_id: 53b5c8400059ece988735ad8e17fe7a5
|
||||
domain: switch
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
@@ -182,6 +186,10 @@
|
||||
device_id: 1281186f8b90c2b00053decdf33a6d72
|
||||
entity_id: light.lamp_aanrecht
|
||||
domain: light
|
||||
- service: script.tuin_nacht
|
||||
data: {}
|
||||
- service: script.bed_time_clean
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1661238732633'
|
||||
alias: Tuin - alles uit in de ochtend
|
||||
@@ -206,30 +214,9 @@
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- alias: After Sunset
|
||||
condition: time
|
||||
before: 07:45:00
|
||||
weekday:
|
||||
- sun
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
- sat
|
||||
after: 07:00:00
|
||||
- alias: After Sunset
|
||||
condition: time
|
||||
before: '22:00:00'
|
||||
weekday:
|
||||
- sun
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
- sat
|
||||
after: '18:00:00'
|
||||
- condition: sun
|
||||
after: sunset
|
||||
before: sunrise
|
||||
- condition: device
|
||||
type: is_off
|
||||
device_id: 497536ba6a270af14bbc9594502c79f9
|
||||
@@ -265,13 +252,7 @@
|
||||
- light.lamp_bank
|
||||
attribute: brightness
|
||||
id: Helderheid
|
||||
condition:
|
||||
- condition: device
|
||||
device_id: e114f1eb7daa22b88511d015df1f12f7
|
||||
domain: select
|
||||
entity_id: select.harmony_hub_activities
|
||||
type: selected_option
|
||||
option: power_off
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -279,29 +260,26 @@
|
||||
id:
|
||||
- Lamp gaat aan
|
||||
sequence:
|
||||
- type: turn_on
|
||||
device_id: 3d18e796f75575f85a7289ecc8f5847c
|
||||
entity_id: 7c6e8f4df48141fbf793f6950c5cca44
|
||||
domain: light
|
||||
brightness_pct: 30
|
||||
- type: turn_on
|
||||
device_id: 84d66e5b8bf8a78c3a1bf8fe0dcccf7d
|
||||
entity_id: 10d3e1053f8475aa6370bef50d1540bf
|
||||
domain: light
|
||||
brightness_pct: 30
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 22
|
||||
target:
|
||||
entity_id:
|
||||
- light.lamp_bank
|
||||
- light.lamp_dressoir
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id:
|
||||
- Lamp gaat uit
|
||||
sequence:
|
||||
- type: turn_off
|
||||
device_id: 3d18e796f75575f85a7289ecc8f5847c
|
||||
entity_id: 7c6e8f4df48141fbf793f6950c5cca44
|
||||
domain: light
|
||||
- type: turn_off
|
||||
device_id: 84d66e5b8bf8a78c3a1bf8fe0dcccf7d
|
||||
entity_id: 10d3e1053f8475aa6370bef50d1540bf
|
||||
domain: light
|
||||
- service: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.lamp_bank
|
||||
- light.lamp_dressoir
|
||||
mode: single
|
||||
- id: '1673030409002'
|
||||
alias: Hal - voordeur deurbel [BP]
|
||||
@@ -313,35 +291,6 @@
|
||||
- binary_sensor.voordeur_doorbell
|
||||
cooldown: 29
|
||||
notify_target_app: notify.notify
|
||||
- id: '1675520145446'
|
||||
alias: Zolder - knoppen bureau willem (BP)
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: Bekkie/robb-smart-8-switch-ROBB-ROB_200-007-0.yaml
|
||||
input:
|
||||
remote: 7ed6c466f25f5b6aa59d9975cefc9e53
|
||||
on_button_1_short:
|
||||
- service: scene.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: scene.werken_op_zolder
|
||||
off_button_1_short:
|
||||
- service: scene.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: scene.klaar_met_werken_op_zolder
|
||||
on_button_2_short:
|
||||
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
|
||||
domain: climate
|
||||
entity_id: climate.airco_4
|
||||
type: set_hvac_mode
|
||||
hvac_mode: heat_cool
|
||||
off_button_2_short:
|
||||
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
|
||||
domain: climate
|
||||
entity_id: climate.airco_4
|
||||
type: set_hvac_mode
|
||||
hvac_mode: 'off'
|
||||
- id: '1676053221891'
|
||||
alias: Tuin - verlichting sunset
|
||||
description: ''
|
||||
@@ -412,7 +361,7 @@
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunrise
|
||||
offset: '1:00:00'
|
||||
offset: '2:00:00'
|
||||
condition: []
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
@@ -437,28 +386,6 @@
|
||||
my_icon: '21256'
|
||||
show_rainbow: false
|
||||
switch_to_app: false
|
||||
- id: '1683882275516'
|
||||
alias: awtrix_sensor_pm2.5
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: smarthomejunkie/awtrix_create_sensor_app.yaml
|
||||
input:
|
||||
awtrix_displays:
|
||||
- 67e70125afc1a1b1530a8a4bbc86d830
|
||||
toggle_helper: input_boolean.awtrix_power_sensor_toggle
|
||||
my_icon: '2718'
|
||||
push_icon: '1'
|
||||
my_sensor: sensor.aqs_woonkamer2_co2
|
||||
- id: '1683882676954'
|
||||
alias: awtrix_stock_batt_toggle
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
|
||||
input:
|
||||
stock_app: Battery
|
||||
awtrix_displays:
|
||||
- 67e70125afc1a1b1530a8a4bbc86d830
|
||||
toggle_helper: input_boolean.awtrix_stock_batt_toggle
|
||||
- id: '1685739271048'
|
||||
alias: Woonkamer - display aan
|
||||
description: ''
|
||||
@@ -596,9 +523,9 @@
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 15
|
||||
attribute: Raw value
|
||||
to: '7'
|
||||
seconds: 0
|
||||
to: Ready
|
||||
from: Running
|
||||
condition: []
|
||||
action:
|
||||
- if:
|
||||
@@ -632,49 +559,12 @@
|
||||
path: Blackshome/sensor-light.yaml
|
||||
input:
|
||||
motion_trigger:
|
||||
- binary_sensor.beweging_garage_occupancy
|
||||
- binary_sensor.beweging_garage_beweging
|
||||
include_bypass: []
|
||||
include_ambient: ambient_enabled
|
||||
include_sun: sun_disabled
|
||||
light_switch:
|
||||
entity_id: switch.lamp_tuin_en_garage_l2
|
||||
- id: '1691953933835'
|
||||
alias: Slaapkamer I&W - knoppen bed willen [BP]
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: Drafted/aqara-buttons-all-in-one-zigbee2mqtt.yaml
|
||||
input:
|
||||
action_sensor: sensor.knoppen_bed_willem_action
|
||||
single_left_action:
|
||||
- service: light.toggle
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_pct: 20
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
single_right_action:
|
||||
- service: light.toggle
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_pct: 12
|
||||
target:
|
||||
entity_id: light.lamp_bed_willem
|
||||
double_left_action:
|
||||
- service: light.toggle
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_pct: 100
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
double_right_action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.lamp_bed_willem
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_step_pct: 25
|
||||
triple_right_action: []
|
||||
entity_id: light.lamp_garage
|
||||
- id: '1693231308249'
|
||||
alias: Tuin - speelhuisje contact WLED verloren
|
||||
description: ''
|
||||
@@ -914,20 +804,6 @@
|
||||
my_sensor: weather.forecast_home
|
||||
my_text: het blijft droog
|
||||
switch_to_app: true
|
||||
- id: '1695061873005'
|
||||
alias: awtrix_moodlight_app
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: smarthomejunkie/awtrix_moodlight.yaml
|
||||
input:
|
||||
awtrix_displays:
|
||||
- 67e70125afc1a1b1530a8a4bbc86d830
|
||||
toggle_helper: input_boolean.awtrix_moodlight_toggle
|
||||
moodlight_color:
|
||||
- 196
|
||||
- 188
|
||||
- 0
|
||||
brightness: 67
|
||||
- id: '1698444876761'
|
||||
alias: 'Badkamer - vloer volgt radiator '
|
||||
description: ''
|
||||
@@ -1029,140 +905,6 @@
|
||||
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: ''
|
||||
@@ -1231,6 +973,11 @@
|
||||
target:
|
||||
device_id: 64af8393a844e43d5762a88a1fb2bd56
|
||||
data: {}
|
||||
- service: switch.turn_on
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
device_id: b3ccc72bafb4fc06b08c8b774b8c1eac
|
||||
mode: single
|
||||
- id: '1709379869844'
|
||||
alias: awtrix - disable stock temperature
|
||||
@@ -1270,8 +1017,8 @@
|
||||
input:
|
||||
awtrix_displays:
|
||||
- 64af8393a844e43d5762a88a1fb2bd56
|
||||
toggle_helper: input_boolean.awtrix_power_sensor_toggle
|
||||
my_sensor: sensor.ikea_particles_humidity
|
||||
toggle_helper: input_boolean.awtrix_rain_app_toggle
|
||||
my_sensor: sensor.temperatuur_eetkamer_luchtvochtigheid
|
||||
my_icon: '2423'
|
||||
push_icon: '0'
|
||||
- id: '1709406299707'
|
||||
@@ -1354,31 +1101,206 @@
|
||||
- 118
|
||||
- 187
|
||||
- 64
|
||||
- id: '1712383832600'
|
||||
alias: Unifi - mailboxcam auto ir
|
||||
- id: '1714228798185'
|
||||
alias: slaapkamer-tim - slaaptrainer
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '20:00:00'
|
||||
at: input_datetime.slaap_timer_tim
|
||||
condition: []
|
||||
action:
|
||||
- device_id: 2025ba7cc40315fb7a2a617c6264c1e3
|
||||
domain: select
|
||||
entity_id: 66bf6ef0a15b50ee5ae1004f889a73e1
|
||||
type: select_option
|
||||
option: Auto
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.slaaptrainer_slaaptrainer_leds
|
||||
data:
|
||||
effect: Wipe In-green
|
||||
brightness_pct: 16
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 15
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- alias: leds green
|
||||
service: light.turn_on
|
||||
target:
|
||||
entity_id: light.slaaptrainer_slaaptrainer_leds
|
||||
data:
|
||||
color_name: green
|
||||
brightness_pct: 16
|
||||
mode: single
|
||||
- id: '1712383876532'
|
||||
alias: Unifi - mailboxcam - manual ir
|
||||
- id: '1714229441278'
|
||||
alias: slaap-trainer tim - bedtijd
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 07:15:00
|
||||
at: input_datetime.slaap_timer_tim_bed_tijd
|
||||
condition: []
|
||||
action:
|
||||
- device_id: 2025ba7cc40315fb7a2a617c6264c1e3
|
||||
domain: select
|
||||
entity_id: 66bf6ef0a15b50ee5ae1004f889a73e1
|
||||
type: select_option
|
||||
option: Always Disable
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.slaaptrainer_slaaptrainer_leds
|
||||
data:
|
||||
brightness_pct: 16
|
||||
effect: star-orange
|
||||
mode: single
|
||||
- id: '1714576638857'
|
||||
alias: 'assist: zolder alles uit'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: conversation
|
||||
command: zet alles uit op zolder
|
||||
condition: []
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.klaar_met_werken_op_zolder
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1717256139118'
|
||||
alias: '[BP ZHA] knoppen Tim'
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: EPMatt/ikea_e2001_e2002.yaml
|
||||
input:
|
||||
integration: ZHA
|
||||
controller_device: 90d420a2a2a3b98201fca84e124bad73
|
||||
helper_last_controller_event: input_text.bp_last_knoppen_slaapkamer_tim_action
|
||||
action_button_right_short:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
rgb_color:
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
action_button_left_long:
|
||||
- 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 %}
|
||||
|
||||
'
|
||||
action_button_left_short:
|
||||
- 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 %}
|
||||
|
||||
'
|
||||
action_button_right_long:
|
||||
- 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 %}
|
||||
|
||||
'
|
||||
action_button_up_short:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
action_button_down_short:
|
||||
- service: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
- service: automation.trigger
|
||||
metadata: {}
|
||||
data:
|
||||
skip_condition: true
|
||||
target:
|
||||
entity_id: automation.slaap_trainer_tim_bedtijd
|
||||
- id: '1717308990858'
|
||||
alias: '[BP ZHA] knoppen bed willem'
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: andordavoti/zha-aqara-wireless-switch-WXKG02LM.yaml
|
||||
input:
|
||||
aqara_mini_switch: 61c4022b7cb861ed4c60ea3b7336baa9
|
||||
button_single_press_left:
|
||||
- service: light.toggle
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 35
|
||||
color_temp: 153
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
button_single_press_right:
|
||||
- service: light.toggle
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 15
|
||||
kelvin: 2000
|
||||
target:
|
||||
device_id: bfdb32c651d6c4a4301613f69523ce68
|
||||
button_double_press_left:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_pct: 100
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
button_long_press_left:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_step_pct: 29
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
button_double_press_right:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
device_id:
|
||||
- bfdb32c651d6c4a4301613f69523ce68
|
||||
data:
|
||||
kelvin: 2000
|
||||
brightness_pct: 100
|
||||
button_long_press_right:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.lamp_bed_willem_licht
|
||||
data:
|
||||
kelvin: 2000
|
||||
brightness_step_pct: 20
|
||||
button_single_press_both:
|
||||
- device_id: cc0db2acf0bb2018d46ad2ffd2f89df1
|
||||
domain: cover
|
||||
entity_id: 50a2b15de13d2e3f2d7e26c302ccd3ff
|
||||
type: set_position
|
||||
position: 100
|
||||
button_long_press_both:
|
||||
- device_id: cc0db2acf0bb2018d46ad2ffd2f89df1
|
||||
domain: cover
|
||||
entity_id: 50a2b15de13d2e3f2d7e26c302ccd3ff
|
||||
type: set_position
|
||||
position: 0
|
||||
|
||||
Reference in New Issue
Block a user