feat(ha): initial import of ken instance config

First production run of the api adapter against ken (192.168.31.7,
HAOS): 118 automations, 5 scripts, 3 scenes, 7 dashboards (default + 6
named — one registered dashboard was never configured, config_not_found,
reported not fatal), area/entity registries, and 5 input_* helper
domains present on this instance.
This commit is contained in:
oskar 2026-07-22 17:27:00 +02:00
parent 5b9111afa7
commit 1b48fad451
143 changed files with 98849 additions and 0 deletions

View file

@ -0,0 +1,13 @@
action:
- device_id: 5aef879a6eba9126f1f8d4b82b2901d9
domain: switch
entity_id: switch.tasmota_2
type: turn_off
alias: Mirror OFF
condition: []
description: ''
id: '1636926940918'
mode: single
trigger:
- at: '23:35:00'
platform: time

View file

@ -0,0 +1,16 @@
action:
- device_id: 5aef879a6eba9126f1f8d4b82b2901d9
domain: switch
entity_id: switch.tasmota_2
type: turn_on
alias: Mirror ON
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
description: ''
id: '1636927813132'
mode: single
trigger:
- at: 06:30:00
platform: time

View file

@ -0,0 +1,17 @@
action:
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: switch.tasmota
type: toggle
alias: '4b: 1_sc: Swiatlo nad kuchnia'
condition: []
description: ''
id: '1638571000879'
mode: single
trigger:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_1_single
domain: mqtt
platform: device
subtype: 1_single
type: action

View file

@ -0,0 +1,16 @@
actions:
- action: scene.turn_on
data: {}
target:
entity_id: scene.oczyszczacze_i_nawilzacze_on
alias: Oczyszczacze i nawilżacze ON
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
description: ''
id: '1638995650795'
mode: single
triggers:
- at: '18:00:00'
trigger: time

View file

@ -0,0 +1,12 @@
actions:
- action: scene.turn_on
target:
entity_id: scene.oczyszczacze_i_nawilzacze_off
alias: Oczyszczecze i nawilżacze OFF
conditions: []
description: ''
id: '1638997347944'
mode: single
triggers:
- at: 08:30:00
trigger: time

View file

@ -0,0 +1,17 @@
action:
- device_id: 14b4fc0f7965a219771dce24f7565b0e
domain: switch
entity_id: switch.tasmota_6
type: toggle
alias: Lampki biurkowe Tymka
condition: []
description: ''
id: '1639176886785'
mode: single
trigger:
- device_id: 306a6032b08584c04d6607be84c8a0b9
discovery_id: 0x60a423fffe80237f action_1_single
domain: mqtt
platform: device
subtype: 1_single
type: action

View file

@ -0,0 +1,17 @@
action:
- device_id: cbc1c7aed2268a93b84eb961c6b8ebed
domain: switch
entity_id: switch.tasmota_7
type: toggle
alias: Lampki biurkowe Helenki
condition: []
description: ''
id: '1639770269157'
mode: single
trigger:
- device_id: 69aca2b5d14d65a82f0d8c06e5c19b2d
discovery_id: 0x60a423fffe80378f action_1_single
domain: mqtt
platform: device
subtype: 1_single
type: action

View file

@ -0,0 +1,17 @@
actions:
- action: scene.turn_on
metadata: {}
target:
entity_id: scene.film
alias: '4b: 2_dc: Activate Scene Film'
conditions: []
description: ''
id: '1639832277655'
mode: single
triggers:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_2_double
domain: mqtt
subtype: 2_double
trigger: device
type: action

View file

@ -0,0 +1,17 @@
action:
- device_id: 51f1d994b9069372e4bfaa68a22c7f5e
domain: switch
entity_id: switch.tasmota_4
type: toggle
alias: Oczyszczacz i nawilżacz prze przycisk Helenki
condition: []
description: ''
id: '1640285003658'
mode: single
trigger:
- device_id: 69aca2b5d14d65a82f0d8c06e5c19b2d
discovery_id: 0x60a423fffe80378f action_1_hold
domain: mqtt
platform: device
subtype: 1_hold
type: action

View file

@ -0,0 +1,26 @@
action:
- device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: turn_on
- device_id: 91a10253ef20fbbef412ec0a3a0e32a8
domain: switch
entity_id: switch.gniazdko_xiaomi_2
type: turn_on
alias: Oczyszczacz i nawilżacz prze przycisk Tymka [ON]
condition:
- condition: device
device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: is_off
description: ''
id: '1640285211569'
mode: single
trigger:
- device_id: 306a6032b08584c04d6607be84c8a0b9
discovery_id: 0x60a423fffe80237f action_1_hold
domain: mqtt
platform: device
subtype: 1_hold
type: action

View file

@ -0,0 +1,26 @@
action:
- device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: turn_off
- device_id: 91a10253ef20fbbef412ec0a3a0e32a8
domain: switch
entity_id: switch.gniazdko_xiaomi_2
type: turn_off
alias: Oczyszczacz i nawilżacz prze przycisk Tymka [OFF]
condition:
- condition: device
device_id: e46ce02c6989f6c2cf774b7ec0ad3594
domain: fan
entity_id: fan.mi_air_purifier_3_3h
type: is_on
description: ''
id: '1640285276640'
mode: single
trigger:
- device_id: 306a6032b08584c04d6607be84c8a0b9
discovery_id: 0x60a423fffe80237f action_1_hold
domain: mqtt
platform: device
subtype: 1_hold
type: action

View file

@ -0,0 +1,17 @@
actions:
- action: scene.turn_on
data: {}
target:
entity_id: scene.oczyszczacze_i_nawilzacze_on
alias: '4b: 3_ho: Nawilżacze i oczyszczacze ON'
conditions: []
description: ''
id: '1642535641715'
mode: single
triggers:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_3_hold
domain: mqtt
subtype: 3_hold
trigger: device
type: action

View file

@ -0,0 +1,17 @@
actions:
- action: scene.turn_on
data: {}
target:
entity_id: scene.oczyszczacze_i_nawilzacze_off
alias: '4b: 4_ho: Nawilżacze i oczyszczacze OFF'
conditions: []
description: ''
id: '1642535682927'
mode: single
triggers:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_4_hold
domain: mqtt
subtype: 4_hold
trigger: device
type: action

View file

@ -0,0 +1,18 @@
action:
- device_id: 0ef237825c581afa12bf4ca72ec794d1
domain: switch
entity_id: switch.tasmota_10
type: turn_on
alias: Gniazdka w Łazience ON
condition:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
description: ''
id: '1664714688408'
mode: single
trigger:
- at: 07:00:00
platform: time
- at: '20:00:00'
platform: time

View file

@ -0,0 +1,21 @@
actions:
- device_id: 0ef237825c581afa12bf4ca72ec794d1
domain: switch
entity_id: switch.tasmota_10
type: turn_off
alias: Gniadka w Łazience OFF
conditions: []
description: ''
id: '1664715283066'
mode: single
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

View file

@ -0,0 +1,35 @@
action:
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
type: turn_off
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 8b057535afee03650424ee32c1f3ed97
type: turn_off
alias: Zasilanie multimediów auto-off
condition:
- condition: state
entity_id: media_player.samsung_q60_series_55
for:
hours: 0
milliseconds: 0
minutes: 1
seconds: 0
state: 'off'
- condition: state
entity_id: switch.tasmota_3
for:
hours: 0
milliseconds: 0
minutes: 10
seconds: 0
state: 'on'
description: ''
id: '1666471111199'
mode: single
trigger:
- hours: '*'
minutes: '*'
platform: time_pattern
seconds: '0'

View file

@ -0,0 +1,19 @@
action:
- delay:
hours: 0
milliseconds: 0
minutes: 2
seconds: 0
- device_id: 5aef879a6eba9126f1f8d4b82b2901d9
domain: switch
entity_id: switch.tasmota_2
type: turn_off
alias: Magic Mirror OFF on ACK
condition: []
description: ''
id: '1666731945441'
mode: single
trigger:
- payload: went-halt
platform: mqtt
topic: dom/pimirror-ack

View file

@ -0,0 +1,23 @@
actions:
- action: mqtt.publish
data:
payload: display_off
topic: dom/pimirror
alias: Magic Mirror Display Off Command
conditions:
- after: 06:35:00
before: '23:25:00'
condition: time
description: ''
id: '1666891422388'
mode: single
triggers:
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 0
minutes: 10
seconds: 0
trigger: device
type: not_occupied

View file

