update
This commit is contained in:
parent
e81a4f0b9d
commit
80ebaa8e55
@ -1,19 +0,0 @@
|
||||
- id: bedroom_alarm_clock
|
||||
alias: bedroom alarm clock
|
||||
trigger:
|
||||
platform: template
|
||||
value_template: "{{ states('sensor.time') == (states.input_datetime.bedroom_alarm_clock_time.attributes.timestamp | int | timestamp_custom('%H:%M', False)) }}"
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.workday_sensor
|
||||
state: 'on'
|
||||
- condition: sun
|
||||
before: sunrise
|
||||
action:
|
||||
- service: notify.telegram_group
|
||||
data:
|
||||
title: 'Guten Morgen!'
|
||||
message: 'Langsam dürft ihr wach werden. Es wird bald Zeit aufzustehen... :)'
|
||||
|
@ -1,35 +0,0 @@
|
||||
- alias: Backup Error
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.backup_error_occured
|
||||
to: 'on'
|
||||
action:
|
||||
- service: notify.telegram_group
|
||||
data:
|
||||
title: '*Backup-Problem:*'
|
||||
message: 'Es gab Fehler beim *Erstellen* des Backups. Bitte prüfen!'
|
||||
- service: notify.telegram_group
|
||||
data:
|
||||
message: 'Anbei die Log-Datei :)'
|
||||
data:
|
||||
document:
|
||||
file: /backuplogs/run.err.log
|
||||
caption: Backup Creation Log
|
||||
|
||||
- alias: Backup Sync Error
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.backup_sync_error_occured
|
||||
to: 'on'
|
||||
action:
|
||||
- service: notify.telegram_group
|
||||
data:
|
||||
title: '*Backup-Problem:*'
|
||||
message: 'Es gab Fehler beim *Synchronisieren* des Backups. Bitte prüfen!'
|
||||
- service: notify.telegram_group
|
||||
data:
|
||||
message: 'Anbei die Log-Datei :)'
|
||||
data:
|
||||
document:
|
||||
file: /backuplogs/sync.out.log
|
||||
caption: Backup Sync Log
|
@ -3,7 +3,7 @@
|
||||
- platform: state
|
||||
entity_id: updater.updater
|
||||
action:
|
||||
service: notify.telegram_group
|
||||
data_template:
|
||||
service: notify.telegram_fb
|
||||
data_template:
|
||||
title: 'Neuer Home Assistant Release'
|
||||
message: "Home Assistant {{ states.updater.updater.state }} ist nun verfügbar."
|
||||
|
@ -11,3 +11,17 @@
|
||||
data:
|
||||
title: 'Bitte den Dachboden lüften!'
|
||||
message: 'Die Luftfeuchtigkeit liegt mit {{ states.sensor.livingroom_humidity.state }}% außerhalb des Grenzbereichs.'
|
||||
|
||||
- alias: Badezimmer Luftfeuchtigkeit
|
||||
trigger:
|
||||
platform: numeric_state
|
||||
entity_id: sensor.bathroom_hygrometer_humidity
|
||||
below: 35
|
||||
above: 70
|
||||
for:
|
||||
minutes: 3
|
||||
action:
|
||||
service: notify.telegram_group
|
||||
data:
|
||||
title: 'Bitte das Badezimmer lüften!'
|
||||
message: 'Die Luftfeuchtigkeit liegt mit {{ states.sensor.bathroom_hygrometer_humidity.state }}% außerhalb des Grenzbereichs.'
|
||||
|
@ -125,6 +125,9 @@ notify:
|
||||
- name: telegram_group
|
||||
platform: telegram
|
||||
chat_id: !secret telegram_chat_group
|
||||
- name: telegram_fb
|
||||
platform: telegram
|
||||
chat_id: !secret telegram_chat_fb
|
||||
|
||||
device_tracker:
|
||||
|
||||
|
@ -8,6 +8,7 @@ cards:
|
||||
show_name: true
|
||||
show_state: true
|
||||
entities:
|
||||
- sensor.bathroom_hygrometer_humidity
|
||||
- sensor.attic_humidity
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
|
Loading…
Reference in New Issue
Block a user