ha-config/automations.yaml.oka_backup

2753 lines
67 KiB
Plaintext
Raw Normal View History

2026-01-22 14:27:14 +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: '19: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: Lampki na półce'
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
conditions:
- condition: sun
after: sunset
- condition: and
conditions:
- condition: state
entity_id: switch.tasmota
state: 'off'
for:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- condition: and
conditions:
- 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: '1667745509155'
alias: Notify move in Sypialnia
description: ''
trigger:
- type: motion
platform: device
device_id: 441dcec55b364f4add736675e786a3c7
entity_id: binary_sensor.0x00124b0025131b2c_occupancy
domain: binary_sensor
condition: []
action:
- service: notify.mobile_app_oneplus_a6013
data:
message: Ruch w sypialni
- service: persistent_notification.create
data:
message: Ruch w sypialni (per)
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: ''
trigger:
- platform: device
domain: mqtt
device_id: f98caf4976befdcbf022ea4fb53daca9
type: action
subtype: single
discovery_id: 0x00124b002911fd81 action_single
condition: []
action:
- type: toggle
device_id: 544dcaefc66ff99fa215466ac53f8b81
entity_id: switch.tasmota_9
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: ''
trigger:
- platform: device
domain: mqtt
device_id: 7f769bef588101a6080412dd7702ba65
type: action
subtype: long
discovery_id: 0x00124b00291200f7 action_long
condition: []
action:
- type: turn_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
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
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: switch.0x30fb10fffe7562b1
domain: switch
- type: turn_off
device_id: ee4c386c52180c7b62ab5dcf466bf29a
entity_id: switch.0x60b647fffe53e205
domain: switch
- type: turn_off
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
entity_id: 9da021c8350628869cc5f36bc282f760
domain: switch
enabled: false
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
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: 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: 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
- condition: device
type: is_off
device_id: 24de64bd6b33c91e5b13136abefb5306
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
domain: switch
for:
hours: 0
minutes: 15
seconds: 0
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: false
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
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: ''
trigger:
- platform: sun
event: sunset
offset: '2000'
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
action:
- type: turn_on
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
mode: single
- id: '1714050591470'
alias: 'Leave auto on: batch 02'
description: ''
trigger:
- platform: sun
event: sunset
offset: '3000'
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
action:
- type: turn_on
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
- type: turn_on
device_id: e6953f6663d5c69ebf28495613f0c9a8
entity_id: 71853b8fd5f11334f701c3854a696437
domain: switch
mode: single
- id: '1714050658950'
alias: 'Leave auto off: batch 02'
description: ''
trigger:
- platform: sun
event: sunset
offset: '7000'
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
action:
- type: turn_off
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
entity_id: 410b385fae936b46a4da734b3344d3de
domain: switch
- type: turn_off
device_id: e6953f6663d5c69ebf28495613f0c9a8
entity_id: 71853b8fd5f11334f701c3854a696437
domain: switch
mode: single
- id: '1714050792139'
alias: 'Leave auto off: batch 01'
description: ''
trigger:
- platform: time
at: 00:12:00
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
action:
- 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: and
conditions:
- 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: time
after: 06:00:00
actions:
- 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: '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:
title: '[wazne] Alert wilgotnośći w Łazience - mokro! '
message: ''
action: notify.email_notification
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:
title: Alert wilgotnośći w Łazience - sucho
message: ''
action: notify.email_notification
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:
title: '[wazne] Alert wilgotnośći w Kuchni - mokro! '
message: ''
action: notify.email_notification
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:
title: Alert wilgotnośći w Kuchni - sucho
message: ''
action: notify.email_notification
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:
title: '[wazne] Alert wilgotnośći w Pralni - mokro! '
message: ''
action: notify.email_notification
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:
title: Alert wilgotnośći w Pralni - sucho
message: ''
action: notify.email_notification
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:
title: '[wazne] Alert wilgotnośći w WC - mokro! '
message: ''
action: notify.email_notification
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:
title: Alert wilgotnośći w WC - sucho
message: ''
action: notify.email_notification
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: 0
minutes: 20
seconds: 10
- type: not_occupied
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 15
seconds: 0
enabled: false
- type: not_occupied
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 15
seconds: 0
enabled: false
conditions:
- condition: and
conditions:
- type: is_not_occupied
condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
for:
hours: 0
minutes: 20
seconds: 0
- type: is_not_occupied
condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
entity_id: 584e49486e9e6257cf0fdc764cce39c6
domain: binary_sensor
for:
hours: 0
minutes: 15
seconds: 0
enabled: false
- type: is_not_occupied
condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
domain: binary_sensor
for:
hours: 0
minutes: 15
seconds: 0
enabled: false
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: time
after: '23:30:00'
before: 06:30:00
actions:
- type: turn_on
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
domain: light
flash: long
brightness_pct: 10
- type: turn_on
device_id: 1563a131149b8e2cecc7bf3cc21732d6
entity_id: 8c3f3da35672a02b677c789969bbea0a
domain: light
flash: long
brightness_pct: 20
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:
title: '[Ważne] Ruch na wejściu!'
message: ''
action: notify.email_notification
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:
title: '[Ważne] Ruch w sypialni!'
message: ''
action: notify.email_notification
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
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
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:
- 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:
title: Alert wysokiej temperatury w swiatlach w kuchni
message: ''
action: notify.email_notification
- 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: false
- type: turn_off
device_id: 7e3315293a049e4790df57aefe22a8a9
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
domain: switch
enabled: false
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:
- 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: 2
- type: occupied
device_id: eab0c037b800428a551b4966bcd335ed
entity_id: bcbdec4c0d2a8958fec5969e38261f07
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 2
- type: turn_on
device_id: 41b47f2cf5f589d00c82e31bab378437
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
domain: switch
- wait_for_trigger:
- type: occupied
device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
entity_id: 5f7a6976e73109acbce02cc2de11259e
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 2
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 listwa led nad blatem
description: ''
triggers:
- type: occupied
device_id: 5243fe178006af9adee15bacfc9bcadc
entity_id: de7a9e40d544ab51409925618ef14deb
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 3
conditions:
- condition: time
after: 06:30:00
before: '23:30:00'
- 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: 30
- 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
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