@ -0,0 +1,19 @@
actions:
- action: mqtt.publish
data:
payload: display_on
topic: dom/pimirror
alias: Magic Mirror Display On Command
conditions:
- after: 06:30:00
before: '23:30:00'
condition: time
description: ''
id: '1666891723803'
mode: single
triggers:
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
trigger: device
type: occupied

View file

@ -0,0 +1,56 @@
actions:
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: switch.tasmota
type: turn_on
alias: Swiatlo na wejscie do domu
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.passive_mode
state:
- 'off'
- after: sunset
condition: sun
- condition: state
entity_id: switch.tasmota
for:
hours: 0
milliseconds: 0
minutes: 10
seconds: 0
state: 'off'
- condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
for:
hours: 0
minutes: 10
seconds: 0
type: is_not_occupied
- condition: device
device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
type: is_off
description: ''
id: '1667065238690'
mode: single
triggers:
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 0
minutes: 0
seconds: 0
trigger: device
type: occupied

View file

@ -0,0 +1,17 @@
actions:
- device_id: e6953f6663d5c69ebf28495613f0c9a8
domain: switch
entity_id: 71853b8fd5f11334f701c3854a696437
type: toggle
alias: Sufit Tymka
conditions: []
description: ''
id: '1688488726062'
mode: single
triggers:
- device_id: 306a6032b08584c04d6607be84c8a0b9
discovery_id: 0x60a423fffe80237f action_2_single
domain: mqtt
subtype: 2_single
trigger: device
type: action

View file

@ -0,0 +1,17 @@
actions:
- device_id: 18be7f12c231653fd9487af9ccd5a51b
domain: switch
entity_id: 8ef43db3a5e5459514a34fc6253bac10
type: toggle
alias: Lampiki monitora z przycisku
conditions: []
description: ''
id: '1688731470897'
mode: single
triggers:
- device_id: f98caf4976befdcbf022ea4fb53daca9
discovery_id: 0x00124b002911fd81 action_single
domain: mqtt
subtype: single
trigger: device
type: action

View file

@ -0,0 +1,17 @@
action:
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: switch.tasmota
type: toggle
alias: '1b2: 1_sc: Swiatlo nad kuchnia'
condition: []
description: ''
id: '1689079101493'
mode: single
trigger:
- device_id: 7f769bef588101a6080412dd7702ba65
discovery_id: 0x00124b00291200f7 action_single
domain: mqtt
platform: device
subtype: single
type: action

View file

@ -0,0 +1,21 @@
action:
- device_id: 09b3f10c7ccb155f4e636ea80426a5a3
domain: switch
entity_id: 9da021c8350628869cc5f36bc282f760
type: turn_on
- device_id: 7e3315293a049e4790df57aefe22a8a9
domain: switch
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
type: turn_on
alias: '1b2: 1_dc: Choinka i lampki ON'
condition: []
description: ''
id: '1689079279480'
mode: single
trigger:
- device_id: 7f769bef588101a6080412dd7702ba65
discovery_id: 0x00124b00291200f7 action_double
domain: mqtt
platform: device
subtype: double
type: action

View file

@ -0,0 +1,25 @@
actions:
- device_id: 09b3f10c7ccb155f4e636ea80426a5a3
domain: switch
entity_id: 9da021c8350628869cc5f36bc282f760
type: turn_off
- device_id: 7e3315293a049e4790df57aefe22a8a9
domain: switch
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
type: turn_off
- device_id: 3ae84e7b8da1205247f68d24460fe60a
domain: switch
entity_id: fb369fa77f1002883f224eb57fedf290
type: turn_off
alias: '1b2: 1_ho: Choinka i lampki OFF'
conditions: []
description: ''
id: '1689079321508'
mode: single
triggers:
- device_id: 7f769bef588101a6080412dd7702ba65
discovery_id: 0x00124b00291200f7 action_long
domain: mqtt
subtype: long
trigger: device
type: action

View file

@ -0,0 +1,17 @@
actions:
- device_id: bd26cbbbd7d49089584272d66bc2fc37
domain: switch
entity_id: d7c9bd6c598aa889de0d6cba6370ded2
type: toggle
alias: Sufit Heli
conditions: []
description: ''
id: '1689088147520'
mode: single
triggers:
- device_id: 69aca2b5d14d65a82f0d8c06e5c19b2d
discovery_id: 0x60a423fffe80378f action_2_single
domain: mqtt
subtype: 2_single
trigger: device
type: action

View file

@ -0,0 +1,17 @@
actions:
- device_id: 861dd02144f2e934a66fcff5a3a693a0
domain: light
entity_id: 096254a886aa0a88aca4adcb08df36f5
type: toggle
alias: '4b: 2_sc: Ledy za tv'
conditions: []
description: ''
id: '1689098599932'
mode: single
triggers:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_2_single
domain: mqtt
subtype: 2_single
trigger: device
type: action

View file

@ -0,0 +1,17 @@
actions:
- device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
domain: switch
entity_id: 410b385fae936b46a4da734b3344d3de
type: toggle
alias: '4b: 3_sc: Salon 2x'
conditions: []
description: ''
id: '1689098657038'
mode: single
triggers:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_3_single
domain: mqtt
subtype: 3_single
trigger: device
type: action

View file

@ -0,0 +1,17 @@
actions:
- device_id: ee4c386c52180c7b62ab5dcf466bf29a
domain: switch
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
type: toggle
alias: '4b: 4_sc: Salon 3x'
conditions: []
description: ''
id: '1689098723477'
mode: single
triggers:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_4_single
domain: mqtt
subtype: 4_single
trigger: device
type: action

View file

@ -0,0 +1,21 @@
actions:
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
type: turn_on
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 8b057535afee03650424ee32c1f3ed97
type: turn_on
alias: '4b: 2_ho: Gniazdko tv'
conditions: []
description: ''
id: '1689099213729'
mode: single
triggers:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_2_hold
domain: mqtt
subtype: 2_hold
trigger: device
type: action

View file

@ -0,0 +1,34 @@
actions:
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: switch.tasmota
type: turn_off
- device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
domain: switch
entity_id: 410b385fae936b46a4da734b3344d3de
type: turn_off
- device_id: ee4c386c52180c7b62ab5dcf466bf29a
domain: switch
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
type: turn_off
- device_id: 09b3f10c7ccb155f4e636ea80426a5a3
domain: switch
enabled: true
entity_id: 9da021c8350628869cc5f36bc282f760
type: turn_off
- device_id: 7e3315293a049e4790df57aefe22a8a9
domain: switch
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
type: turn_off
- device_id: 3ae84e7b8da1205247f68d24460fe60a
domain: switch
entity_id: fb369fa77f1002883f224eb57fedf290
type: turn_off
alias: Turn off lights unconditionally at 3am
conditions: []
description: ''
id: '1700832676138'
mode: single
triggers:
- hours: '3'
trigger: time_pattern

View file

@ -0,0 +1,49 @@
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:
- data:
entity_id: media_player.salon_2
language: en
message: streaming voice now
service: tts.google_translate_say
- delay:
hours: 0
milliseconds: 0
minutes: 0
seconds: 3
- data: {}
service: tts.clear_cache
- data:
entity_id: media_player.salon_2
language: pl
message: '{{ states(''input_text.powiedz'') }}'
service: tts.google_translate_say
alias: Speak
condition: []
description: ''
id: '1700837302203'
mode: single
trigger:
- device_id: 17470b93f6b98452e39db3eb283bffbc
discovery_id: 0x60a423fffef6f701 action_1_double
domain: mqtt
platform: device
subtype: 1_double
type: action

View file

@ -0,0 +1,16 @@
action:
- data:
message: Tym jest
service: notify.mobile_app_le2123
alias: Przyjscie Tymka
condition: []
description: ''
id: '1701370240657'
mode: single
trigger:
- device_id: 0989c5ea2f0b5b002b598d9f8dca47ad
domain: device_tracker
entity_id: 77284c1101c6e25d58f6cecf9152ed24
platform: device
type: enters
zone: zone.home

View file

