update automations
This commit is contained in:
parent
0302ef7418
commit
43d54f6703
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
custom_components/**
|
||||||
|
*.log*
|
||||||
|
*.db*
|
||||||
|
.HA_VERSION
|
||||||
|
.ha_run.lock
|
||||||
|
.storage/
|
||||||
|
core
|
||||||
|
glances/
|
||||||
|
prometheus_node_exporter/
|
||||||
|
www/
|
||||||
|
|
||||||
126
automations.yaml
126
automations.yaml
|
|
@ -406,6 +406,11 @@
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 10
|
minutes: 10
|
||||||
seconds: 0
|
seconds: 0
|
||||||
|
- condition: device
|
||||||
|
type: is_off
|
||||||
|
device_id: 24de64bd6b33c91e5b13136abefb5306
|
||||||
|
entity_id: 0cf754a8ae10afd2be1dfc4986095c85
|
||||||
|
domain: switch
|
||||||
actions:
|
actions:
|
||||||
- type: turn_on
|
- type: turn_on
|
||||||
device_id: 41b47f2cf5f589d00c82e31bab378437
|
device_id: 41b47f2cf5f589d00c82e31bab378437
|
||||||
|
|
@ -707,6 +712,10 @@
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.on_leave
|
entity_id: input_boolean.on_leave
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.movie_mode
|
||||||
|
state:
|
||||||
|
- 'off'
|
||||||
- type: is_not_occupied
|
- type: is_not_occupied
|
||||||
condition: device
|
condition: device
|
||||||
device_id: f490ccbb775bd7c5d936bfb067538aa5
|
device_id: f490ccbb775bd7c5d936bfb067538aa5
|
||||||
|
|
@ -716,15 +725,6 @@
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 15
|
minutes: 15
|
||||||
seconds: 0
|
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
|
- type: is_not_occupied
|
||||||
condition: device
|
condition: device
|
||||||
device_id: 5243fe178006af9adee15bacfc9bcadc
|
device_id: 5243fe178006af9adee15bacfc9bcadc
|
||||||
|
|
@ -736,8 +736,8 @@
|
||||||
seconds: 0
|
seconds: 0
|
||||||
- type: is_not_occupied
|
- type: is_not_occupied
|
||||||
condition: device
|
condition: device
|
||||||
device_id: 441dcec55b364f4add736675e786a3c7
|
device_id: 66e998859b89cf23b000cc63e1ea9032
|
||||||
entity_id: 0a51f574cb49ac424c2e18a23eede114
|
entity_id: 584e49486e9e6257cf0fdc764cce39c6
|
||||||
domain: binary_sensor
|
domain: binary_sensor
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
|
|
@ -770,6 +770,16 @@
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 5
|
minutes: 5
|
||||||
seconds: 0
|
seconds: 0
|
||||||
|
- type: is_not_occupied
|
||||||
|
condition: device
|
||||||
|
device_id: 441dcec55b364f4add736675e786a3c7
|
||||||
|
entity_id: 0a51f574cb49ac424c2e18a23eede114
|
||||||
|
domain: binary_sensor
|
||||||
|
for:
|
||||||
|
hours: 0
|
||||||
|
minutes: 5
|
||||||
|
seconds: 0
|
||||||
|
enabled: false
|
||||||
- condition: device
|
- condition: device
|
||||||
type: is_off
|
type: is_off
|
||||||
device_id: 24de64bd6b33c91e5b13136abefb5306
|
device_id: 24de64bd6b33c91e5b13136abefb5306
|
||||||
|
|
@ -779,6 +789,15 @@
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 15
|
minutes: 15
|
||||||
seconds: 0
|
seconds: 0
|
||||||
|
- condition: device
|
||||||
|
type: is_off
|
||||||
|
device_id: ee4c386c52180c7b62ab5dcf466bf29a
|
||||||
|
entity_id: d64ce55f78c5b63d47c0dabeb64d645b
|
||||||
|
domain: switch
|
||||||
|
for:
|
||||||
|
hours: 0
|
||||||
|
minutes: 5
|
||||||
|
seconds: 0
|
||||||
- condition: not
|
- condition: not
|
||||||
conditions:
|
conditions:
|
||||||
- condition: device
|
- condition: device
|
||||||
|
|
@ -800,6 +819,12 @@
|
||||||
minutes: 0
|
minutes: 0
|
||||||
seconds: 5
|
seconds: 5
|
||||||
actions:
|
actions:
|
||||||
|
- action: input_boolean.turn_on
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.sleep_mode
|
||||||
|
data: {}
|
||||||
|
enabled: true
|
||||||
- type: turn_off
|
- type: turn_off
|
||||||
device_id: 41b47f2cf5f589d00c82e31bab378437
|
device_id: 41b47f2cf5f589d00c82e31bab378437
|
||||||
entity_id: switch.tasmota
|
entity_id: switch.tasmota
|
||||||
|
|
@ -826,12 +851,6 @@
|
||||||
device_id: 3ae84e7b8da1205247f68d24460fe60a
|
device_id: 3ae84e7b8da1205247f68d24460fe60a
|
||||||
entity_id: fb369fa77f1002883f224eb57fedf290
|
entity_id: fb369fa77f1002883f224eb57fedf290
|
||||||
domain: switch
|
domain: switch
|
||||||
- action: input_boolean.turn_on
|
|
||||||
metadata: {}
|
|
||||||
target:
|
|
||||||
entity_id: input_boolean.sleep_mode
|
|
||||||
data: {}
|
|
||||||
enabled: false
|
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1703104763868'
|
- id: '1703104763868'
|
||||||
alias: Turn OFF Heli sufit
|
alias: Turn OFF Heli sufit
|
||||||
|
|
@ -1042,41 +1061,14 @@
|
||||||
entity_id: input_boolean.sleep_mode
|
entity_id: input_boolean.sleep_mode
|
||||||
state:
|
state:
|
||||||
- 'off'
|
- 'off'
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.night_mode
|
|
||||||
state:
|
|
||||||
- 'off'
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.passive_mode
|
entity_id: input_boolean.passive_mode
|
||||||
state:
|
state:
|
||||||
- 'off'
|
- 'off'
|
||||||
- condition: device
|
- condition: state
|
||||||
type: is_off
|
entity_id: input_boolean.movie_mode
|
||||||
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
|
state:
|
||||||
entity_id: 9da021c8350628869cc5f36bc282f760
|
- 'off'
|
||||||
domain: switch
|
|
||||||
for:
|
|
||||||
hours: 1
|
|
||||||
minutes: 0
|
|
||||||
seconds: 0
|
|
||||||
- condition: device
|
|
||||||
type: is_off
|
|
||||||
device_id: 7e3315293a049e4790df57aefe22a8a9
|
|
||||||
entity_id: 9b91efceaa3e5cb4e569845913aa1d04
|
|
||||||
domain: switch
|
|
||||||
for:
|
|
||||||
hours: 1
|
|
||||||
minutes: 0
|
|
||||||
seconds: 0
|
|
||||||
- condition: device
|
|
||||||
type: is_off
|
|
||||||
device_id: 3ae84e7b8da1205247f68d24460fe60a
|
|
||||||
entity_id: fb369fa77f1002883f224eb57fedf290
|
|
||||||
domain: switch
|
|
||||||
for:
|
|
||||||
hours: 1
|
|
||||||
minutes: 0
|
|
||||||
seconds: 0
|
|
||||||
actions:
|
actions:
|
||||||
- type: turn_on
|
- type: turn_on
|
||||||
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
|
device_id: 09b3f10c7ccb155f4e636ea80426a5a3
|
||||||
|
|
@ -2497,6 +2489,10 @@
|
||||||
at: 08:32:00
|
at: 08:32:00
|
||||||
weekday:
|
weekday:
|
||||||
- sat
|
- sat
|
||||||
|
- trigger: time
|
||||||
|
at: 09:00:00
|
||||||
|
weekday:
|
||||||
|
- sun
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.on_leave
|
entity_id: input_boolean.on_leave
|
||||||
|
|
@ -2506,11 +2502,6 @@
|
||||||
state:
|
state:
|
||||||
- 'on'
|
- 'on'
|
||||||
actions:
|
actions:
|
||||||
- action: input_boolean.turn_off
|
|
||||||
metadata: {}
|
|
||||||
target:
|
|
||||||
entity_id: input_boolean.sleep_mode
|
|
||||||
data: {}
|
|
||||||
- type: turn_on
|
- type: turn_on
|
||||||
device_id: 7d930a7e75050bd061e0389d60a653fe
|
device_id: 7d930a7e75050bd061e0389d60a653fe
|
||||||
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
|
entity_id: a0f0efeef06fa0808c8a7d0ec6e3909a
|
||||||
|
|
@ -3189,6 +3180,11 @@
|
||||||
option: tv
|
option: tv
|
||||||
target:
|
target:
|
||||||
entity_id: input_select.current_player
|
entity_id: input_select.current_player
|
||||||
|
- action: input_boolean.turn_on
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.movie_mode
|
||||||
|
data: {}
|
||||||
else:
|
else:
|
||||||
- alias: else nth or else none
|
- alias: else nth or else none
|
||||||
if:
|
if:
|
||||||
|
|
@ -3255,6 +3251,11 @@
|
||||||
option: none
|
option: none
|
||||||
target:
|
target:
|
||||||
entity_id: input_select.current_player
|
entity_id: input_select.current_player
|
||||||
|
- action: input_boolean.turn_off
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.movie_mode
|
||||||
|
data: {}
|
||||||
- alias: if chrome cast 4k playing
|
- alias: if chrome cast 4k playing
|
||||||
if:
|
if:
|
||||||
- condition: device
|
- condition: device
|
||||||
|
|
@ -3269,6 +3270,11 @@
|
||||||
option: chrome-cast-salon
|
option: chrome-cast-salon
|
||||||
target:
|
target:
|
||||||
entity_id: input_select.current_player
|
entity_id: input_select.current_player
|
||||||
|
- action: input_boolean.turn_on
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.movie_mode
|
||||||
|
data: {}
|
||||||
enabled: false
|
enabled: false
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1764338460727'
|
- id: '1764338460727'
|
||||||
|
|
@ -4127,7 +4133,7 @@
|
||||||
action: rest_command.ntfy_send
|
action: rest_command.ntfy_send
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1768945218810'
|
- id: '1768945218810'
|
||||||
alias: Turn OFF sleep mode at sunrise
|
alias: Turn OFF night mode at sunrise
|
||||||
description: ''
|
description: ''
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: sun
|
- trigger: sun
|
||||||
|
|
@ -4138,7 +4144,7 @@
|
||||||
- action: input_boolean.turn_off
|
- action: input_boolean.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.sleep_mode
|
entity_id: input_boolean.night_mode
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1768946230585'
|
- id: '1768946230585'
|
||||||
|
|
@ -4230,7 +4236,7 @@
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1768989504100'
|
- id: '1768989504100'
|
||||||
alias: Nicht lights in Lazienka (Pralnia) on sleep_mode
|
alias: Night lights in Lazienka (Pralnia) on sleep_mode
|
||||||
description: ''
|
description: ''
|
||||||
triggers:
|
triggers:
|
||||||
- type: occupied
|
- type: occupied
|
||||||
|
|
@ -4243,10 +4249,6 @@
|
||||||
entity_id: input_boolean.on_leave
|
entity_id: input_boolean.on_leave
|
||||||
state:
|
state:
|
||||||
- 'off'
|
- 'off'
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.passive_mode
|
|
||||||
state:
|
|
||||||
- 'off'
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.sleep_mode
|
entity_id: input_boolean.sleep_mode
|
||||||
state:
|
state:
|
||||||
|
|
@ -4287,7 +4289,7 @@
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1768991054862'
|
- id: '1768991054862'
|
||||||
alias: stop night_mode at 6:30
|
alias: stop sleep mode at 6:30
|
||||||
description: ''
|
description: ''
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: time
|
- trigger: time
|
||||||
|
|
@ -4297,6 +4299,6 @@
|
||||||
- action: input_boolean.turn_off
|
- action: input_boolean.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.night_mode
|
entity_id: input_boolean.sleep_mode
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
|
|
|
||||||
2752
automations.yaml.oka_backup
Normal file
2752
automations.yaml.oka_backup
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -88,6 +88,8 @@ group:
|
||||||
garmin:
|
garmin:
|
||||||
name: Garmin
|
name: Garmin
|
||||||
entities:
|
entities:
|
||||||
|
- sensor.thtuyabalkon_temperature
|
||||||
|
- sensor.thsalon_temperature
|
||||||
- switch.tasmota
|
- switch.tasmota
|
||||||
- switch.sufit2switchsalon
|
- switch.sufit2switchsalon
|
||||||
- switch.sufit3switchsalon
|
- switch.sufit3switchsalon
|
||||||
|
|
@ -96,6 +98,7 @@ group:
|
||||||
# - switch.tasmota_9
|
# - switch.tasmota_9
|
||||||
# - switch.tasmota_3
|
# - switch.tasmota_3
|
||||||
- input_boolean.sleep_mode
|
- input_boolean.sleep_mode
|
||||||
|
- input_boolean.movie_mode
|
||||||
- scene.Film
|
- scene.Film
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
|
|
|
||||||
5
esphome/.gitignore
vendored
Normal file
5
esphome/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Gitignore settings for ESPHome
|
||||||
|
# This is an example and may include too much for your use-case.
|
||||||
|
# You can modify this file to suit your needs.
|
||||||
|
/.esphome/
|
||||||
|
/secrets.yaml
|
||||||
1
id_ed25519.pub
Normal file
1
id_ed25519.pub
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOrk9JUxkdqbjRr30V4T//fZB67QFaGjxL7oxSqwhRFa root@core-ssh
|
||||||
12
push_to_git.sh
Executable file
12
push_to_git.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#git pull
|
||||||
|
|
||||||
|
#read -rp "Kontynuować? [y/n]: " yn && [[ "$yn" == "y" ]] || exit 1
|
||||||
|
|
||||||
|
git add .
|
||||||
|
git status
|
||||||
|
|
||||||
|
read -rp "Kontynuować? [y/n]: " yn && [[ "$yn" == "y" ]] || exit 1
|
||||||
|
|
||||||
|
git commit -m 'update automations' && git pull
|
||||||
Loading…
Reference in a new issue