Doerklokker: nattestop 22-06, logbook debug, batteri-overvågning

- bagdoer + fordoer: bloker lyd/notifikation kl 22-06
- logbook.log for ALLE MQTT events (ogsaa wake-ups) til debugging
- Ny sensor: shelly_bagdoer_batteri + shelly_fordoer_batteri (MQTT)
- Ny automation: notifikation ved under 30% batteri
This commit is contained in:
2026-04-21 06:39:38 +02:00
parent 8fa3cf7c87
commit c82c8a66e5
4 changed files with 61 additions and 0 deletions
@@ -0,0 +1,21 @@
- id: 'shelly_doorbell_low_battery'
alias: Ringklokke lavt batteri
description: Notifikation når en Shelly doerklokke-knap har under 30% batteri
trigger:
- platform: numeric_state
entity_id:
- sensor.shelly_bagdoer_batteri
- sensor.shelly_fordoer_batteri
below: 30
for:
minutes: 5
condition: []
action:
- service: notify.mobile_app_claus_iphone_15pro
data:
title: "Lavt batteri - dørklokke"
message: >-
{{ trigger.to_state.attributes.friendly_name }}
er på {{ trigger.to_state.state }}%.
Oplad snart.
mode: single