@ -0,0 +1,150 @@
actions:
- action: input_boolean.turn_on
data: {}
enabled: true
metadata: {}
target:
entity_id: input_boolean.sleep_mode
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: switch.tasmota
type: turn_off
- device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
domain: switch
entity_id: 410b385fae936b46a4da734b3344d3de
type: turn_off
- device_id: ee4c386c52180c7b62ab5dcf466bf29a
domain: switch
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
type: turn_off
- device_id: 09b3f10c7ccb155f4e636ea80426a5a3
domain: switch
enabled: true
entity_id: 9da021c8350628869cc5f36bc282f760
type: turn_off
- device_id: 7e3315293a049e4790df57aefe22a8a9
domain: switch
enabled: true
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
type: turn_off
- device_id: 3ae84e7b8da1205247f68d24460fe60a
domain: switch
entity_id: fb369fa77f1002883f224eb57fedf290
type: turn_off
alias: Turn off Lights after 23:30 if clear
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: input_boolean.movie_mode
state:
- 'off'
- condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
for:
hours: 0
minutes: 15
seconds: 0
type: is_not_occupied
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
domain: binary_sensor
entity_id: 5f7a6976e73109acbce02cc2de11259e
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
domain: binary_sensor
entity_id: 811364cf6eea576f867b737594e59f52
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: eab0c037b800428a551b4966bcd335ed
domain: binary_sensor
entity_id: bcbdec4c0d2a8958fec5969e38261f07
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: 441dcec55b364f4add736675e786a3c7
domain: binary_sensor
enabled: false
entity_id: 0a51f574cb49ac424c2e18a23eede114
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
for:
hours: 0
minutes: 15
seconds: 0
type: is_off
- condition: device
device_id: ee4c386c52180c7b62ab5dcf466bf29a
domain: switch
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
for:
hours: 0
minutes: 5
seconds: 0
type: is_off
- condition: not
conditions:
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_playing
- condition: or
conditions:
- after: '23:30:00'
before: 06:30:00
condition: time
- condition: state
entity_id: input_boolean.sleep_mode
for:
hours: 0
minutes: 0
seconds: 5
state:
- 'on'
description: ''
id: '1702844937214'
mode: single
triggers:
- minutes: / 5
trigger: time_pattern

View file

@ -0,0 +1,22 @@
action:
- device_id: bd26cbbbd7d49089584272d66bc2fc37
domain: switch
entity_id: d7c9bd6c598aa889de0d6cba6370ded2
type: turn_off
alias: Turn OFF Heli sufit
condition:
- condition: device
device_id: 236a4c9133fd8f0b581478114f3e3bd1
domain: binary_sensor
entity_id: 94d63d39b6640ecc3d585c3a02340347
for:
hours: 0
minutes: 10
seconds: 0
type: is_no_motion
description: ''
id: '1703104763868'
mode: single
trigger:
- minutes: / 5
platform: time_pattern

View file

@ -0,0 +1,22 @@
action:
- device_id: e6953f6663d5c69ebf28495613f0c9a8
domain: switch
entity_id: 71853b8fd5f11334f701c3854a696437
type: turn_off
alias: Turn OFF TYmka sufit
condition:
- condition: device
device_id: 66cf785a9b4e651998f507d5a72a434f
domain: binary_sensor
entity_id: 5d7ba9ccb6bd46c47e0f1464272168cf
for:
hours: 0
minutes: 10
seconds: 0
type: is_no_motion
description: ''
id: '1703104933437'
mode: single
trigger:
- minutes: / 5
platform: time_pattern

View file

@ -0,0 +1,19 @@
action:
- device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
type: turn_on
alias: Turn on prototyp w ubikacji
condition:
- after: sunset
before: sunrise
condition: sun
description: ''
id: '1704492239040'
mode: single
trigger:
- device_id: eab0c037b800428a551b4966bcd335ed
domain: binary_sensor
entity_id: bcbdec4c0d2a8958fec5969e38261f07
platform: device
type: motion

View file

@ -0,0 +1,16 @@
action:
- device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
type: turn_off
alias: Turn off prototyp w ubikacji
condition: []
description: ''
id: '1704492288312'
mode: single
trigger:
- device_id: eab0c037b800428a551b4966bcd335ed
domain: binary_sensor
entity_id: bcbdec4c0d2a8958fec5969e38261f07
platform: device
type: no_motion

View file

@ -0,0 +1,17 @@
actions:
- delay: '{{ range(300, 600) | random }}'
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
type: turn_on
alias: 'Leave auto on: batch 01'
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
description: ''
id: '1714049959227'
mode: single
triggers:
- event: sunset
trigger: sun

View file

@ -0,0 +1,30 @@
actions:
- delay: '{{ range(1800, 2400) | random }}'
- device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
domain: switch
entity_id: 410b385fae936b46a4da734b3344d3de
type: turn_on
- parallel:
- sequence:
- delay: '{{ range(300, 601) | random }}'
- device_id: 18be7f12c231653fd9487af9ccd5a51b
domain: switch
entity_id: 8ef43db3a5e5459514a34fc6253bac10
type: turn_on
- sequence:
- delay: '{{ range(300, 601) | random }}'
- device_id: e6953f6663d5c69ebf28495613f0c9a8
domain: switch
entity_id: 71853b8fd5f11334f701c3854a696437
type: turn_on
alias: 'Leave auto on: batch 02'
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
description: ''
id: '1714050591470'
mode: single
triggers:
- event: sunset
trigger: sun

View file

@ -0,0 +1,31 @@
actions:
- parallel:
- sequence:
- delay: '{{ range(300, 601) | random }}'
- device_id: e6953f6663d5c69ebf28495613f0c9a8
domain: switch
entity_id: 71853b8fd5f11334f701c3854a696437
type: turn_off
- sequence:
- delay: '{{ range(900, 2000) | random }}'
- device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
domain: switch
entity_id: 410b385fae936b46a4da734b3344d3de
type: turn_off
- sequence:
- delay: '{{ range(900, 2000) | random }}'
- device_id: 18be7f12c231653fd9487af9ccd5a51b
domain: switch
entity_id: 8ef43db3a5e5459514a34fc6253bac10
type: turn_off
alias: 'Leave auto off: batch 02'
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
description: ''
id: '1714050658950'
mode: single
triggers:
- at: '23:00:00'
trigger: time

View file

@ -0,0 +1,17 @@
actions:
- delay: '{{ range(600, 1800) | random }}'
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
type: turn_off
alias: 'Leave auto off: batch 01'
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
description: ''
id: '1714050792139'
mode: single
triggers:
- at: '23:45:00'
trigger: time

View file

@ -0,0 +1,17 @@
actions:
- device_id: cbc1c7aed2268a93b84eb961c6b8ebed
domain: switch
entity_id: e7a9704e6145f956ecc8609eae03ebb0
type: turn_off
alias: Turn off lampki biurkowe Helenki
conditions: []
description: ''
id: '1730152629450'
mode: single
triggers:
- at: 01:00:00
trigger: time
- at: 02:00:00
trigger: time
- at: 03:00:00
trigger: time

View file

@ -0,0 +1,40 @@
actions:
- device_id: 09b3f10c7ccb155f4e636ea80426a5a3
domain: switch
entity_id: 9da021c8350628869cc5f36bc282f760
type: turn_on
- device_id: 7e3315293a049e4790df57aefe22a8a9
domain: switch
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
type: turn_on
- device_id: 3ae84e7b8da1205247f68d24460fe60a
domain: switch
entity_id: fb369fa77f1002883f224eb57fedf290
type: turn_on
alias: Turn ON Choinka na wejscie
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.passive_mode
state:
- 'off'
- condition: state
entity_id: input_boolean.movie_mode
state:
- 'off'
description: ''
id: '1734943824257'
mode: single
triggers:
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
trigger: device
type: occupied

View file

@ -0,0 +1,33 @@
actions:
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 5f738065e2d6c1c244a33fea4a8b4aaa
type: turn_off
alias: Turn off pigry power
conditions:
- condition: and
conditions:
- condition: device
device_id: bd22cacffbbf0c97a9ef33dab987b890
domain: binary_sensor
entity_id: 7614d2254b0b764d385ba273990ae559
for:
hours: 0
minutes: 3
seconds: 0
type: is_not_connected
- condition: state
entity_id: switch.tasmota_tasmota3
for:
hours: 0
minutes: 6
seconds: 0
state: 'on'
description: ''
id: '1744918189114'
mode: single
triggers:
- hours: '*'
minutes: '*'
seconds: '0'
trigger: time_pattern

View file

@ -0,0 +1,11 @@
actions:
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 5f738065e2d6c1c244a33fea4a8b4aaa
type: turn_on
alias: Turn on pigry wo trigger
conditions: []
description: ''
id: '1744918520715'
mode: single
triggers: []

View file

