Fix spontan doorbell efter HA genstart: restart-safe event_cnt
- input_number initial sat til -1 (sentinel for 'aldrig synkroniseret') - condition fjernet, event_cnt check flyttet ind i action blok - counter opdateres ALTID (ogsaa ved wake-up) - doorbell koerer kun naar old_cnt >= 0 OG new_cnt != old_cnt - foerste wake-up efter restart synkroniserer stille uden at ringe
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
shelly_bagdor_event_cnt:
|
||||
name: Shelly bagdoer event count
|
||||
min: -1
|
||||
max: 99999
|
||||
step: 1
|
||||
mode: box
|
||||
initial: -1
|
||||
|
||||
shelly_fordor_event_cnt:
|
||||
name: Shelly fordoer event count
|
||||
min: -1
|
||||
max: 99999
|
||||
step: 1
|
||||
mode: box
|
||||
initial: -1
|
||||
Reference in New Issue
Block a user