ha-config/automations.yaml

4251 lines
106 KiB
YAML
Raw Normal View History

2026-01-21 14:34:03 +01:00
- id: '1636926940918'
alias: Mirror OFF
description: ''
trigger:
- platform: time
at: '23:35:00'
condition: []
action:
- type: turn_off
device_id: 5aef879a6eba9126f1f8d4b82b2901d9
entity_id: switch.tasmota_2
domain: switch
mode: single
- id: '1636927813132'
alias: Mirror ON
description: ''
trigger:
- platform: time
at: 06:30:00
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
action:
- type: turn_on
device_id: 5aef879a6eba9126f1f8d4b82b2901d9
entity_id: switch.tasmota_2
domain: switch
mode: single
- id: '1638571000879'
alias: '4b: 1_sc: Swiatlo nad kuchnia'
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 1_single
discovery_id: 0x60a423fffef6f701 action_1_single
condition: []
action:
- type: toggle
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: switch.tasmota
domain: switch
mode: single
- id: '1638995650795'
alias: Oczyszczacze i nawilżacze ON
description: ''
triggers:
- at: '18:00:00'
trigger: time
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
actions:
- action: scene.turn_on
target:
entity_id: scene.oczyszczacze_i_nawilzacze_on
data: {}
mode: single
- id: '1638997347944'
alias: Oczyszczecze i nawilżacze OFF
description: ''
triggers:
- at: 08:30:00
trigger: time
conditions: []
actions:
- action: scene.turn_on
target:
entity_id: scene.oczyszczacze_i_nawilzacze_off
mode: single
- id: '1639176886785'
alias: Lampki biurkowe Tymka
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 306a6032b08584c04d6607be84c8a0b9
type: action
subtype: 1_single
discovery_id: 0x60a423fffe80237f action_1_single
condition: []
action:
- type: toggle
device_id: 14b4fc0f7965a219771dce24f7565b0e
entity_id: switch.tasmota_6
domain: switch
mode: single
- id: '1639770269157'
alias: Lampki biurkowe Helenki
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 69aca2b5d14d65a82f0d8c06e5c19b2d
type: action
subtype: 1_single
discovery_id: 0x60a423fffe80378f action_1_single
condition: []
action:
- type: toggle
device_id: cbc1c7aed2268a93b84eb961c6b8ebed
entity_id: switch.tasmota_7
domain: switch
mode: single
- id: '1639832277655'
alias: '4b: 2_dc: Activate Scene Film'
description: ''
triggers:
- domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 2_double
discovery_id: 0x60a423fffef6f701 action_2_double
trigger: device
conditions: []
actions:
- action: scene.turn_on
metadata: {}
target:
entity_id: scene.film
mode: single
- id: '1640285003658'
alias: Oczyszczacz i nawilżacz prze przycisk Helenki
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 69aca2b5d14d65a82f0d8c06e5c19b2d
type: action
subtype: 1_hold
discovery_id: 0x60a423fffe80378f action_1_hold
condition: []
action:
- type: toggle
device_id: 51f1d994b9069372e4bfaa68a22c7f5e
entity_id: switch.tasmota_4
domain: switch
mode: single
- id: '1640285211569'
alias: Oczyszczacz i nawilżacz prze przycisk Tymka [ON]
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 306a6032b08584c04d6607be84c8a0b9
type: action
subtype: 1_hold
discovery_id: 0x60a423fffe80237f action_1_hold
condition:
- condition: device
device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: is_off
action:
- device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: turn_on
- type: turn_on
device_id: 91a10253ef20fbbef412ec0a3a0e32a8
entity_id: switch.gniazdko_xiaomi_2
domain: switch
mode: single
- id: '1640285276640'
alias: Oczyszczacz i nawilżacz prze przycisk Tymka [OFF]
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 306a6032b08584c04d6607be84c8a0b9
type: action
subtype: 1_hold
discovery_id: 0x60a423fffe80237f action_1_hold
condition:
- condition: device
device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: is_on
action:
- device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: turn_off
- type: turn_off
device_id: 91a10253ef20fbbef412ec0a3a0e32a8
entity_id: switch.gniazdko_xiaomi_2
domain: switch
mode: single
- id: '1642535641715'
alias: '4b: 3_ho: Nawilżacze i oczyszczacze ON'
description: ''
triggers:
- domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 3_hold
discovery_id: 0x60a423fffef6f701 action_3_hold
trigger: device
conditions: []
actions:
- action: scene.turn_on
target:
entity_id: scene.oczyszczacze_i_nawilzacze_on
data: {}
mode: single
- id: '1642535682927'
alias: '4b: 4_ho: Nawilżacze i oczyszczacze OFF'
description: ''
triggers:
- domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 4_hold
discovery_id: 0x60a423fffef6f701 action_4_hold
trigger: device
conditions: []
actions:
- action: scene.turn_on
target:
entity_id: scene.oczyszczacze_i_nawilzacze_off
data: {}
mode: single
- id: '1664714688408'
alias: Gniazdka w Łazience ON
description: ''
trigger:
- platform: time
at: 07:00:00
- platform: time
at: '20:00:00'
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
action:
- type: turn_on
device_id: 0ef237825c581afa12bf4ca72ec794d1
entity_id: switch.tasmota_10
domain: switch
mode: single
- id: '1664715283066'
alias: Gniadka w Łazience OFF
description: ''
triggers:
- at: 09:30:00
trigger: time
- at: '12:30:00'
trigger: time
- at: 01:00:00
trigger: time
- at: 02:00:00
trigger: time
- at: '10:30:00'
trigger: time
conditions: []
actions:
- type: turn_off
device_id: 0ef237825c581afa12bf4ca72ec794d1
entity_id: switch.tasmota_10
domain: switch
mode: single
- id: '1666471111199'
alias: Zasilanie multimediów auto-off
description: ''
trigger:
- platform: time_pattern
hours: '*'
seconds: '0'
minutes: '*'
condition:
- condition: state
for:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
entity_id: media_player.samsung_q60_series_55
state: 'off'
- condition: state
entity_id: switch.tasmota_3
state: 'on'
for:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
action:
- type: turn_off
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
domain: switch
- type: turn_off
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 8b057535afee03650424ee32c1f3ed97
domain: switch
mode: single
- id: '1666731945441'
alias: Magic Mirror OFF on ACK
description: ''
trigger:
- platform: mqtt
topic: dom/pimirror-ack
payload: went-halt
condition: []
action:
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 5aef879a6eba9126f1f8d4b82b2901d9
entity_id: switch.tasmota_2
domain: switch
mode: single
- id: '1666891422388'
alias: Magic Mirror Display Off Command
description: ''
triggers:
- type: not_occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 10
seconds: 0
conditions:
- condition: time
after: 06:35:00
before: '23:25:00'
actions:
- data:
topic: dom/pimirror
payload: display_off
action: mqtt.publish
mode: single
- id: '1666891723803'
alias: Magic Mirror Display On Command
description: ''
triggers:
- type: occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
conditions:
- condition: time
after: 06:30:00
before: '23:30:00'
actions:
- data:
topic: dom/pimirror
payload: display_on
action: mqtt.publish
mode: single
- id: '1667065238690'
alias: Swiatlo na wejscie do domu
description: ''
triggers:
- type: occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'off'
2026-01-21 14:48:20 +01:00
- condition: state
entity_id: input_boolean.passive_mode
state:
- 'off'
2026-01-21 14:34:03 +01:00
- condition: sun
after: sunset
- condition: state
entity_id: switch.tasmota
state: 'off'
for:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- type: is_not_occupied
condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
actions:
- type: turn_on
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: switch.tasmota
domain: switch
mode: single
- id: '1688488726062'
alias: Sufit Tymka
description: ''
triggers:
- domain: mqtt
device_id: 306a6032b08584c04d6607be84c8a0b9
type: action
subtype: 2_single
discovery_id: 0x60a423fffe80237f action_2_single
trigger: device
conditions: []
actions:
- type: toggle
device_id: e6953f6663d5c69ebf28495613f0c9a8
entity_id: 71853b8fd5f11334f701c3854a696437
domain: switch
mode: single
- id: '1688731470897'
alias: Lampiki monitora z przycisku
description: ''
triggers:
- domain: mqtt
device_id: f98caf4976befdcbf022ea4fb53daca9
type: action
subtype: single
discovery_id: 0x00124b002911fd81 action_single
trigger: device
conditions: []
actions:
- type: toggle
device_id: 18be7f12c231653fd9487af9ccd5a51b
entity_id: 8ef43db3a5e5459514a34fc6253bac10
domain: switch
mode: single
- id: '1689079101493'
alias: '1b2: 1_sc: Swiatlo nad kuchnia'
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 7f769bef588101a6080412dd7702ba65
type: action
subtype: single
discovery_id: 0x00124b00291200f7 action_single
condition: []
action:
- type: toggle
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: switch.tasmota
domain: switch
mode: single
- id: '1689079279480'
alias: '1b2: 1_dc: Choinka i lampki ON'
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 7f769bef588101a6080412dd7702ba65
type: action
subtype: double
discovery_id: 0x00124b00291200f7 action_double
condition: []
action:
- type: turn_on
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
- type: turn_on
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
mode: single
- id: '1689079321508'
alias: '1b2: 1_ho: Choinka i lampki OFF'
description: ''
triggers:
- domain: mqtt
device_id: 7f769bef588101a6080412dd7702ba65
type: action
subtype: long
discovery_id: 0x00124b00291200f7 action_long
trigger: device
conditions: []
actions:
- type: turn_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
- type: turn_off
device_id: 3ae84e7b8da1205247f68d24460fe60a
entity_id: fb369fa77f1002883f224eb57fedf290
domain: switch
mode: single
- id: '1689088147520'
alias: Sufit Heli
description: ''
triggers:
- domain: mqtt
device_id: 69aca2b5d14d65a82f0d8c06e5c19b2d
type: action
subtype: 2_single
discovery_id: 0x60a423fffe80378f action_2_single
trigger: device
conditions: []
actions:
- type: toggle
device_id: bd26cbbbd7d49089584272d66bc2fc37
entity_id: d7c9bd6c598aa889de0d6cba6370ded2
domain: switch
mode: single
- id: '1689098599932'
alias: '4b: 2_sc: Ledy za tv'
description: ''
triggers:
- domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 2_single
discovery_id: 0x60a423fffef6f701 action_2_single
trigger: device
conditions: []
actions:
- type: toggle
device_id: 861dd02144f2e934a66fcff5a3a693a0
entity_id: 096254a886aa0a88aca4adcb08df36f5
domain: light
mode: single
- id: '1689098657038'
alias: '4b: 3_sc: Salon 2x'
description: ''
triggers:
- domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 3_single
discovery_id: 0x60a423fffef6f701 action_3_single
trigger: device
conditions: []
actions:
- type: toggle
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
mode: single
- id: '1689098723477'
alias: '4b: 4_sc: Salon 3x'
description: ''
triggers:
- domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 4_single
discovery_id: 0x60a423fffef6f701 action_4_single
trigger: device
conditions: []
actions:
- type: toggle
device_id: ee4c386c52180c7b62ab5dcf466bf29a
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
domain: switch
mode: single
- id: '1689099213729'
alias: '4b: 2_ho: Gniazdko tv'
description: ''
triggers:
- domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 2_hold
discovery_id: 0x60a423fffef6f701 action_2_hold
trigger: device
conditions: []
actions:
- type: turn_on
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
domain: switch
- type: turn_on
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 8b057535afee03650424ee32c1f3ed97
domain: switch
mode: single
- id: '1700832676138'
alias: Turn off lights unconditionally at 3am
description: ''
triggers:
- hours: '3'
trigger: time_pattern
conditions: []
actions:
- type: turn_off
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: switch.tasmota
domain: switch
- type: turn_off
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
- type: turn_off
device_id: ee4c386c52180c7b62ab5dcf466bf29a
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
domain: switch
- type: turn_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
enabled: true
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
- type: turn_off
device_id: 3ae84e7b8da1205247f68d24460fe60a
entity_id: fb369fa77f1002883f224eb57fedf290
domain: switch
mode: single
- id: '1700837302203'
alias: Speak
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 17470b93f6b98452e39db3eb283bffbc
type: action
subtype: 1_double
discovery_id: 0x60a423fffef6f701 action_1_double
condition: []
action:
- if:
- condition: or
conditions:
- condition: device
device_id: 2d9d457b850615c3c6cd77608bb21877
domain: media_player
entity_id: e447ed599522faf3a2c43bd9e7b4a969
type: is_off
- condition: device
device_id: 2d9d457b850615c3c6cd77608bb21877
domain: media_player
entity_id: e447ed599522faf3a2c43bd9e7b4a969
type: is_paused
- condition: device
device_id: 2d9d457b850615c3c6cd77608bb21877
domain: media_player
entity_id: e447ed599522faf3a2c43bd9e7b4a969
type: is_idle
then:
- service: tts.google_translate_say
data:
entity_id: media_player.salon_2
language: en
message: streaming voice now
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- service: tts.clear_cache
data: {}
- service: tts.google_translate_say
data:
entity_id: media_player.salon_2
language: pl
message: '{{ states(''input_text.powiedz'') }}'
mode: single
- id: '1701370240657'
alias: Przyjscie Tymka
description: ''
trigger:
- platform: device
device_id: 0989c5ea2f0b5b002b598d9f8dca47ad
domain: device_tracker
entity_id: 77284c1101c6e25d58f6cecf9152ed24
type: enters
zone: zone.home
condition: []
action:
- service: notify.mobile_app_le2123
data:
message: Tym jest
mode: single
- id: '1702844937214'
alias: Turn off Lights after 23:30 if clear
description: ''
triggers:
- minutes: / 5
trigger: time_pattern
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- type: is_not_occupied
condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
for:
hours: 0
minutes: 15
seconds: 0
- type: is_not_occupied
condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- type: is_not_occupied
condition: device
device_id: 441dcec55b364f4add736675e786a3c7
entity_id: 0a51f574cb49ac424c2e18a23eede114
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- type: is_not_occupied
condition: device
device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
entity_id: 5f7a6976e73109acbce02cc2de11259e
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- type: is_not_occupied
condition: device
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
entity_id: 811364cf6eea576f867b737594e59f52
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- type: is_not_occupied
condition: device
device_id: eab0c037b800428a551b4966bcd335ed
entity_id: bcbdec4c0d2a8958fec5969e38261f07
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- condition: device
type: is_off
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
domain: switch
for:
hours: 0
minutes: 15
seconds: 0
- condition: not
conditions:
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_playing
- condition: or
conditions:
- condition: time
after: '23:30:00'
before: 06:30:00
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'on'
for:
hours: 0
minutes: 0
seconds: 5
actions:
- type: turn_off
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: switch.tasmota
domain: switch
- type: turn_off
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
- type: turn_off
device_id: ee4c386c52180c7b62ab5dcf466bf29a
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
domain: switch
- type: turn_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
enabled: true
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
enabled: true
- type: turn_off
device_id: 3ae84e7b8da1205247f68d24460fe60a
entity_id: fb369fa77f1002883f224eb57fedf290
domain: switch
- action: input_boolean.turn_on
metadata: {}
target:
entity_id: input_boolean.sleep_mode
data: {}
enabled: false
mode: single
- id: '1703104763868'
alias: Turn OFF Heli sufit
description: ''
trigger:
- platform: time_pattern
minutes: / 5
condition:
- type: is_no_motion
condition: device
device_id: 236a4c9133fd8f0b581478114f3e3bd1
entity_id: 94d63d39b6640ecc3d585c3a02340347
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
action:
- type: turn_off
device_id: bd26cbbbd7d49089584272d66bc2fc37
entity_id: d7c9bd6c598aa889de0d6cba6370ded2
domain: switch
mode: single
- id: '1703104933437'
alias: Turn OFF TYmka sufit
description: ''
trigger:
- platform: time_pattern
minutes: / 5
condition:
- type: is_no_motion
condition: device
device_id: 66cf785a9b4e651998f507d5a72a434f
entity_id: 5d7ba9ccb6bd46c47e0f1464272168cf
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
action:
- type: turn_off
device_id: e6953f6663d5c69ebf28495613f0c9a8
entity_id: 71853b8fd5f11334f701c3854a696437
domain: switch
mode: single
- id: '1704492239040'
alias: Turn on prototyp w ubikacji
description: ''
trigger:
- type: motion
platform: device
device_id: eab0c037b800428a551b4966bcd335ed
entity_id: bcbdec4c0d2a8958fec5969e38261f07
domain: binary_sensor
condition:
- condition: sun
before: sunrise
after: sunset
action:
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
mode: single
- id: '1704492288312'
alias: Turn off prototyp w ubikacji
description: ''
trigger:
- type: no_motion
platform: device
device_id: eab0c037b800428a551b4966bcd335ed
entity_id: bcbdec4c0d2a8958fec5969e38261f07
domain: binary_sensor
condition: []
action:
- type: turn_off
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
mode: single
- id: '1714049959227'
alias: 'Leave auto on: batch 01'
description: ''
triggers:
- event: sunset
trigger: sun
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
actions:
- delay: '{{ range(300, 600) | random }}'
- type: turn_on
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
mode: single
- id: '1714050591470'
alias: 'Leave auto on: batch 02'
description: ''
triggers:
- event: sunset
trigger: sun
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
actions:
- delay: '{{ range(1800, 2400) | random }}'
- type: turn_on
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
- parallel:
- sequence:
- delay: '{{ range(300, 601) | random }}'
- type: turn_on
device_id: 18be7f12c231653fd9487af9ccd5a51b
entity_id: 8ef43db3a5e5459514a34fc6253bac10
domain: switch
- sequence:
- delay: '{{ range(300, 601) | random }}'
- type: turn_on
device_id: e6953f6663d5c69ebf28495613f0c9a8
entity_id: 71853b8fd5f11334f701c3854a696437
domain: switch
mode: single
- id: '1714050658950'
alias: 'Leave auto off: batch 02'
description: ''
triggers:
- trigger: time
at: '23:00:00'
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
actions:
- parallel:
- sequence:
- delay: '{{ range(300, 601) | random }}'
- type: turn_off
device_id: e6953f6663d5c69ebf28495613f0c9a8
entity_id: 71853b8fd5f11334f701c3854a696437
domain: switch
- sequence:
- delay: '{{ range(900, 2000) | random }}'
- type: turn_off
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
- sequence:
- delay: '{{ range(900, 2000) | random }}'
- type: turn_off
device_id: 18be7f12c231653fd9487af9ccd5a51b
entity_id: 8ef43db3a5e5459514a34fc6253bac10
domain: switch
mode: single
- id: '1714050792139'
alias: 'Leave auto off: batch 01'
description: ''
triggers:
- at: '23:45:00'
trigger: time
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
actions:
- delay: '{{ range(600, 1800) | random }}'
- type: turn_off
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
mode: single
- id: '1730152629450'
alias: Turn off lampki biurkowe Helenki
description: ''
triggers:
- at: 01:00:00
trigger: time
- trigger: time
at: 02:00:00
- trigger: time
at: 03:00:00
conditions: []
actions:
- type: turn_off
device_id: cbc1c7aed2268a93b84eb961c6b8ebed
entity_id: e7a9704e6145f956ecc8609eae03ebb0
domain: switch
mode: single
- id: '1734943824257'
alias: Turn ON Choinka na wejscie
description: ''
triggers:
- type: occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'off'
- condition: state
entity_id: input_boolean.night_mode
state:
- 'off'
- condition: state
entity_id: input_boolean.passive_mode
state:
- 'off'
- condition: device
type: is_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
for:
hours: 1
minutes: 0
seconds: 0
- condition: device
type: is_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
for:
hours: 1
minutes: 0
seconds: 0
- condition: device
type: is_off
device_id: 3ae84e7b8da1205247f68d24460fe60a
entity_id: fb369fa77f1002883f224eb57fedf290
domain: switch
for:
hours: 1
minutes: 0
seconds: 0
actions:
- type: turn_on
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
- type: turn_on
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
- type: turn_on
device_id: 3ae84e7b8da1205247f68d24460fe60a
entity_id: fb369fa77f1002883f224eb57fedf290
domain: switch
mode: single
- id: '1744918189114'
alias: Turn off pigry power
description: ''
triggers:
- trigger: time_pattern
hours: '*'
minutes: '*'
seconds: '0'
conditions:
- condition: and
conditions:
- type: is_not_connected
condition: device
device_id: bd22cacffbbf0c97a9ef33dab987b890
entity_id: 7614d2254b0b764d385ba273990ae559
domain: binary_sensor
for:
hours: 0
minutes: 3
seconds: 0
- condition: state
entity_id: switch.tasmota_tasmota3
state: 'on'
for:
hours: 0
minutes: 6
seconds: 0
actions:
- type: turn_off
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 5f738065e2d6c1c244a33fea4a8b4aaa
domain: switch
mode: single
- id: '1744918520715'
alias: Turn on pigry wo trigger
description: ''
triggers: []
conditions: []
actions:
- type: turn_on
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 5f738065e2d6c1c244a33fea4a8b4aaa
domain: switch
mode: single
- id: '1744919280479'
alias: Turn off piplayer power
description: ''
triggers:
- trigger: time_pattern
hours: '*'
minutes: '*'
seconds: '15'
conditions:
- condition: and
conditions:
- type: is_not_connected
condition: device
device_id: 7eb1d0285898a07e62fb959f3cffda68
entity_id: a752fc33615b016173772b2930ec8bae
domain: binary_sensor
for:
hours: 0
minutes: 3
seconds: 0
- condition: state
entity_id: switch.tasmota_tasmota2_2
state: 'on'
for:
hours: 0
minutes: 6
seconds: 0
actions:
- type: turn_off
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: 242582c1c93c5625129c90f888499fc7
domain: switch
mode: single
- id: '1744919746930'
alias: Shutdown piplayer when wzmaczniacz is off
description: ''
triggers:
- trigger: time_pattern
hours: '*'
minutes: '*'
seconds: '45'
conditions:
- condition: and
conditions:
- condition: state
entity_id: switch.tasmota_13
state: 'off'
for:
hours: 0
minutes: 6
seconds: 0
- condition: state
entity_id: binary_sensor.192_168_31_6
state: 'on'
for:
hours: 0
minutes: 5
seconds: 0
actions:
- action: shell_command.piplayer_shutdown
data: {}
mode: single
- id: '1744920086507'
alias: turn on piplayer when wzmacniacz is on
description: ''
triggers:
- type: turned_on
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
domain: switch
trigger: device
for:
hours: 0
minutes: 0
seconds: 1
conditions:
- condition: device
type: is_off
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: 242582c1c93c5625129c90f888499fc7
domain: switch
for:
hours: 0
minutes: 0
seconds: 1
actions:
- type: turn_on
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: 242582c1c93c5625129c90f888499fc7
domain: switch
mode: single
- id: '1744976289447'
alias: Turn off Stereo when idle for night
description: ''
triggers:
- entity_id:
- media_player.stereo_salon
to:
- idle
- 'off'
- paused
- unavailable
- unknown
for:
hours: 0
minutes: 15
seconds: 0
trigger: state
conditions:
- condition: time
after: '23:30:00'
actions:
- type: turn_off
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
domain: switch
mode: single
- id: '1751307777881'
alias: Aktualizuj lokalizację Oskar
description: ''
triggers:
- entity_id: sensor.owntracks_last_location
trigger: state
conditions:
- condition: template
value_template: '{{ state_attr(''sensor.owntracks_last_location'', ''lat'') is
not none }}
'
actions:
- data:
dev_id: oskar
host_name: Oskar
gps:
- '{{ state_attr(''sensor.owntracks_last_location'', ''lat'') | float }}'
- '{{ state_attr(''sensor.owntracks_last_location'', ''lon'') | float }}'
gps_accuracy: 10
action: device_tracker.see
- id: '1751481648978'
alias: Led nad blatem z przycisku
description: ''
triggers:
- domain: mqtt
device_id: ca1730830137df603b6a92d8ee477737
type: action
subtype: single
metadata: {}
trigger: device
conditions: []
actions:
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
flash: short
brightness_pct: 100
mode: single
- id: '1751562309715'
alias: Turn on led nad małym blatem
description: ''
triggers:
- type: occupied
device_id: dd84e859ed748c2cd3ede0f6d449f76a
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
domain: binary_sensor
metadata:
secondary: false
trigger: device
conditions:
- type: is_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
- condition: time
after: 06:30:00
before: '23:30:00'
actions:
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
flash: short
brightness_pct: 100
mode: single
- id: '1751562415786'
alias: Turn off lights in Kuchnia
description: ''
triggers:
- type: not_occupied
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 50
- type: not_occupied
device_id: add7de553d974e3a239f0dd5ccf09e9c
entity_id: c73157dbd447be635eb817a247126303
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 50
- type: no_motion
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 50
- trigger: time_pattern
minutes: /5
- trigger: time
at: '23:30:02'
conditions:
- type: is_not_occupied
condition: device
device_id: dd84e859ed748c2cd3ede0f6d449f76a
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 45
- type: is_not_occupied
condition: device
device_id: add7de553d974e3a239f0dd5ccf09e9c
entity_id: c73157dbd447be635eb817a247126303
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 45
- type: is_no_motion
condition: device
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 45
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 45
actions:
- type: turn_off
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 14c5e58a6d12901c7c05baab106b14e8
domain: light
flash: short
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 76120f91e56e920444702be8f6209128
domain: light
flash: short
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
flash: short
mode: single
- id: '1752085825116'
alias: email on water sensor moist in Lazienka
description: ''
triggers:
- type: moist
device_id: d8996ce77b7132ab2e76f3ad03890fe6
entity_id: e4d805ae6cbec0fdcffef148745799f1
domain: binary_sensor
metadata:
secondary: false
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
message: '[wazne] Alert wilgotnośći w Łazience - mokro! '
action: script.notify_email_ntfy
mode: single
- id: '1752085965483'
alias: email on water sensor dry in Lazienka
description: ''
triggers:
- type: not_moist
device_id: d8996ce77b7132ab2e76f3ad03890fe6
entity_id: e4d805ae6cbec0fdcffef148745799f1
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
mesaage: Alert wilgotnośći w Łazience - sucho
action: script.notify_email_ntfy
mode: single
- id: '1752086343222'
alias: email on water sensor moist in Kuchnia
description: ''
triggers:
- type: moist
device_id: 8183dab9f34b240017bce54ebe9b0622
entity_id: e037c3ef22ff7fd1647052c46e51dcd1
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
message: '[wazne] Alert wilgotnośći w Kuchni - mokro! '
action: script.notify_email_ntfy
mode: single
- id: '1752086407230'
alias: email on water sensor dry in Kuchnia
description: ''
triggers:
- type: moist
device_id: 8183dab9f34b240017bce54ebe9b0622
entity_id: e037c3ef22ff7fd1647052c46e51dcd1
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
message: Alert wilgotnośći w Kuchni - sucho
action: script.notify_email_ntfy
mode: single
- id: '1752086440028'
alias: email on water sensor moist in Pralni
description: ''
triggers:
- type: moist
device_id: 62a045d4baf76120b1c73a3c5bb1b3dd
entity_id: c5f14ddee29c7b3e10298c3a6f950b20
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
message: '[wazne] Alert wilgotnośći w Pralni - mokro! '
action: script.notify_email_ntfy
mode: single
- id: '1752086490569'
alias: email on water sensor dry in Pralnia
description: ''
triggers:
- type: not_moist
device_id: 62a045d4baf76120b1c73a3c5bb1b3dd
entity_id: c5f14ddee29c7b3e10298c3a6f950b20
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
message: Alert wilgotnośći w Pralni - sucho
action: script.notify_email_ntfy
mode: single
- id: '1752086527168'
alias: email on water sensor moist in WC
description: ''
triggers:
- type: moist
device_id: ccd128b7eb1779b3718e518f3d0bea1c
entity_id: 833b4953c5ff63ce5adab6832b522c74
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
message: '[wazne] Alert wilgotnośći w WC - mokro! '
action: script.notify_email_ntfy
mode: single
- id: '1752086563805'
alias: email on water sensor dry in WC
description: ''
triggers:
- type: not_moist
device_id: ccd128b7eb1779b3718e518f3d0bea1c
entity_id: 833b4953c5ff63ce5adab6832b522c74
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions: []
actions:
- data:
message: Alert wilgotnośći w WC - sucho
action: script.notify_email_ntfy
mode: single
- id: '1752241538293'
alias: speak_mirror
description: ''
triggers: []
conditions: []
actions:
- action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
retain: false
topic: dom/pimirror
payload: display_on
qos: '2'
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- data:
message: '{{ states(''input_text.powiedz'') }}'
cache: false
language: pl_PL
media_player_entity_id: media_player.pimirror2_2
target:
entity_id: tts.piper
action: tts.speak
mode: single
- id: '1752241986989'
alias: test test Powitanie głosowe po powrocie do domu
description: Używa Piper do odtworzenia powitania
triggers: []
conditions: []
actions:
- data:
entity_id: media_player.pimirror2_2
message: 'Witaj w domu, Jan. Temperatura w salonie wynosi {{ states(''sensor.temperature_salon'')
}} stopni Celsjusza.
'
action: tts.piper_say
mode: single
- id: '1752607459405'
alias: Turn on led zasilanie w Kuchni
description: ''
triggers:
- type: occupied
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 1
- type: occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
enabled: false
- type: occupied
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
trigger: device
enabled: false
conditions: []
actions:
- type: turn_on
device_id: b900bfbc69f75b12d4b9e5eb5040d091
entity_id: 20fd8583b408c8ecc6b35c986b2a7376
domain: switch
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: c9f326d0cb994766e5f3393aa5a48a58
domain: switch
mode: single
- id: '1752607597518'
alias: Turn off led zasilanie w Kuchni
description: ''
triggers:
- type: not_occupied
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
trigger: device
for:
hours: 2
minutes: 0
seconds: 1
- type: not_occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
for:
hours: 2
minutes: 0
seconds: 1
enabled: true
- type: not_occupied
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
trigger: device
for:
hours: 2
minutes: 0
seconds: 1
enabled: true
conditions:
- condition: and
conditions:
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 2
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
for:
hours: 2
minutes: 0
seconds: 0
enabled: true
- type: is_not_occupied
condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
for:
hours: 2
minutes: 0
seconds: 0
enabled: true
actions:
- action: automation.trigger
metadata: {}
data:
skip_condition: true
target:
entity_id: automation.turn_off_lights_in_kuchnia_from_buttons
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- type: turn_off
device_id: b900bfbc69f75b12d4b9e5eb5040d091
entity_id: 20fd8583b408c8ecc6b35c986b2a7376
domain: switch
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: c9f326d0cb994766e5f3393aa5a48a58
domain: switch
mode: single
- id: '1752607981051'
alias: Turn on led nad blatem at night
description: ''
triggers:
- type: occupied
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 2
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: or
conditions:
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'on'
- condition: state
entity_id: input_boolean.night_mode
state:
- 'on'
actions:
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
flash: long
brightness_pct: 1
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
flash: long
brightness_pct: 5
mode: single
- id: '1753193288169'
alias: Send balkon temp to mm
description: ''
triggers:
- trigger: time_pattern
minutes: /1
conditions: []
actions:
- action: rest_command.send_temperature_to_magicmirror
data:
sensor_id: '2'
temperature_sensor: sensor.thTuyabalkon_temperature
humidity_sensor: sensor.thTuyabalkon_humidity
- action: rest_command.send_temperature_to_magicmirror
data:
sensor_id: '5'
temperature_sensor: sensor.thsalon_temperature
humidity_sensor: sensor.thSalon_humidity
- action: rest_command.send_temperature_to_magicmirror
data:
sensor_id: '4'
temperature_sensor: sensor.thsypialnia_temperature
humidity_sensor: sensor.thsypialnia_humidity
mode: single
- id: '1753431022365'
alias: email on move in hall when on leave
description: ''
triggers:
- type: occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
actions:
- data:
message: '[Ważne] Ruch na wejściu!'
action: script.notify_email_ntfy
mode: single
- id: '1753883109847'
alias: email on move in sypialnia when on leave
description: ''
triggers:
- type: occupied
device_id: 441dcec55b364f4add736675e786a3c7
entity_id: 0a51f574cb49ac424c2e18a23eede114
domain: binary_sensor
trigger: device
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
actions:
- data:
message: '[Ważne] Ruch w sypialni!'
action: script.notify_email_ntfy
mode: single
- id: '1760432474594'
alias: Notify on router sypialnia is away for too long
description: ''
triggers:
- trigger: time_pattern
minutes: /1
conditions:
- condition: numeric_state
entity_id: sensor.routerheli_last_seen
above: 5
actions:
- data:
title: Router w sypialni dawno nie widziany
message: ''
action: notify.email_notification
mode: single
- id: '1760991940508'
alias: Toogle Blat w Pralni
description: ''
triggers:
- domain: mqtt
device_id: 9b4bc7787b561456a4e4429a18dde04c
type: action
subtype: single
metadata: {}
trigger: device
conditions: []
actions:
- type: toggle
device_id: 1680890093c2a42b378ebaa2533975ba
entity_id: 8d17915d657045d28e909af10d096046
domain: switch
mode: single
- id: '1760992206112'
alias: Turn ON blat w Pralnia on MD
description: ''
triggers:
- type: occupied
device_id: ac935bebc149d84f6e766f93222a8752
entity_id: 601b877773a3a1c13b0b5848187ba7be
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
conditions: []
actions:
- type: turn_on
device_id: 1680890093c2a42b378ebaa2533975ba
entity_id: 8d17915d657045d28e909af10d096046
domain: switch
mode: single
- id: '1760992336523'
alias: Turn OFF blat w Pralnia on MD
description: ''
triggers:
- type: not_occupied
device_id: ac935bebc149d84f6e766f93222a8752
entity_id: 601b877773a3a1c13b0b5848187ba7be
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 1
seconds: 0
conditions: []
actions:
- type: turn_off
device_id: 1680890093c2a42b378ebaa2533975ba
entity_id: 8d17915d657045d28e909af10d096046
domain: switch
mode: single
- id: '1760992440280'
alias: Toogle turn on/off automation for Blat in Pralnia on MD
description: ''
triggers:
- domain: mqtt
device_id: 9b4bc7787b561456a4e4429a18dde04c
type: action
subtype: double
trigger: device
conditions: []
actions:
- action: automation.toggle
metadata: {}
data: {}
target:
entity_id: automation.turn_off_blat_w_pralnia_on_md_2
- action: automation.toggle
metadata: {}
data: {}
target:
entity_id: automation.turn_off_blat_w_pralnia_on_md
mode: single
- id: '1761038411219'
alias: Oczyszcza w tryb nocny
description: ''
triggers:
- trigger: time
at: '23:30:00'
conditions: []
actions:
- target:
entity_id: fan.zhimi_mc2_c369_air_purifier
data:
field: air_purifier.mode
value: silent
action: xiaomi_miot.set_property
mode: single
- id: '1762808459816'
alias: Turn on led nad blatem duzym prawym
description: ''
triggers:
- type: motion
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
domain: binary_sensor
trigger: device
conditions:
- type: is_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 1
- condition: time
after: 06:30:00
before: '23:30:00'
actions:
- target:
entity_id: light.led3xdrv_led_pwm_2
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') |
int(0) }}'
action: light.turn_on
- target:
entity_id: light.led3xdrv_led_pwm_3
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'')
| int(0) }}'
action: light.turn_on
mode: single
- id: '1762809633535'
alias: Turn on led nad blatem duzym lewym
description: ''
triggers:
- type: occupied
device_id: add7de553d974e3a239f0dd5ccf09e9c
entity_id: c73157dbd447be635eb817a247126303
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'off'
- condition: time
after: 06:30:00
before: '23:30:00'
- type: is_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 0
actions:
- target:
entity_id: light.led3xdrv_led_pwm_1
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') |
int(0) }}'
action: light.turn_on
- target:
entity_id: light.led3xdrv_led_pwm_3
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'')
| int(0) }}'
action: light.turn_on
mode: single
- id: '1762811262999'
alias: Led nad blatem duzym z przycisku
description: ''
triggers:
- domain: mqtt
device_id: b68467fabc45ab20d537567784853cc9
type: action
subtype: single
trigger: device
conditions: []
actions:
- action: automation.trigger
metadata: {}
data:
skip_condition: true
target:
entity_id:
- automation.xxxxxx
- automation.turn_on_led_nad_blatem_duzym_lewym
mode: single
- id: '1762812121938'
alias: Turn off lights in Kuchnia from Buttons
description: ''
triggers:
- domain: mqtt
device_id: ca1730830137df603b6a92d8ee477737
type: action
subtype: long
trigger: device
- domain: mqtt
device_id: b68467fabc45ab20d537567784853cc9
type: action
subtype: hold
trigger: device
conditions: []
actions:
- type: turn_off
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 14c5e58a6d12901c7c05baab106b14e8
domain: light
flash: short
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 76120f91e56e920444702be8f6209128
domain: light
flash: short
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
flash: short
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
mode: single
- id: '1762813664935'
alias: ALERT on temp above given
description: ''
triggers:
- type: temperature
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: ff490fbe6c31081b7cd4b3968e168c90
domain: sensor
metadata:
secondary: false
trigger: device
above: 55
for:
hours: 0
minutes: 0
seconds: 15
conditions: []
actions:
- target:
entity_id: light.led3xdrv_led_pwm_1
data:
transition: 0.5
action: light.turn_off
- target:
entity_id: light.led3xdrv_led_pwm_2
data:
transition: 0.5
action: light.turn_off
- target:
entity_id: light.led3xdrv_led_pwm_3
data:
transition: 0.5
brightness_pct: 30
action: light.turn_on
- data:
message: Alert wysokiej temperatury w swiatlach w kuchni
action: script.notify_email_ntfy
- data:
message: Alert wysokiej temperatury w swiatlach w kuchni
action: rest_command.ntfy_send
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
- action: input_number.set_value
metadata: {}
data:
value: 50
target:
entity_id:
- input_number.jasnosc_led_nad_duzym_blatem
- action: input_number.set_value
metadata: {}
data:
value: 70
target:
entity_id: input_number.jasnosc_listwy_led_nad_duzym_blatem
- delay: '00:00:00.2'
- target:
entity_id: light.led3xdrv_led_pwm_3
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'')
| int(0) }}'
action: light.turn_on
- action: input_text.set_value
metadata: {}
data:
value: Temperatura transformatora światła w kuchni nad dużym blatem wzrosła
za bardzo. Zmniejszam jasność!
target:
entity_id: input_text.alert_text
- action: automation.trigger
metadata: {}
data:
skip_condition: true
target:
entity_id: automation.speaker_mirror_alert_text
mode: single
- id: '1762952673833'
alias: Disable AUTO off lights in Kuchnia
description: ''
triggers:
- domain: mqtt
device_id: ca1730830137df603b6a92d8ee477737
type: action
subtype: double
trigger: device
- domain: mqtt
device_id: b68467fabc45ab20d537567784853cc9
type: action
subtype: double
trigger: device
conditions: []
actions:
- action: automation.turn_off
metadata: {}
data: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 76120f91e56e920444702be8f6209128
domain: light
flash: long
brightness_pct: 30
- delay: '00:00:00.3'
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
flash: long
brightness_pct: 30
- delay: '00:00:00.3'
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 14c5e58a6d12901c7c05baab106b14e8
domain: light
flash: long
brightness_pct: 30
- delay: '00:00:00.3'
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
flash: long
brightness_pct: 30
- delay: '00:00:00.3'
- target:
entity_id: light.led3xdrv_led_pwm_2
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') |
int(0) }}'
action: light.turn_on
- delay: '00:00:00.3'
- target:
entity_id: light.led3xdrv_led_pwm_3
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'')
| int(0) }}'
action: light.turn_on
- delay: '00:00:00.3'
- target:
entity_id: light.led3xdrv_led_pwm_1
data:
transition: 0.5
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') |
int(0) }}'
action: light.turn_on
- delay: '00:00:00.3'
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
flash: long
brightness_pct: 100
mode: single
- id: '1762954145724'
alias: Activate AUTO off lights in Kuchnia at 23:30
description: ''
triggers:
- trigger: time
at: '23:30:00'
conditions: []
actions:
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
mode: single
- id: '1763383792516'
alias: Activate AUTO off lights in Kuchnia after 1h
description: ''
triggers:
- trigger: time_pattern
minutes: /10
conditions:
- type: is_not_occupied
condition: device
device_id: dd84e859ed748c2cd3ede0f6d449f76a
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
domain: binary_sensor
for:
hours: 0
minutes: 55
seconds: 0
- type: is_not_occupied
condition: device
device_id: add7de553d974e3a239f0dd5ccf09e9c
entity_id: c73157dbd447be635eb817a247126303
domain: binary_sensor
for:
hours: 0
minutes: 55
seconds: 0
- type: is_no_motion
condition: device
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
domain: binary_sensor
for:
hours: 0
minutes: 55
seconds: 0
actions:
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
mode: single
- id: '1763384250145'
alias: Turn off Swiatlo na Kuchnia after 23:30 if clear
description: ''
triggers:
- minutes: / 3
trigger: time_pattern
conditions:
- condition: time
after: '23:30:00'
before: 06:30:00
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: binary_sensor.0x8c65a3fffeea673a_occupancy
state:
- 'off'
for:
hours: 0
minutes: 5
seconds: 0
- type: is_not_occupied
condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 5
seconds: 0
- condition: device
type: is_off
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
domain: switch
for:
hours: 0
minutes: 5
seconds: 0
- condition: device
type: is_off
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
for:
hours: 0
minutes: 5
seconds: 0
- condition: device
type: is_off
device_id: ee4c386c52180c7b62ab5dcf466bf29a
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
domain: switch
for:
hours: 0
minutes: 5
seconds: 0
actions:
- type: turn_off
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: switch.tasmota
domain: switch
- type: turn_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
enabled: true
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
enabled: true
- type: turn_off
device_id: 3ae84e7b8da1205247f68d24460fe60a
entity_id: fb369fa77f1002883f224eb57fedf290
domain: switch
mode: restart
- id: '1763384814069'
alias: speak_mirror_alert
description: ''
triggers: []
conditions: []
actions:
- action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
retain: false
topic: dom/pimirror
payload: display_on
qos: '2'
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- data:
message: Uwaga!
cache: false
language: pl_PL
media_player_entity_id: media_player.pimirror2_2
target:
entity_id: tts.piper
action: tts.speak
- data:
message: '{{ states(''input_text.alert_text'') }}'
cache: false
language: pl_PL
media_player_entity_id: media_player.pimirror2_2
target:
entity_id: tts.piper
action: tts.speak
mode: single
- id: '1763386155895'
alias: Poranek start
description: ''
triggers:
- trigger: time
at: 06:42:00
weekday:
- mon
- tue
- wed
- thu
- fri
- trigger: time
at: 08:32:00
weekday:
- sat
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: input_boolean.poranek
state:
- 'on'
actions:
- action: input_boolean.turn_off
metadata: {}
target:
entity_id: input_boolean.sleep_mode
data: {}
- type: turn_on
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
domain: switch
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: c9f326d0cb994766e5f3393aa5a48a58
domain: switch
- action: input_text.set_value
metadata: {}
data:
value: Hejka! Miłego dnia.
target:
entity_id: input_text.powiedz
- parallel:
- sequence:
- wait_for_trigger:
- type: occupied
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
entity_id: 811364cf6eea576f867b737594e59f52
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
- type: occupied
device_id: eab0c037b800428a551b4966bcd335ed
entity_id: bcbdec4c0d2a8958fec5969e38261f07
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
- type: occupied
device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
entity_id: 5f7a6976e73109acbce02cc2de11259e
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
- type: turn_on
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
- wait_for_trigger:
- type: occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
timeout:
hours: 1
minutes: 0
seconds: 0
milliseconds: 0
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: c9f326d0cb994766e5f3393aa5a48a58
domain: switch
- action: automation.trigger
metadata: {}
data:
skip_condition: true
target:
entity_id: automation.speak_mirror
- type: turn_on
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
- action: automation.trigger
metadata: {}
data:
skip_condition: true
target:
entity_id: automation.turn_on_led_nad_blatem_1_as_night
- action: media_player.play_media
metadata: {}
data:
media:
media_content_id: 9ae88635.0
media_content_type: favorite
metadata:
title: Radio 357
thumbnail: http://tc:piCorePlayerPie666@192.168.31.6:9000/imageproxy/http%3A%2F%2Fcdn-profiles.tunein.com%2Fs260271%2Fimages%2Flogoq.jpg%3Ft%3D160994/image.jpg
media_class: track
children_media_class:
navigateIds:
- {}
- media_content_type: favorites
media_content_id: favorites
browse_entity_id: media_player.stereo_salon
target:
entity_id: media_player.stereo_salon
- action: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
entity_id: automation.turn_off_lights_in_kuchania
- action: automation.trigger
metadata: {}
data:
skip_condition: true
target:
entity_id: automation.poranek_stop
mode: single
- id: '1763393244259'
alias: Poranek stop
description: ''
triggers: []
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: input_boolean.poranek
state:
- 'on'
actions:
- delay:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
- action: automation.turn_on
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
- action: automation.trigger
metadata: {}
data:
skip_condition: true
target:
entity_id: automation.new_automation_3
- wait_for_trigger:
- trigger: state
entity_id:
- media_player.stereo_salon
for:
hours: 0
minutes: 10
seconds: 0
to:
- idle
timeout:
hours: 2
minutes: 0
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
domain: switch
mode: single
- id: '1763394497486'
alias: Turn on led nad blatem duzym i malym
description: ''
triggers:
- type: occupied
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 3
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'off'
- condition: state
entity_id: input_boolean.night_mode
state:
- 'off'
- condition: state
entity_id: input_boolean.passive_mode
state:
- 'off'
- condition: device
type: is_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
actions:
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
flash: long
brightness_pct: 55
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
flash: long
brightness_pct: 15
mode: single
- id: '1763637049783'
alias: Turn off swiatlo nad kuchnia when no motion, no trigger
description: ''
triggers: []
conditions: []
actions:
- repeat:
until:
- condition: and
conditions:
- type: is_not_occupied
condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
- type: is_not_occupied
condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
sequence:
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
metadata:
secondary: false
mode: single
- id: '1763637857513'
alias: Turn off swiatlo nad kuchnia when no motion in all home for 1h
description: ''
triggers:
- trigger: time_pattern
minutes: /10
conditions:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- type: is_not_occupied
condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: 236a4c9133fd8f0b581478114f3e3bd1
entity_id: 94d63d39b6640ecc3d585c3a02340347
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: 66cf785a9b4e651998f507d5a72a434f
entity_id: 5d7ba9ccb6bd46c47e0f1464272168cf
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: 441dcec55b364f4add736675e786a3c7
entity_id: 0a51f574cb49ac424c2e18a23eede114
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
entity_id: 811364cf6eea576f867b737594e59f52
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- type: is_not_occupied
condition: device
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
entity_id: 811364cf6eea576f867b737594e59f52
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- condition: or
conditions:
- type: is_not_occupied
condition: device
device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
entity_id: 5f7a6976e73109acbce02cc2de11259e
domain: binary_sensor
for:
hours: 1
minutes: 0
seconds: 0
- condition: state
entity_id: binary_sensor.mdkorytarz_occupancy
state:
- unknown
- unavailable
for:
hours: 2
minutes: 0
seconds: 0
actions:
- type: turn_off
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
metadata:
secondary: false
mode: single
- id: '1763662256621'
alias: Turn off Stereo when idle for 1 hour
description: ''
triggers:
- entity_id:
- media_player.stereo_salon
to:
- idle
- 'off'
- paused
- unavailable
- unknown
for:
hours: 1
minutes: 0
seconds: 0
trigger: state
conditions: []
actions:
- type: turn_off
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
domain: switch
mode: single
- id: '1764190493305'
alias: Turn off lights in Kuchnia after 15 minutes anyway
description: ''
triggers:
- type: not_occupied
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 15
seconds: 0
- trigger: time_pattern
minutes: /5
conditions:
- type: is_not_occupied
condition: device
device_id: dd84e859ed748c2cd3ede0f6d449f76a
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
domain: binary_sensor
for:
hours: 0
minutes: 14
seconds: 45
- type: is_not_occupied
condition: device
device_id: add7de553d974e3a239f0dd5ccf09e9c
entity_id: c73157dbd447be635eb817a247126303
domain: binary_sensor
for:
hours: 0
minutes: 14
seconds: 45
- type: is_no_motion
condition: device
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
domain: binary_sensor
for:
hours: 0
minutes: 14
seconds: 45
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 14
seconds: 45
actions:
- type: turn_off
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 14c5e58a6d12901c7c05baab106b14e8
domain: light
flash: short
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 76120f91e56e920444702be8f6209128
domain: light
flash: short
- type: turn_off
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
flash: short
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
mode: single
- id: '1764331521365'
alias: 'Volume down from scroll '
description: ''
triggers:
- domain: mqtt
device_id: 999e65854719166cffb2459f9309d0f3
type: action
subtype: rotate_left
trigger: device
conditions: []
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.volume_down
metadata: {}
data: {}
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.volume_down
metadata: {}
data: {}
target:
entity_id: media_player.stereo_salon
enabled: false
- action: media_player.volume_set
data:
volume_level: '{{ [ (state_attr(''media_player.stereo_salon'', ''volume_level'')
| float - 0.01), 1.0 ] | min }}
'
target:
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
- if:
- condition: state
entity_id: input_select.current_player
state:
- chrome-cast-salon
then:
- action: media_player.volume_down
metadata: {}
data:
is_volume_muted: false
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
mode: single
- id: '1764331897150'
alias: Volume up from scroll
description: ''
triggers:
- domain: mqtt
device_id: 999e65854719166cffb2459f9309d0f3
type: action
subtype: rotate_right
trigger: device
conditions: []
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.volume_up
metadata: {}
data: {}
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.volume_up
metadata: {}
data: {}
target:
entity_id: media_player.stereo_salon
enabled: false
- action: media_player.volume_set
data:
volume_level: '{{ [ (state_attr(''media_player.stereo_salon'', ''volume_level'')
| float + 0.01), 1.0 ] | min }}
'
target:
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
- action: media_player.volume_set
data:
volume_level: '{{ [ (state_attr(''media_player.stereo_salon'', ''volume_level'')
| float - 0.01), 1.0 ] | min }}
'
target:
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
enabled: false
- if:
- condition: state
entity_id: input_select.current_player
state:
- chrome-cast-salon
then:
- action: media_player.volume_up
metadata: {}
data:
is_volume_muted: false
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
mode: single
- id: '1764332139745'
alias: Volume pause from scroll
description: ''
triggers:
- domain: mqtt
device_id: 999e65854719166cffb2459f9309d0f3
type: action
subtype: single
trigger: device
conditions: []
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.media_play_pause
metadata: {}
data: {}
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.media_play_pause
metadata: {}
data: {}
target:
entity_id: media_player.stereo_salon
- if:
- condition: state
entity_id: input_select.current_player
state:
- chrome-cast-salon
then:
- action: media_player.media_play_pause
metadata: {}
data:
is_volume_muted: false
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
mode: single
- id: '1764333473250'
alias: Set current_player
description: ''
triggers:
- trigger: time_pattern
seconds: /15
conditions: []
actions:
- alias: if stereo playing
if:
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_playing
then:
- action: input_select.select_option
metadata: {}
data:
option: stereo
target:
entity_id: input_select.current_player
else:
- alias: if tv on
if:
- condition: device
type: is_on
device_id: 2b6001cb3b88c366db218da366024e02
entity_id: 9bcb0948239cad67a6b53975d44b4be7
domain: remote
then:
- action: input_select.select_option
metadata: {}
data:
option: tv
target:
entity_id: input_select.current_player
else:
- alias: else nth or else none
if:
- condition: or
conditions:
- condition: and
conditions:
- condition: state
entity_id: input_select.current_player
state:
- tv
- condition: device
type: is_on
device_id: 2b6001cb3b88c366db218da366024e02
entity_id: 9bcb0948239cad67a6b53975d44b4be7
domain: remote
- condition: and
conditions:
- condition: state
entity_id: input_select.current_player
state:
- stereo
- type: is_connected
condition: device
device_id: 7eb1d0285898a07e62fb959f3cffda68
entity_id: a752fc33615b016173772b2930ec8bae
domain: binary_sensor
- condition: or
conditions:
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_paused
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_idle
- condition: and
conditions:
- condition: state
entity_id: input_select.current_player
state:
- chrome-cast-salon
- condition: or
conditions:
- condition: device
device_id: cff31d197ebc32fc58f5f8f55df6e406
domain: media_player
entity_id: 473f2d90bcd458999408818034870b40
type: is_paused
- condition: device
device_id: cff31d197ebc32fc58f5f8f55df6e406
domain: media_player
entity_id: 473f2d90bcd458999408818034870b40
type: is_idle
enabled: false
then: []
else:
- action: input_select.select_option
metadata: {}
data:
option: none
target:
entity_id: input_select.current_player
- alias: if chrome cast 4k playing
if:
- condition: device
device_id: cff31d197ebc32fc58f5f8f55df6e406
domain: media_player
entity_id: 473f2d90bcd458999408818034870b40
type: is_playing
then:
- action: input_select.select_option
metadata: {}
data:
option: chrome-cast-salon
target:
entity_id: input_select.current_player
enabled: false
mode: single
- id: '1764338460727'
alias: Volume mute from scroll
description: ''
triggers:
- domain: mqtt
device_id: 999e65854719166cffb2459f9309d0f3
type: action
subtype: hold
trigger: device
conditions: []
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.volume_mute
metadata: {}
data:
is_volume_muted: false
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.volume_mute
metadata: {}
data:
is_volume_muted: false
target:
entity_id: media_player.stereo_salon
- if:
- condition: state
entity_id: input_select.current_player
state:
- chrome-cast-salon
then:
- action: media_player.volume_mute
metadata: {}
data:
is_volume_muted: false
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
mode: single
- id: '1764595573287'
alias: Poranek pause media player when not occupied for 10 mins
description: ''
triggers:
- trigger: time_pattern
minutes: /5
conditions:
- type: is_not_occupied
condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
- type: is_not_occupied
condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
for:
hours: 0
minutes: 10
seconds: 0
- condition: time
after: 08:00:00
before: '13:00:00'
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_playing
actions:
- action: media_player.media_play_pause
metadata: {}
data: {}
target:
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
mode: single
- id: '1764610725230'
alias: Volume start player from scroll on double after turn
description: ''
triggers:
- domain: mqtt
device_id: 999e65854719166cffb2459f9309d0f3
type: action
subtype: double
trigger: device
conditions: []
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- none
then:
- parallel:
- sequence:
- wait_for_trigger:
- domain: mqtt
device_id: 999e65854719166cffb2459f9309d0f3
type: action
subtype: rotate_left
trigger: device
timeout:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
continue_on_timeout: false
- type: turn_on
device_id: 7d930a7e75050bd061e0389d60a653fe
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
domain: switch
enabled: true
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
enabled: true
- action: media_player.play_media
metadata: {}
data:
media:
media_content_id: 9ae88635.0
media_content_type: favorite
metadata:
title: Radio 357
thumbnail: http://tc:piCorePlayerPie666@192.168.31.6:9000/imageproxy/http%3A%2F%2Fcdn-profiles.tunein.com%2Fs260271%2Fimages%2Flogoq.jpg%3Ft%3D160994/image.jpg
media_class: track
children_media_class:
navigateIds:
- {}
- media_content_type: favorites
media_content_id: favorites
browse_entity_id: media_player.stereo_salon
target:
entity_id: media_player.stereo_salon
enabled: true
- sequence:
- wait_for_trigger:
- domain: mqtt
device_id: 999e65854719166cffb2459f9309d0f3
type: action
subtype: rotate_right
trigger: device
timeout:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
continue_on_timeout: false
- type: turn_on
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
domain: switch
enabled: true
- type: turn_on
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 8b057535afee03650424ee32c1f3ed97
domain: switch
enabled: true
- delay:
hours: 0
minutes: 2
seconds: 35
milliseconds: 0
enabled: true
- type: turn_on
device_id: 2b6001cb3b88c366db218da366024e02
entity_id: 9bcb0948239cad67a6b53975d44b4be7
domain: remote
enabled: true
mode: single
- id: '1764751049013'
alias: Set heaterSypialniaTRV10 temperature calibration for heater steering
description: ''
triggers:
- trigger: time_pattern
seconds: /40
conditions: []
actions:
- choose:
- conditions:
- condition: template
value_template: '{{ diff | abs >= 0.1 }}
'
sequence:
- target:
entity_id: number.heatersypialniatrv10_local_temperature_calibration
data:
value: '{{ new_cal }}
'
action: number.set_value
default: []
variables:
room_temp_1: '{{ states(''sensor.thsypialnia_temperature'') | float(0) }}
'
room_temp_2: '{{ states(''sensor.zhimi_mc2_c369_indoor_temperature'') | float(0)
}}
'
room_temp: '{{ (room_temp_1 + room_temp_2)/ 2 | float(0) }}
'
trv_temp: '{{ state_attr(''climate.heatersypialniatrv10'', ''current_temperature'')
| float(0) }}
'
diff: '{{ [1.5, [room_temp - trv_temp, -1.5] | max] | min }}
'
current_cal: '{% set current_correction = states(''number.heatersypialniatrv10_local_temperature_calibration'')
| float(0) %} {{ current_correction }}
'
new_cal: '{% set raw = current_cal + diff %}
{{ ([5, [raw, -5] | max] | min) | round(1) }}
'
mode: single
- id: '1765817263673'
alias: Set heaterHeliTRV10 temperature calibration for heater steering
description: ''
triggers:
- trigger: time_pattern
seconds: /50
conditions: []
actions:
- choose:
- conditions:
- condition: template
value_template: '{{ diff | abs >= 0.1 }}
'
- type: is_not_open
condition: device
device_id: c91f92400b8b0dd3b466cd5f5478a2ed
entity_id: 8b34a2656ab168a78f682312f519463e
domain: binary_sensor
for:
hours: 0
minutes: 1
seconds: 0
enabled: false
sequence:
- target:
entity_id:
- number.heaterhelitrv10_local_temperature_calibration
data:
value: '{{ new_cal }}
'
action: number.set_value
default: []
mode: single
variables:
room_temp: '{{ states(''sensor.thheli_temperature'') | float(0) }}
'
trv_temp: '{{ state_attr(''climate.heaterhelitrv10'', ''current_temperature'')
| float(0) }}
'
diff: '{{ [1.5, [room_temp - trv_temp, -1.5] | max] | min }}
'
current_cal: '{% set current_correction = states(''number.heaterhelitrv10_local_temperature_calibration'')
| float(0) %} {{ current_correction }}
'
new_cal: '{% set raw = current_cal + diff %}
{{ ([5, [raw, -5] | max] | min) | round(1) }}
'
- id: '1765817937658'
alias: Set heaterTymkaTRV10 temperature calibration for heater steering
description: ''
triggers:
- trigger: time_pattern
seconds: /45
conditions: []
actions:
- choose:
- conditions:
- condition: template
value_template: '{{ diff | abs >= 0.1 }}
'
- type: is_not_open
condition: device
device_id: 07f0004e1c00fca1c04e55489c5513ac
entity_id: 56cf793c98d1fbc391b674ffd8555e4b
domain: binary_sensor
for:
hours: 0
minutes: 1
seconds: 0
sequence:
- target:
entity_id: number.heatertymkatrv10_local_temperature_calibration
data:
value: '{{ new_cal }}
'
action: number.set_value
default: []
mode: single
variables:
room_temp_1: '{{ states(''sensor.thtuyatymka_temperature'') | float(0) }}
'
room_temp_2: '{{ states(''sensor.zhimi_mb3_af95_temperature'') | float(0) }}
'
room_temp: '{{ (room_temp_1 + room_temp_2)/ 2 | float(0) }}
'
trv_temp: '{{ state_attr(''climate.heatertymkatrv10'', ''current_temperature'')
| float(0) }}
'
diff: '{{ [1.5, [room_temp - trv_temp, -1.5] | max] | min }}
'
current_cal: '{% set current_correction = states(''number.heatertymkatrv10_local_temperature_calibration'')
| float(0) %} {{ current_correction }}
'
new_cal: '{% set raw = current_cal + diff %}
{{ ([5, [raw, -5] | max] | min) | round(1) }}
'
- id: '1766345640142'
alias: Set heaterLazienkaTRV07 temperature calibration for heater steering
description: ''
triggers:
- trigger: time_pattern
seconds: /40
conditions: []
actions:
- choose:
- conditions:
- condition: template
value_template: '{{ diff | abs >= 0.1 }}
'
sequence:
- target:
entity_id: number.heaterlazienkatrv07_local_temperature_calibration
data:
value: '{{ new_cal }}
'
action: number.set_value
default: []
mode: single
variables:
room_temp: '{{ states(''sensor.thtuyalazienka_temperature'') | float(0) }}
'
trv_temp: '{{ state_attr(''climate.heaterlazienkatrv07'', ''current_temperature'')
| float(0) }}
'
diff: '{{ [1.5, [room_temp - trv_temp, -1.5] | max] | min }}
'
current_cal: '{% set current_correction = states(''number.heaterlazienkatrv07_local_temperature_calibration'')
| float(0) %} {{ current_correction }}
'
new_cal: '{% set raw = current_cal + diff %}
{{ ([5, [raw, -5] | max] | min) | round(1) }}
'
- id: '1766348309347'
alias: Set heaterSalonLewyTRV10 temperature calibration for heater steering
description: ''
triggers:
- trigger: time_pattern
seconds: /40
conditions: []
actions:
- choose:
- conditions:
- condition: template
value_template: '{{ diff | abs >= 0.1 }}
'
sequence:
- target:
entity_id: number.heatersalonlewytrv10_local_temperature_calibration
data:
value: '{{ new_cal }}
'
action: number.set_value
default: []
mode: single
variables:
room_temp: '{{ states(''sensor.thsalon_temperature'') | float(0) }}
'
trv_temp: '{{ state_attr(''climate.heatersalonlewytrv10'', ''current_temperature'')
| float(0) }}
'
diff: '{{ [1.5, [room_temp - trv_temp, -1.5] | max] | min }}
'
current_cal: '{% set current_correction = states(''number.heatersalonlewytrv10_local_temperature_calibration'')
| float(0) %} {{ current_correction }}
'
new_cal: '{% set raw = current_cal + diff %}
{{ ([5, [raw, -5] | max] | min) | round(1) }}
'
- id: '1766348430579'
alias: Set heaterSalonPrawyTRV10 temperature calibration for heater steering
description: ''
triggers:
- trigger: time_pattern
seconds: /40
conditions: []
actions:
- choose:
- conditions:
- condition: template
value_template: '{{ diff | abs >= 0.1 }}
'
sequence:
- target:
entity_id: number.heatersalonprawytrv10_local_temperature_calibration
data:
value: '{{ new_cal }}
'
action: number.set_value
default: []
mode: single
variables:
room_temp: '{{ states(''sensor.thsalon_temperature'') | float(0) }}
'
trv_temp: '{{ state_attr(''climate.heatersalonprawytrv10'', ''current_temperature'')
| float(0) }}
'
diff: '{{ [5, [room_temp - trv_temp, -5] | max] | min }}
'
current_cal: '{% set current_correction = states(''number.heatersalonprawytrv10_local_temperature_calibration'')
| float(0) %} {{ current_correction }}
'
new_cal: '{% set raw = current_cal + diff %}
{{ ([5, [raw, -5] | max] | min) | round(1) }}
'
- id: '1766408469485'
alias: Boost heater temp in Lazienka when shower
description: ''
triggers:
- entity_id:
- sensor.thtuyalazienka_humidity_stats_5min
above: 8
trigger: numeric_state
conditions:
- condition: numeric_state
entity_id: sensor.thtuyalazienka_humidity
above: 60
enabled: false
actions:
- device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: set_preset_mode
preset_mode: 'on'
- delay:
hours: 0
minutes: 3
seconds: 0
milliseconds: 0
enabled: true
- device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: set_preset_mode
preset_mode: auto
- delay:
hours: 0
minutes: 3
seconds: 0
milliseconds: 0
enabled: true
mode: single
- id: '1766535716394'
alias: Set all heaters to auto or manual on leave
description: ''
triggers:
- trigger: time_pattern
hours: /1
conditions: []
actions:
- if:
- condition: device
device_id: 8edb6404d44bc03851b4f4f44b2de306
domain: climate
entity_id: 10fbd3b88e26faa79e12ce3877535a2a
type: is_hvac_mode
hvac_mode: auto
then: []
else:
- device_id: 8edb6404d44bc03851b4f4f44b2de306
domain: climate
entity_id: 10fbd3b88e26faa79e12ce3877535a2a
type: set_hvac_mode
hvac_mode: auto
- if:
- condition: device
device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: is_hvac_mode
hvac_mode: auto
then: []
else:
- device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: set_hvac_mode
hvac_mode: auto
- if:
- condition: device
device_id: e9c9cdac6c50ccb6134bf79e1e551617
domain: climate
entity_id: c252832a4676c09f3902492f086f4806
type: is_hvac_mode
hvac_mode: auto
then: []
else:
- device_id: e9c9cdac6c50ccb6134bf79e1e551617
domain: climate
entity_id: c252832a4676c09f3902492f086f4806
type: set_hvac_mode
hvac_mode: auto
- if:
- condition: device
device_id: a2f0b222e79d1748f6eb087830e3a7eb
domain: climate
entity_id: 49cca52a021c8ad5dff3128e930deffc
type: is_hvac_mode
hvac_mode: auto
then: []
else:
- device_id: a2f0b222e79d1748f6eb087830e3a7eb
domain: climate
entity_id: 49cca52a021c8ad5dff3128e930deffc
type: set_hvac_mode
hvac_mode: auto
- if:
- condition: device
device_id: a7a8e876ea6573ebc0253f6142a922a5
domain: climate
entity_id: f88ddd7d87d976cb23cc8208d7acf3d2
type: is_hvac_mode
hvac_mode: auto
then: []
else:
- device_id: a7a8e876ea6573ebc0253f6142a922a5
domain: climate
entity_id: f88ddd7d87d976cb23cc8208d7acf3d2
type: set_hvac_mode
hvac_mode: auto
- if:
- condition: device
device_id: 07f0004e1c00fca1c04e55489c5513ac
domain: climate
entity_id: d5b21ac24b72d422cf77d98acdbd97ae
type: is_hvac_mode
hvac_mode: auto
then: []
else:
- device_id: 07f0004e1c00fca1c04e55489c5513ac
domain: climate
entity_id: d5b21ac24b72d422cf77d98acdbd97ae
type: set_hvac_mode
hvac_mode: auto
- if:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
then:
- if:
- condition: device
device_id: 8edb6404d44bc03851b4f4f44b2de306
domain: climate
entity_id: 10fbd3b88e26faa79e12ce3877535a2a
type: is_preset_mode
preset_mode: auto
then: []
else:
- device_id: 8edb6404d44bc03851b4f4f44b2de306
domain: climate
entity_id: 10fbd3b88e26faa79e12ce3877535a2a
type: set_preset_mode
preset_mode: auto
- if:
- condition: device
device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: is_preset_mode
preset_mode: auto
then: []
else:
- device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: set_preset_mode
preset_mode: auto
- if:
- condition: device
device_id: e9c9cdac6c50ccb6134bf79e1e551617
domain: climate
entity_id: c252832a4676c09f3902492f086f4806
type: is_preset_mode
preset_mode: auto
then: []
else:
- device_id: e9c9cdac6c50ccb6134bf79e1e551617
domain: climate
entity_id: c252832a4676c09f3902492f086f4806
type: set_preset_mode
preset_mode: auto
- if:
- condition: device
device_id: a2f0b222e79d1748f6eb087830e3a7eb
domain: climate
entity_id: 49cca52a021c8ad5dff3128e930deffc
type: is_preset_mode
preset_mode: auto
then: []
else:
- device_id: a2f0b222e79d1748f6eb087830e3a7eb
domain: climate
entity_id: 49cca52a021c8ad5dff3128e930deffc
type: set_preset_mode
preset_mode: auto
- if:
- condition: device
device_id: a7a8e876ea6573ebc0253f6142a922a5
domain: climate
entity_id: f88ddd7d87d976cb23cc8208d7acf3d2
type: is_preset_mode
preset_mode: auto
then: []
else:
- device_id: a7a8e876ea6573ebc0253f6142a922a5
domain: climate
entity_id: f88ddd7d87d976cb23cc8208d7acf3d2
type: set_preset_mode
preset_mode: auto
- if:
- condition: device
device_id: 07f0004e1c00fca1c04e55489c5513ac
domain: climate
entity_id: d5b21ac24b72d422cf77d98acdbd97ae
type: is_preset_mode
preset_mode: auto
then: []
else:
- device_id: 07f0004e1c00fca1c04e55489c5513ac
domain: climate
entity_id: d5b21ac24b72d422cf77d98acdbd97ae
type: set_preset_mode
preset_mode: auto
else:
- if:
- condition: device
device_id: 8edb6404d44bc03851b4f4f44b2de306
domain: climate
entity_id: 10fbd3b88e26faa79e12ce3877535a2a
type: is_preset_mode
preset_mode: manual
then: []
else:
- device_id: 8edb6404d44bc03851b4f4f44b2de306
domain: climate
entity_id: 10fbd3b88e26faa79e12ce3877535a2a
type: set_preset_mode
preset_mode: manual
- if:
- condition: device
device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: is_preset_mode
preset_mode: manual
then: []
else:
- device_id: c91f92400b8b0dd3b466cd5f5478a2ed
domain: climate
entity_id: fc0d52b4db929c6411ce19e2276c8aa2
type: set_preset_mode
preset_mode: manual
- if:
- condition: device
device_id: e9c9cdac6c50ccb6134bf79e1e551617
domain: climate
entity_id: c252832a4676c09f3902492f086f4806
type: is_preset_mode
preset_mode: manual
then: []
else:
- device_id: e9c9cdac6c50ccb6134bf79e1e551617
domain: climate
entity_id: c252832a4676c09f3902492f086f4806
type: set_preset_mode
preset_mode: manual
- if:
- condition: device
device_id: a2f0b222e79d1748f6eb087830e3a7eb
domain: climate
entity_id: 49cca52a021c8ad5dff3128e930deffc
type: is_preset_mode
preset_mode: manual
then: []
else:
- device_id: a2f0b222e79d1748f6eb087830e3a7eb
domain: climate
entity_id: 49cca52a021c8ad5dff3128e930deffc
type: set_preset_mode
preset_mode: manual
- if:
- condition: device
device_id: a7a8e876ea6573ebc0253f6142a922a5
domain: climate
entity_id: f88ddd7d87d976cb23cc8208d7acf3d2
type: is_preset_mode
preset_mode: manual
then: []
else:
- device_id: a7a8e876ea6573ebc0253f6142a922a5
domain: climate
entity_id: f88ddd7d87d976cb23cc8208d7acf3d2
type: set_preset_mode
preset_mode: manual
- if:
- condition: device
device_id: 07f0004e1c00fca1c04e55489c5513ac
domain: climate
entity_id: d5b21ac24b72d422cf77d98acdbd97ae
type: is_preset_mode
preset_mode: manual
then: []
else:
- device_id: 07f0004e1c00fca1c04e55489c5513ac
domain: climate
entity_id: d5b21ac24b72d422cf77d98acdbd97ae
type: set_preset_mode
preset_mode: manual
- action: climate.set_temperature
metadata: {}
target:
entity_id: climate.heaterhelitrv10
data:
temperature: 18
- action: climate.set_temperature
metadata: {}
target:
entity_id: climate.heaterlazienkatrv07
data:
temperature: 18
- action: climate.set_temperature
metadata: {}
target:
entity_id: climate.heatersalonlewytrv10
data:
temperature: 18
- action: climate.set_temperature
metadata: {}
target:
entity_id: climate.heatersalonprawytrv10
data:
temperature: 18
- action: climate.set_temperature
metadata: {}
target:
entity_id: climate.heatersypialniatrv10
data:
temperature: 16
- action: climate.set_temperature
metadata: {}
target:
entity_id: climate.heatertymkatrv10
data:
temperature: 18
mode: single
- id: '1767351706736'
alias: End of On leave on koniec_urlopu
description: ''
triggers:
- trigger: time
at: input_datetime.koniec_urlopu
conditions: []
actions:
- action: input_boolean.turn_off
metadata: {}
target:
entity_id: input_boolean.on_leave
data: {}
mode: single
- id: '1768861846039'
alias: Test ntfy
description: ''
triggers: []
conditions: []
actions:
- data:
message: ⏰ Test automatyzacji HA → ntfy
action: rest_command.ntfy_send
mode: single
- id: '1768945218810'
alias: Turn OFF sleep mode at sunrise
description: ''
triggers:
- trigger: sun
event: sunrise
offset: 0
conditions: []
actions:
- action: input_boolean.turn_off
metadata: {}
target:
entity_id: input_boolean.sleep_mode
data: {}
mode: single
- id: '1768946230585'
alias: Turn OFF lights 5 minutes after sleep mode activated
description: ''
triggers:
- trigger: state
entity_id:
- input_boolean.sleep_mode
from:
- 'off'
to:
- 'on'
- trigger: time_pattern
minutes: /5
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'on'
actions:
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: switch.tasmota
domain: switch
- type: turn_off
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
- type: turn_off
device_id: ee4c386c52180c7b62ab5dcf466bf29a
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
domain: switch
- type: turn_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
enabled: true
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
enabled: true
- type: turn_off
device_id: 3ae84e7b8da1205247f68d24460fe60a
entity_id: fb369fa77f1002883f224eb57fedf290
domain: switch
mode: single
- id: '1768946816062'
alias: Sleep mode ON from 1button sypialnia
description: ''
triggers:
- domain: mqtt
device_id: f98caf4976befdcbf022ea4fb53daca9
type: action
subtype: double
trigger: device
conditions: []
actions:
- action: input_boolean.turn_on
metadata: {}
target:
entity_id: input_boolean.sleep_mode
data: {}
mode: single
- id: '1768946838707'
alias: Sleep mode OFF from 1button sypialnia
description: ''
triggers:
- domain: mqtt
device_id: f98caf4976befdcbf022ea4fb53daca9
type: action
subtype: long
trigger: device
conditions: []
actions:
- action: input_boolean.turn_off
metadata: {}
target:
entity_id: input_boolean.sleep_mode
data: {}
mode: single
- id: '1768989504100'
alias: Nicht lights in Lazienka (Pralnia) on sleep_mode
description: ''
triggers:
- type: occupied
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
entity_id: 811364cf6eea576f867b737594e59f52
domain: binary_sensor
trigger: device
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: state
entity_id: input_boolean.passive_mode
state:
- 'off'
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'on'
actions:
- type: turn_on
device_id: 1680890093c2a42b378ebaa2533975ba
entity_id: 8d17915d657045d28e909af10d096046
domain: switch
- wait_for_trigger:
- type: not_occupied
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
entity_id: 811364cf6eea576f867b737594e59f52
domain: binary_sensor
trigger: device
timeout:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 1680890093c2a42b378ebaa2533975ba
entity_id: 8d17915d657045d28e909af10d096046
domain: switch
mode: single
- id: '1768990999284'
alias: start night_mode at 23:30
description: ''
triggers:
- trigger: time
at: '23:30:00'
conditions: []
actions:
- action: input_boolean.turn_on
metadata: {}
target:
entity_id: input_boolean.night_mode
data: {}
mode: single
- id: '1768991054862'
alias: stop night_mode at 6:30
description: ''
triggers:
- trigger: time
at: 06:30:00
conditions: []
actions:
- action: input_boolean.turn_off
metadata: {}
target:
entity_id: input_boolean.night_mode
data: {}
mode: single