@ -0,0 +1,33 @@
actions:
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: 242582c1c93c5625129c90f888499fc7
type: turn_off
alias: Turn off piplayer power
conditions:
- condition: and
conditions:
- condition: device
device_id: 7eb1d0285898a07e62fb959f3cffda68
domain: binary_sensor
entity_id: a752fc33615b016173772b2930ec8bae
for:
hours: 0
minutes: 3
seconds: 0
type: is_not_connected
- condition: state
entity_id: switch.tasmota_tasmota2_2
for:
hours: 0
minutes: 6
seconds: 0
state: 'on'
description: ''
id: '1744919280479'
mode: single
triggers:
- hours: '*'
minutes: '*'
seconds: '15'
trigger: time_pattern

View file

@ -0,0 +1,29 @@
actions:
- action: shell_command.piplayer_shutdown
data: {}
alias: Shutdown piplayer when wzmaczniacz is off
conditions:
- condition: and
conditions:
- condition: state
entity_id: switch.tasmota_13
for:
hours: 0
minutes: 6
seconds: 0
state: 'off'
- condition: state
entity_id: binary_sensor.192_168_31_6
for:
hours: 0
minutes: 5
seconds: 0
state: 'on'
description: ''
id: '1744919746930'
mode: single
triggers:
- hours: '*'
minutes: '*'
seconds: '45'
trigger: time_pattern

View file

@ -0,0 +1,29 @@
actions:
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: 242582c1c93c5625129c90f888499fc7
type: turn_on
alias: turn on piplayer when wzmacniacz is on
conditions:
- condition: device
device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: 242582c1c93c5625129c90f888499fc7
for:
hours: 0
minutes: 0
seconds: 1
type: is_off
description: ''
id: '1744920086507'
mode: single
triggers:
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
for:
hours: 0
minutes: 0
seconds: 1
trigger: device
type: turned_on

View file

@ -0,0 +1,26 @@
actions:
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
type: turn_off
alias: Turn off Stereo when idle for night
conditions:
- after: '23:30:00'
condition: time
description: ''
id: '1744976289447'
mode: single
triggers:
- entity_id:
- media_player.stereo_salon
for:
hours: 0
minutes: 15
seconds: 0
to:
- idle
- 'off'
- paused
- unavailable
- unknown
trigger: state

View file

@ -0,0 +1,20 @@
actions:
- action: device_tracker.see
data:
dev_id: oskar
gps:
- '{{ state_attr(''sensor.owntracks_last_location'', ''lat'') | float }}'
- '{{ state_attr(''sensor.owntracks_last_location'', ''lon'') | float }}'
gps_accuracy: 10
host_name: Oskar
alias: Aktualizuj lokalizację Oskar
conditions:
- condition: template
value_template: '{{ state_attr(''sensor.owntracks_last_location'', ''lat'') is not none }}
'
description: ''
id: '1751307777881'
triggers:
- entity_id: sensor.owntracks_last_location
trigger: state

View file

@ -0,0 +1,19 @@
actions:
- brightness_pct: 100
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
flash: short
type: turn_on
alias: Led nad blatem z przycisku
conditions: []
description: ''
id: '1751481648978'
mode: single
triggers:
- device_id: ca1730830137df603b6a92d8ee477737
domain: mqtt
metadata: {}
subtype: single
trigger: device
type: action

View file

@ -0,0 +1,28 @@
actions:
- brightness_pct: 100
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
flash: short
type: turn_on
alias: Turn on led nad małym blatem
conditions:
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
type: is_occupied
- after: 06:30:00
before: '23:30:00'
condition: time
description: ''
id: '1751562309715'
mode: single
triggers:
- device_id: dd84e859ed748c2cd3ede0f6d449f76a
domain: binary_sensor
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
metadata:
secondary: false
trigger: device
type: occupied

View file

@ -0,0 +1,93 @@
actions:
- device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 14c5e58a6d12901c7c05baab106b14e8
flash: short
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 76120f91e56e920444702be8f6209128
flash: short
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
flash: short
type: turn_off
alias: Turn off lights in Kuchnia
conditions:
- condition: device
device_id: dd84e859ed748c2cd3ede0f6d449f76a
domain: binary_sensor
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
for:
hours: 0
minutes: 0
seconds: 45
type: is_not_occupied
- condition: device
device_id: add7de553d974e3a239f0dd5ccf09e9c
domain: binary_sensor
entity_id: c73157dbd447be635eb817a247126303
for:
hours: 0
minutes: 0
seconds: 45
type: is_not_occupied
- condition: device
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: binary_sensor
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
for:
hours: 0
minutes: 0
seconds: 45
type: is_no_motion
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 0
seconds: 45
type: is_not_occupied
description: ''
id: '1751562415786'
mode: single
triggers:
- device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 0
seconds: 50
trigger: device
type: not_occupied
- device_id: add7de553d974e3a239f0dd5ccf09e9c
domain: binary_sensor
entity_id: c73157dbd447be635eb817a247126303
for:
hours: 0
minutes: 0
seconds: 50
trigger: device
type: not_occupied
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: binary_sensor
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
for:
hours: 0
minutes: 0
seconds: 50
trigger: device
type: no_motion
- minutes: /5
trigger: time_pattern
- at: '23:30:02'
trigger: time

View file

@ -0,0 +1,21 @@
actions:
- action: script.notify_email_ntfy
data:
message: '[wazne] Alert wilgotnośći w Łazience - mokro! '
alias: email on water sensor moist in Lazienka
conditions: []
description: ''
id: '1752085825116'
mode: single
triggers:
- device_id: d8996ce77b7132ab2e76f3ad03890fe6
domain: binary_sensor
entity_id: e4d805ae6cbec0fdcffef148745799f1
for:
hours: 0
minutes: 0
seconds: 10
metadata:
secondary: false
trigger: device
type: moist

View file

@ -0,0 +1,19 @@
actions:
- action: script.notify_email_ntfy
data:
mesaage: Alert wilgotnośći w Łazience - sucho
alias: email on water sensor dry in Lazienka
conditions: []
description: ''
id: '1752085965483'
mode: single
triggers:
- device_id: d8996ce77b7132ab2e76f3ad03890fe6
domain: binary_sensor
entity_id: e4d805ae6cbec0fdcffef148745799f1
for:
hours: 0
minutes: 0
seconds: 10
trigger: device
type: not_moist

View file

@ -0,0 +1,19 @@
actions:
- action: script.notify_email_ntfy
data:
message: '[wazne] Alert wilgotnośći w Kuchni - mokro! '
alias: email on water sensor moist in Kuchnia
conditions: []
description: ''
id: '1752086343222'
mode: single
triggers:
- device_id: 8183dab9f34b240017bce54ebe9b0622
domain: binary_sensor
entity_id: e037c3ef22ff7fd1647052c46e51dcd1
for:
hours: 0
minutes: 0
seconds: 10
trigger: device
type: moist

View file

@ -0,0 +1,19 @@
actions:
- action: script.notify_email_ntfy
data:
message: Alert wilgotnośći w Kuchni - sucho
alias: email on water sensor dry in Kuchnia
conditions: []
description: ''
id: '1752086407230'
mode: single
triggers:
- device_id: 8183dab9f34b240017bce54ebe9b0622
domain: binary_sensor
entity_id: e037c3ef22ff7fd1647052c46e51dcd1
for:
hours: 0
minutes: 0
seconds: 10
trigger: device
type: moist

View file

@ -0,0 +1,19 @@
actions:
- action: script.notify_email_ntfy
data:
message: '[wazne] Alert wilgotnośći w Pralni - mokro! '
alias: email on water sensor moist in Pralni
conditions: []
description: ''
id: '1752086440028'
mode: single
triggers:
- device_id: 62a045d4baf76120b1c73a3c5bb1b3dd
domain: binary_sensor
entity_id: c5f14ddee29c7b3e10298c3a6f950b20
for:
hours: 0
minutes: 0
seconds: 10
trigger: device
type: moist

View file

@ -0,0 +1,19 @@
actions:
- action: script.notify_email_ntfy
data:
message: Alert wilgotnośći w Pralni - sucho
alias: email on water sensor dry in Pralnia
conditions: []
description: ''
id: '1752086490569'
mode: single
triggers:
- device_id: 62a045d4baf76120b1c73a3c5bb1b3dd
domain: binary_sensor
entity_id: c5f14ddee29c7b3e10298c3a6f950b20
for:
hours: 0
minutes: 0
seconds: 10
trigger: device
type: not_moist

View file

@ -0,0 +1,19 @@
actions:
- action: script.notify_email_ntfy
data:
message: '[wazne] Alert wilgotnośći w WC - mokro! '
alias: email on water sensor moist in WC
conditions: []
description: ''
id: '1752086527168'
mode: single
triggers:
- device_id: ccd128b7eb1779b3718e518f3d0bea1c
domain: binary_sensor
entity_id: 833b4953c5ff63ce5adab6832b522c74
for:
hours: 0
minutes: 0
seconds: 10
trigger: device
type: moist

View file

@ -0,0 +1,19 @@
actions:
- action: script.notify_email_ntfy
data:
message: Alert wilgotnośći w WC - sucho
alias: email on water sensor dry in WC
conditions: []
description: ''
id: '1752086563805'
mode: single
triggers:
- device_id: ccd128b7eb1779b3718e518f3d0bea1c
domain: binary_sensor
entity_id: 833b4953c5ff63ce5adab6832b522c74
for:
hours: 0
minutes: 0
seconds: 10
trigger: device
type: not_moist

View file

@ -0,0 +1,28 @@
actions:
- action: mqtt.publish
data:
evaluate_payload: false
payload: display_on
qos: '2'
retain: false
topic: dom/pimirror
metadata: {}
- delay:
hours: 0
milliseconds: 0
minutes: 0
seconds: 1
- action: tts.speak
data:
cache: false
language: pl_PL
media_player_entity_id: media_player.pimirror2_2
message: '{{ states(''input_text.powiedz'') }}'
target:
entity_id: tts.piper
alias: speak_mirror
conditions: []
description: ''
id: '1752241538293'
mode: single
triggers: []

View file

@ -0,0 +1,13 @@
actions:
- action: tts.piper_say
data:
entity_id: media_player.pimirror2_2
message: 'Witaj w domu, Jan. Temperatura w salonie wynosi {{ states(''sensor.temperature_salon'') }} stopni Celsjusza.
'
alias: test test Powitanie głosowe po powrocie do domu
conditions: []
description: Używa Piper do odtworzenia powitania
id: '1752241986989'
mode: single
triggers: []

View file

@ -0,0 +1,36 @@
actions:
- device_id: b900bfbc69f75b12d4b9e5eb5040d091
domain: switch
entity_id: 20fd8583b408c8ecc6b35c986b2a7376
type: turn_on
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: switch
entity_id: c9f326d0cb994766e5f3393aa5a48a58
type: turn_on
alias: Turn on led zasilanie w Kuchni
conditions: []
description: ''
id: '1752607459405'
mode: single
triggers:
- device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 0
seconds: 1
trigger: device
type: occupied
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
enabled: false
entity_id: 584e49486e9e6257cf0fdc764cce39c6
trigger: device
type: occupied
- device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
enabled: false
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
trigger: device
type: occupied

View file

@ -0,0 +1,86 @@
actions:
- action: automation.trigger
data:
skip_condition: true
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchnia_from_buttons
- delay:
hours: 0
milliseconds: 0
minutes: 0
seconds: 2
- device_id: b900bfbc69f75b12d4b9e5eb5040d091
domain: switch
entity_id: 20fd8583b408c8ecc6b35c986b2a7376
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: switch
entity_id: c9f326d0cb994766e5f3393aa5a48a58
type: turn_off
alias: Turn off led zasilanie w Kuchni
conditions:
- condition: and
conditions:
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 2
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
enabled: true
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 2
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
enabled: true
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
for:
hours: 2
minutes: 0
seconds: 0
type: is_not_occupied
description: ''
id: '1752607597518'
mode: single
triggers:
- device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 2
minutes: 0
seconds: 1
trigger: device
type: not_occupied
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
enabled: true
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 2
minutes: 0
seconds: 1
trigger: device
type: not_occupied
- device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
enabled: true
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
for:
hours: 2
minutes: 0
seconds: 1
trigger: device
type: not_occupied

View file

@ -0,0 +1,94 @@
actions:
- brightness_pct: 1
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
flash: long
type: turn_on
- brightness_pct: 5
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
flash: long
type: turn_on
- action: counter.reset
data: {}
metadata: {}
target:
entity_id: counter.counter_for_lights_kuchnia_to_turn_off
- repeat:
sequence:
- delay:
hours: 0
milliseconds: 0
minutes: 0
seconds: 5
- action: counter.increment
data: {}
metadata: {}
target:
entity_id: counter.counter_for_lights_kuchnia_to_turn_off
while:
- condition: or
conditions:
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
type: is_occupied
- condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
type: is_occupied
- condition: device
device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
domain: binary_sensor
entity_id: 5f7a6976e73109acbce02cc2de11259e
type: is_occupied
- below: 30
condition: numeric_state
entity_id: counter.counter_for_lights_kuchnia_to_turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
type: turn_off
- device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
type: turn_off
alias: Turn on led nad blatem at night
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'
description: ''
id: '1752607981051'
mode: single
triggers:
- device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
trigger: device
type: occupied
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
trigger: device
type: occupied
- device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
domain: binary_sensor
entity_id: 5f7a6976e73109acbce02cc2de11259e
trigger: device
type: occupied

View file

@ -0,0 +1,24 @@
actions:
- action: rest_command.send_temperature_to_magicmirror
data:
humidity_sensor: sensor.thTuyabalkon_humidity
sensor_id: '2'
temperature_sensor: sensor.thTuyabalkon_temperature
- action: rest_command.send_temperature_to_magicmirror
data:
humidity_sensor: sensor.thSalon_humidity
sensor_id: '5'
temperature_sensor: sensor.thsalon_temperature
- action: rest_command.send_temperature_to_magicmirror
data:
humidity_sensor: sensor.thsypialnia_humidity
sensor_id: '4'
temperature_sensor: sensor.thsypialnia_temperature
alias: Send balkon temp to mm
conditions: []
description: ''
id: '1753193288169'
mode: single
triggers:
- minutes: /1
trigger: time_pattern

View file

@ -0,0 +1,18 @@
actions:
- action: script.notify_email_ntfy
data:
message: '[Ważne] Ruch na wejściu!'
alias: email on move in hall when on leave
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
description: ''
id: '1753431022365'
mode: single
triggers:
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
trigger: device
type: occupied

View file

@ -0,0 +1,18 @@
actions:
- action: script.notify_email_ntfy
data:
message: '[Ważne] Ruch w sypialni!'
alias: email on move in sypialnia when on leave
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'on'
description: ''
id: '1753883109847'
mode: single
triggers:
- device_id: 441dcec55b364f4add736675e786a3c7
domain: binary_sensor
entity_id: 0a51f574cb49ac424c2e18a23eede114
trigger: device
type: occupied

View file

@ -0,0 +1,16 @@
actions:
- action: notify.email_notification
data:
message: ''
title: Router w sypialni dawno nie widziany
alias: Notify on router sypialnia is away for too long
conditions:
- above: 5
condition: numeric_state
entity_id: sensor.routerheli_last_seen
description: ''
id: '1760432474594'
mode: single
triggers:
- minutes: /1
trigger: time_pattern

View file

@ -0,0 +1,17 @@
actions:
- device_id: 1680890093c2a42b378ebaa2533975ba
domain: switch
entity_id: 8d17915d657045d28e909af10d096046
type: toggle
alias: Toogle Blat w Pralni
conditions: []
description: ''
id: '1760991940508'
mode: single
triggers:
- device_id: 9b4bc7787b561456a4e4429a18dde04c
domain: mqtt
metadata: {}
subtype: single
trigger: device
type: action

View file

@ -0,0 +1,20 @@
actions:
- device_id: 1680890093c2a42b378ebaa2533975ba
domain: switch
entity_id: 8d17915d657045d28e909af10d096046
type: turn_on
alias: Turn ON blat w Pralnia on MD
conditions: []
description: ''
id: '1760992206112'
mode: single
triggers:
- device_id: ac935bebc149d84f6e766f93222a8752
domain: binary_sensor
entity_id: 601b877773a3a1c13b0b5848187ba7be
for:
hours: 0
minutes: 0
seconds: 0
trigger: device
type: occupied

View file

@ -0,0 +1,20 @@
actions:
- device_id: 1680890093c2a42b378ebaa2533975ba
domain: switch
entity_id: 8d17915d657045d28e909af10d096046
type: turn_off
alias: Turn OFF blat w Pralnia on MD
conditions: []
description: ''
id: '1760992336523'
mode: single
triggers:
- device_id: ac935bebc149d84f6e766f93222a8752
domain: binary_sensor
entity_id: 601b877773a3a1c13b0b5848187ba7be
for:
hours: 0
minutes: 1
seconds: 0
trigger: device
type: not_occupied

View file

@ -0,0 +1,22 @@
actions:
- action: automation.toggle
data: {}
metadata: {}
target:
entity_id: automation.turn_off_blat_w_pralnia_on_md_2
- action: automation.toggle
data: {}
metadata: {}
target:
entity_id: automation.turn_off_blat_w_pralnia_on_md
alias: Toogle turn on/off automation for Blat in Pralnia on MD
conditions: []
description: ''
id: '1760992440280'
mode: single
triggers:
- device_id: 9b4bc7787b561456a4e4429a18dde04c
domain: mqtt
subtype: double
trigger: device
type: action

View file

@ -0,0 +1,15 @@
actions:
- action: xiaomi_miot.set_property
data:
field: air_purifier.mode
value: silent
target:
entity_id: fan.zhimi_mc2_c369_air_purifier
alias: Oczyszcza w tryb nocny
conditions: []
description: ''
id: '1761038411219'
mode: single
triggers:
- at: '23:30:00'
trigger: time

View file

@ -0,0 +1,36 @@
actions:
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_2
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_3
alias: Turn on led nad blatem duzym prawym
conditions:
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 0
seconds: 1
type: is_occupied
- after: 06:30:00
before: '23:30:00'
condition: time
description: ''
id: '1762808459816'
mode: single
triggers:
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: binary_sensor
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
trigger: device
type: motion

View file

@ -0,0 +1,48 @@
actions:
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_1
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_3
alias: Turn on led nad blatem duzym lewym
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: state
entity_id: input_boolean.sleep_mode
state:
- 'off'
- after: 06:30:00
before: '23:30:00'
condition: time
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 0
seconds: 0
type: is_occupied
description: ''
id: '1762809633535'
mode: single
triggers:
- device_id: add7de553d974e3a239f0dd5ccf09e9c
domain: binary_sensor
entity_id: c73157dbd447be635eb817a247126303
for:
hours: 0
minutes: 0
seconds: 0
trigger: device
type: occupied

View file

@ -0,0 +1,20 @@
actions:
- action: automation.trigger
data:
skip_condition: true
metadata: {}
target:
entity_id:
- automation.xxxxxx
- automation.turn_on_led_nad_blatem_duzym_lewym
alias: Led nad blatem duzym z przycisku
conditions: []
description: ''
id: '1762811262999'
mode: single
triggers:
- device_id: b68467fabc45ab20d537567784853cc9
domain: mqtt
subtype: single
trigger: device
type: action

View file

@ -0,0 +1,41 @@
actions:
- device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 14c5e58a6d12901c7c05baab106b14e8
flash: short
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 76120f91e56e920444702be8f6209128
flash: short
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
flash: short
type: turn_off
- action: automation.turn_on
data: {}
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
alias: Turn off lights in Kuchnia from Buttons
conditions: []
description: ''
id: '1762812121938'
mode: single
triggers:
- device_id: ca1730830137df603b6a92d8ee477737
domain: mqtt
subtype: long
trigger: device
type: action
- device_id: b68467fabc45ab20d537567784853cc9
domain: mqtt
subtype: hold
trigger: device
type: action

View file

@ -0,0 +1,78 @@
actions:
- action: light.turn_off
data:
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_1
- action: light.turn_off
data:
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_2
- action: light.turn_on
data:
brightness_pct: 30
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_3
- action: script.notify_email_ntfy
data:
message: Alert wysokiej temperatury w swiatlach w kuchni
- action: rest_command.ntfy_send
data:
message: Alert wysokiej temperatury w swiatlach w kuchni
- action: automation.turn_on
data: {}
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
- action: input_number.set_value
data:
value: 50
metadata: {}
target:
entity_id:
- input_number.jasnosc_led_nad_duzym_blatem
- action: input_number.set_value
data:
value: 70
metadata: {}
target:
entity_id: input_number.jasnosc_listwy_led_nad_duzym_blatem
- delay: '00:00:00.2'
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_3
- action: input_text.set_value
data:
value: Temperatura transformatora światła w kuchni nad dużym blatem wzrosła za bardzo. Zmniejszam jasność!
metadata: {}
target:
entity_id: input_text.alert_text
- action: automation.trigger
data:
skip_condition: true
metadata: {}
target:
entity_id: automation.speaker_mirror_alert_text
alias: ALERT on temp above given
conditions: []
description: ''
id: '1762813664935'
mode: single
triggers:
- above: 55
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: sensor
entity_id: ff490fbe6c31081b7cd4b3968e168c90
for:
hours: 0
minutes: 0
seconds: 15
metadata:
secondary: false
trigger: device
type: temperature

View file

@ -0,0 +1,77 @@
actions:
- action: automation.turn_off
data: {}
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
- brightness_pct: 30
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 76120f91e56e920444702be8f6209128
flash: long
type: turn_on
- delay: '00:00:00.3'
- brightness_pct: 30
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
flash: long
type: turn_on
- delay: '00:00:00.3'
- brightness_pct: 30
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 14c5e58a6d12901c7c05baab106b14e8
flash: long
type: turn_on
- delay: '00:00:00.3'
- brightness_pct: 30
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
flash: long
type: turn_on
- delay: '00:00:00.3'
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_2
- delay: '00:00:00.3'
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_listwy_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_3
- delay: '00:00:00.3'
- action: light.turn_on
data:
brightness_pct: '{{ states(''input_number.jasnosc_led_nad_duzym_blatem'') | int(0) }}'
transition: 0.5
target:
entity_id: light.led3xdrv_led_pwm_1
- delay: '00:00:00.3'
- brightness_pct: 100
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
flash: long
type: turn_on
alias: Disable AUTO off lights in Kuchnia
conditions: []
description: ''
id: '1762952673833'
mode: single
triggers:
- device_id: ca1730830137df603b6a92d8ee477737
domain: mqtt
subtype: double
trigger: device
type: action
- device_id: b68467fabc45ab20d537567784853cc9
domain: mqtt
subtype: double
trigger: device
type: action

View file

@ -0,0 +1,14 @@
actions:
- action: automation.turn_on
data: {}
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
alias: Activate AUTO off lights in Kuchnia at 23:30
conditions: []
description: ''
id: '1762954145724'
mode: single
triggers:
- at: '23:30:00'
trigger: time

View file

@ -0,0 +1,41 @@
actions:
- action: automation.turn_on
data: {}
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
alias: Activate AUTO off lights in Kuchnia after 1h
conditions:
- condition: device
device_id: dd84e859ed748c2cd3ede0f6d449f76a
domain: binary_sensor
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
for:
hours: 0
minutes: 55
seconds: 0
type: is_not_occupied
- condition: device
device_id: add7de553d974e3a239f0dd5ccf09e9c
domain: binary_sensor
entity_id: c73157dbd447be635eb817a247126303
for:
hours: 0
minutes: 55
seconds: 0
type: is_not_occupied
- condition: device
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: binary_sensor
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
for:
hours: 0
minutes: 55
seconds: 0
type: is_no_motion
description: ''
id: '1763383792516'
mode: single
triggers:
- minutes: /10
trigger: time_pattern

View file

@ -0,0 +1,86 @@
actions:
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: switch.tasmota
type: turn_off
- device_id: 09b3f10c7ccb155f4e636ea80426a5a3
domain: switch
enabled: true
entity_id: 9da021c8350628869cc5f36bc282f760
type: turn_off
- device_id: 7e3315293a049e4790df57aefe22a8a9
domain: switch
enabled: true
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
type: turn_off
- device_id: 3ae84e7b8da1205247f68d24460fe60a
domain: switch
entity_id: fb369fa77f1002883f224eb57fedf290
type: turn_off
alias: Turn off Swiatlo na Kuchnia after 23:30 if clear
conditions:
- after: '23:30:00'
before: 06:30:00
condition: time
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: binary_sensor.0x8c65a3fffeea673a_occupancy
for:
hours: 0
minutes: 5
seconds: 0
state:
- 'off'
- condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 5
seconds: 0
type: is_not_occupied
- condition: device
device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
for:
hours: 0
minutes: 5
seconds: 0
type: is_off
- condition: device
device_id: 7b4293037a4bb8dd9362b7b76d6dedcf
domain: switch
entity_id: 410b385fae936b46a4da734b3344d3de
for:
hours: 0
minutes: 5
seconds: 0
type: is_off
- condition: device
device_id: ee4c386c52180c7b62ab5dcf466bf29a
domain: switch
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
for:
hours: 0
minutes: 5
seconds: 0
type: is_off
description: ''
id: '1763384250145'
mode: restart
triggers:
- minutes: / 3
trigger: time_pattern

View file

@ -0,0 +1,36 @@
actions:
- action: mqtt.publish
data:
evaluate_payload: false
payload: display_on
qos: '2'
retain: false
topic: dom/pimirror
metadata: {}
- delay:
hours: 0
milliseconds: 0
minutes: 0
seconds: 1
- action: tts.speak
data:
cache: false
language: pl_PL
media_player_entity_id: media_player.pimirror2_2
message: Uwaga!
target:
entity_id: tts.piper
- action: tts.speak
data:
cache: false
language: pl_PL
media_player_entity_id: media_player.pimirror2_2
message: '{{ states(''input_text.alert_text'') }}'
target:
entity_id: tts.piper
alias: speak_mirror_alert
conditions: []
description: ''
id: '1763384814069'
mode: single
triggers: []

View file

@ -0,0 +1,143 @@
actions:
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
type: turn_on
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: switch
entity_id: c9f326d0cb994766e5f3393aa5a48a58
type: turn_on
- action: input_text.set_value
data:
value: Hejka! Miłego dnia.
metadata: {}
target:
entity_id: input_text.powiedz
- parallel:
- sequence:
- wait_for_trigger:
- device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
domain: binary_sensor
entity_id: 811364cf6eea576f867b737594e59f52
for:
hours: 0
minutes: 0
seconds: 0
trigger: device
type: occupied
- device_id: eab0c037b800428a551b4966bcd335ed
domain: binary_sensor
entity_id: bcbdec4c0d2a8958fec5969e38261f07
for:
hours: 0
minutes: 0
seconds: 0
trigger: device
type: occupied
- device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
domain: binary_sensor
entity_id: 5f7a6976e73109acbce02cc2de11259e
for:
hours: 0
minutes: 0
seconds: 0
trigger: device
type: occupied
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
type: turn_on
- timeout:
hours: 1
milliseconds: 0
minutes: 0
seconds: 0
wait_for_trigger:
- device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 0
minutes: 0
seconds: 0
trigger: device
type: occupied
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: switch
entity_id: c9f326d0cb994766e5f3393aa5a48a58
type: turn_on
- action: automation.trigger
data:
skip_condition: true
metadata: {}
target:
entity_id: automation.speak_mirror
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
type: turn_on
- action: automation.trigger
data:
skip_condition: true
metadata: {}
target:
entity_id: automation.turn_on_led_nad_blatem_1_as_night
- action: media_player.play_media
data:
media:
media_content_id: 9ae88635.0
media_content_type: favorite
metadata:
browse_entity_id: media_player.stereo_salon
children_media_class:
media_class: track
navigateIds:
- {}
- media_content_id: favorites
media_content_type: favorites
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
title: Radio 357
metadata: {}
target:
entity_id: media_player.stereo_salon
- action: automation.turn_off
data:
stop_actions: true
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
- action: automation.trigger
data:
skip_condition: true
metadata: {}
target:
entity_id: automation.poranek_stop
alias: Poranek start
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: input_boolean.poranek
state:
- 'on'
description: ''
id: '1763386155895'
mode: single
triggers:
- at: 06:42:00
trigger: time
weekday:
- mon
- tue
- wed
- thu
- fri
- at: 08:32:00
trigger: time
weekday:
- sat
- at: 09:00:00
trigger: time
weekday:
- sun

View file

@ -0,0 +1,48 @@
actions:
- delay:
hours: 0
milliseconds: 0
minutes: 15
seconds: 0
- action: automation.turn_on
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
- action: automation.trigger
data:
skip_condition: true
metadata: {}
target:
entity_id: automation.new_automation_3
- timeout:
hours: 2
milliseconds: 0
minutes: 0
seconds: 0
wait_for_trigger:
- entity_id:
- media_player.stereo_salon
for:
hours: 0
minutes: 10
seconds: 0
to:
- idle
trigger: state
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
type: turn_off
alias: Poranek stop
conditions:
- condition: state
entity_id: input_boolean.on_leave
state: 'off'
- condition: state
entity_id: input_boolean.poranek
state:
- 'on'
description: ''
id: '1763393244259'
mode: single
triggers: []

View file

@ -0,0 +1,49 @@
actions:
- brightness_pct: 55
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
flash: long
type: turn_on
- brightness_pct: 15
device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
flash: long
type: turn_on
alias: Turn on led nad blatem duzym i malym
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
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
type: is_off
description: ''
id: '1763394497486'
mode: single
triggers:
- device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 0
seconds: 3
trigger: device
type: occupied

View file

@ -0,0 +1,50 @@
actions:
- repeat:
sequence:
- delay:
hours: 0
milliseconds: 0
minutes: 1
seconds: 0
until:
- condition: and
conditions:
- condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 0
minutes: 10
seconds: 0
type: is_not_occupied
- condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
for:
hours: 0
minutes: 10
seconds: 0
type: is_not_occupied
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 10
seconds: 0
type: is_not_occupied
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
metadata:
secondary: false
type: turn_off
alias: Turn off swiatlo nad kuchnia when no motion, no trigger
conditions: []
description: ''
id: '1763637049783'
mode: single
triggers: []

View file

@ -0,0 +1,113 @@
actions:
- device_id: 41b47f2cf5f589d00c82e31bab378437
domain: switch
entity_id: 6a9500ee36bae5dbbfa212bdcfc34412
metadata:
secondary: false
type: turn_off
alias: Turn off swiatlo nad kuchnia when no motion in all home for 1h
conditions:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.on_leave
state:
- 'off'
- condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: 236a4c9133fd8f0b581478114f3e3bd1
domain: binary_sensor
entity_id: 94d63d39b6640ecc3d585c3a02340347
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: 66cf785a9b4e651998f507d5a72a434f
domain: binary_sensor
entity_id: 5d7ba9ccb6bd46c47e0f1464272168cf
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: 441dcec55b364f4add736675e786a3c7
domain: binary_sensor
entity_id: 0a51f574cb49ac424c2e18a23eede114
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
domain: binary_sensor
entity_id: 811364cf6eea576f867b737594e59f52
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: device
device_id: 32d5f6b4cc9ecb28e2b62d3d76b352b9
domain: binary_sensor
entity_id: 811364cf6eea576f867b737594e59f52
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: or
conditions:
- condition: device
device_id: 18f9c114ab3e4b421899bbd6c84a3ba6
domain: binary_sensor
entity_id: 5f7a6976e73109acbce02cc2de11259e
for:
hours: 1
minutes: 0
seconds: 0
type: is_not_occupied
- condition: state
entity_id: binary_sensor.mdkorytarz_occupancy
for:
hours: 2
minutes: 0
seconds: 0
state:
- unknown
- unavailable
description: ''
id: '1763637857513'
mode: single
triggers:
- minutes: /10
trigger: time_pattern

View file

@ -0,0 +1,24 @@
actions:
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
type: turn_off
alias: Turn off Stereo when idle for 1 hour
conditions: []
description: ''
id: '1763662256621'
mode: single
triggers:
- entity_id:
- media_player.stereo_salon
for:
hours: 1
minutes: 0
seconds: 0
to:
- idle
- 'off'
- paused
- unavailable
- unknown
trigger: state

View file

@ -0,0 +1,78 @@
actions:
- device_id: f5ccc59a8b469ac7dbdf23f714d93c05
domain: light
entity_id: f2de93d902b313ed6b1a5b3f848d41fb
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 14c5e58a6d12901c7c05baab106b14e8
flash: short
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 76120f91e56e920444702be8f6209128
flash: short
type: turn_off
- device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: light
entity_id: 8c3f3da35672a02b677c789969bbea0a
flash: short
type: turn_off
- action: automation.turn_on
data: {}
metadata: {}
target:
entity_id: automation.turn_off_lights_in_kuchania
alias: Turn off lights in Kuchnia after 15 minutes anyway
conditions:
- condition: device
device_id: dd84e859ed748c2cd3ede0f6d449f76a
domain: binary_sensor
entity_id: de3ad4aa0d782f60cdd4201a41eb49f0
for:
hours: 0
minutes: 14
seconds: 45
type: is_not_occupied
- condition: device
device_id: add7de553d974e3a239f0dd5ccf09e9c
domain: binary_sensor
entity_id: c73157dbd447be635eb817a247126303
for:
hours: 0
minutes: 14
seconds: 45
type: is_not_occupied
- condition: device
device_id: 1563a131149b8e2cecc7bf3cc21732d6
domain: binary_sensor
entity_id: 3aacc39bd842fd7d3fc6bcbbb5dcda19
for:
hours: 0
minutes: 14
seconds: 45
type: is_no_motion
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 14
seconds: 45
type: is_not_occupied
description: ''
id: '1764190493305'
mode: single
triggers:
- device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 15
seconds: 0
trigger: device
type: not_occupied
- minutes: /5
trigger: time_pattern

View file

@ -0,0 +1,54 @@
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.volume_down
data: {}
metadata: {}
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.volume_down
data: {}
enabled: false
metadata: {}
target:
entity_id: media_player.stereo_salon
- 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
data:
is_volume_muted: false
metadata: {}
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
alias: 'Volume down from scroll '
conditions: []
description: ''
id: '1764331521365'
mode: single
triggers:
- device_id: 999e65854719166cffb2459f9309d0f3
domain: mqtt
subtype: rotate_left
trigger: device
type: action

View file

@ -0,0 +1,62 @@
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.volume_up
data: {}
metadata: {}
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.volume_up
data: {}
enabled: false
metadata: {}
target:
entity_id: media_player.stereo_salon
- 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 }}
'
enabled: false
target:
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
- if:
- condition: state
entity_id: input_select.current_player
state:
- chrome-cast-salon
then:
- action: media_player.volume_up
data:
is_volume_muted: false
metadata: {}
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
alias: Volume up from scroll
conditions: []
description: ''
id: '1764331897150'
mode: single
triggers:
- device_id: 999e65854719166cffb2459f9309d0f3
domain: mqtt
subtype: rotate_right
trigger: device
type: action

View file

@ -0,0 +1,46 @@
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.media_play_pause
data: {}
metadata: {}
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.media_play_pause
data: {}
metadata: {}
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
data:
is_volume_muted: false
metadata: {}
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
alias: Volume pause from scroll
conditions: []
description: ''
id: '1764332139745'
mode: single
triggers:
- device_id: 999e65854719166cffb2459f9309d0f3
domain: mqtt
subtype: single
trigger: device
type: action

View file

@ -0,0 +1,134 @@
actions:
- alias: if stereo playing
else:
- alias: if tv on
else:
- alias: else nth or else none
else:
- action: input_select.select_option
data:
option: none
metadata: {}
target:
entity_id: input_select.current_player
- action: input_boolean.turn_off
data: {}
metadata: {}
target:
entity_id: input_boolean.movie_mode
if:
- condition: or
conditions:
- condition: and
conditions:
- condition: state
entity_id: input_select.current_player
state:
- tv
- condition: device
device_id: 2b6001cb3b88c366db218da366024e02
domain: remote
entity_id: 9bcb0948239cad67a6b53975d44b4be7
type: is_on
- condition: and
conditions:
- condition: state
entity_id: input_select.current_player
state:
- stereo
- condition: device
device_id: 7eb1d0285898a07e62fb959f3cffda68
domain: binary_sensor
entity_id: a752fc33615b016173772b2930ec8bae
type: is_connected
- 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: []
if:
- condition: device
device_id: 2b6001cb3b88c366db218da366024e02
domain: remote
entity_id: 9bcb0948239cad67a6b53975d44b4be7
type: is_on
then:
- action: input_select.select_option
data:
option: tv
metadata: {}
target:
entity_id: input_select.current_player
- action: input_boolean.turn_on
data: {}
metadata: {}
target:
entity_id: input_boolean.movie_mode
- alias: if chrome cast 4k playing
enabled: false
if:
- condition: device
device_id: cff31d197ebc32fc58f5f8f55df6e406
domain: media_player
entity_id: 473f2d90bcd458999408818034870b40
type: is_playing
then:
- action: input_select.select_option
data:
option: chrome-cast-salon
metadata: {}
target:
entity_id: input_select.current_player
- action: input_boolean.turn_on
data: {}
metadata: {}
target:
entity_id: input_boolean.movie_mode
if:
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_playing
then:
- action: input_select.select_option
data:
option: stereo
metadata: {}
target:
entity_id: input_select.current_player
alias: Set current_player
conditions: []
description: ''
id: '1764333473250'
mode: single
triggers:
- seconds: /15
trigger: time_pattern

View file

@ -0,0 +1,48 @@
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- tv
then:
- action: media_player.volume_mute
data:
is_volume_muted: false
metadata: {}
target:
device_id: 2b6001cb3b88c366db218da366024e02
- if:
- condition: state
entity_id: input_select.current_player
state:
- stereo
then:
- action: media_player.volume_mute
data:
is_volume_muted: false
metadata: {}
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
data:
is_volume_muted: false
metadata: {}
target:
device_id: cff31d197ebc32fc58f5f8f55df6e406
alias: Volume mute from scroll
conditions: []
description: ''
id: '1764338460727'
mode: single
triggers:
- device_id: 999e65854719166cffb2459f9309d0f3
domain: mqtt
subtype: hold
trigger: device
type: action

View file

@ -0,0 +1,49 @@
actions:
- action: media_player.media_play_pause
data: {}
metadata: {}
target:
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
alias: Poranek pause media player when not occupied for 10 mins
conditions:
- condition: device
device_id: f490ccbb775bd7c5d936bfb067538aa5
domain: binary_sensor
entity_id: 9190adffd61c50dadbdb9af82bbb41d3
for:
hours: 0
minutes: 10
seconds: 0
type: is_not_occupied
- condition: device
device_id: 5243fe178006af9adee15bacfc9bcadc
domain: binary_sensor
entity_id: de7a9e40d544ab51409925618ef14deb
for:
hours: 0
minutes: 10
seconds: 0
type: is_not_occupied
- condition: device
device_id: 66e998859b89cf23b000cc63e1ea9032
domain: binary_sensor
entity_id: 584e49486e9e6257cf0fdc764cce39c6
for:
hours: 0
minutes: 10
seconds: 0
type: is_not_occupied
- after: 08:00:00
before: '13:00:00'
condition: time
- condition: device
device_id: 2e779a3bc4caf93c7ef04bebf820db5e
domain: media_player
entity_id: 6585548c46800d19233bb0366d7a8531
type: is_playing
description: ''
id: '1764595573287'
mode: single
triggers:
- minutes: /5
trigger: time_pattern

View file

@ -0,0 +1,96 @@
actions:
- if:
- condition: state
entity_id: input_select.current_player
state:
- none
then:
- parallel:
- sequence:
- continue_on_timeout: false
timeout:
hours: 0
milliseconds: 0
minutes: 0
seconds: 2
wait_for_trigger:
- device_id: 999e65854719166cffb2459f9309d0f3
domain: mqtt
subtype: rotate_left
trigger: device
type: action
- device_id: 7d930a7e75050bd061e0389d60a653fe
domain: switch
enabled: true
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
type: turn_on
- delay:
hours: 0
milliseconds: 0
minutes: 1
seconds: 0
enabled: true
- action: media_player.play_media
data:
media:
media_content_id: 9ae88635.0
media_content_type: favorite
metadata:
browse_entity_id: media_player.stereo_salon
children_media_class:
media_class: track
navigateIds:
- {}
- media_content_id: favorites
media_content_type: favorites
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
title: Radio 357
enabled: true
metadata: {}
target:
entity_id: media_player.stereo_salon
- sequence:
- continue_on_timeout: false
timeout:
hours: 0
milliseconds: 0
minutes: 0
seconds: 2
wait_for_trigger:
- device_id: 999e65854719166cffb2459f9309d0f3
domain: mqtt
subtype: rotate_right
trigger: device
type: action
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
enabled: true
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
type: turn_on
- device_id: 24de64bd6b33c91e5b13136abefb5306
domain: switch
enabled: true
entity_id: 8b057535afee03650424ee32c1f3ed97
type: turn_on
- delay:
hours: 0
milliseconds: 0
minutes: 2
seconds: 35
enabled: true
- device_id: 2b6001cb3b88c366db218da366024e02
domain: remote
enabled: true
entity_id: 9bcb0948239cad67a6b53975d44b4be7
type: turn_on
alias: Volume start player from scroll on double after turn
conditions: []
description: ''
id: '1764610725230'
mode: single
triggers:
- device_id: 999e65854719166cffb2459f9309d0f3
domain: mqtt
subtype: double
trigger: device
type: action

Some files were not shown because too many files have changed in this diff Show more