Skip to content

Auto-Discovery triggering on all devices changes of any binary sensor #21

Description

@jkrenzer

Hi!

Currently I have the Problem, that notifreeze triggers on all device changes, even in other rooms. This means literally all binary_sensor devices. Like motion-detectors or the wall panel motion detection. Mind you, these devices are not in the room and do not share the alias prefix.

2024-11-24 21:24:49.038199 INFO AppDaemon: Calling initialize() for notifreeze
2024-11-24 21:24:49.165826 INFO notifreeze:  
2024-11-24 21:24:49.172513 INFO notifreeze: ❄️  NotiFreeze v0.6.0
2024-11-24 21:24:49.179191 INFO notifreeze:  
2024-11-24 21:24:49.186396 INFO notifreeze:    max difference: ±4.2°C
2024-11-24 21:24:49.193404 INFO notifreeze:    notify service: notify.telegram_scoutanwan
2024-11-24 21:24:49.200459 INFO notifreeze:    always notify: False
2024-11-24 21:24:49.207251 INFO notifreeze:    sensors outdoor: sensor.temperature_minimum_outside
2024-11-24 21:24:49.214170 INFO notifreeze:    delays:
2024-11-24 21:24:49.221413 INFO notifreeze:      initial: 3min
2024-11-24 21:24:49.229327 INFO notifreeze:      reminder: 7min
2024-11-24 21:24:49.236155 INFO notifreeze:    Bad:
2024-11-24 21:24:49.247072 INFO notifreeze:      door window: binary_sensor.zigbee_contact_4_contact
2024-11-24 21:24:49.255074 INFO notifreeze:      temperature: sensor.bathroom_temperature
2024-11-24 21:24:49.262592 INFO notifreeze:  
2024-11-24 21:25:03.214518 INFO notifreeze: ❄️  Bad Wall Panel 1 Motion Detected opened, -9.0°C → reminder in 3min
2024-11-24 21:25:33.246960 INFO notifreeze: ❄️  Bad Wall Panel 1 Motion Detected closed → timer stopped
2024-11-24 21:26:08.920893 INFO notifreeze: ❄️  Bad Wall Panel 1 Motion Detected opened, -8.9°C → reminder in 3min

Configuration:

notifreeze:
  module: notifreeze
  class: NotiFreeze
  locale: de_DE
  notify_service: notify.app_joern
  always_notify: false
  outdoor: sensor.temperature_minimum_outside
  max_difference: 4.2
  delays:
    initial: 10
    reminder: 10
  messages:
    since: >
      {room_name} offen seit {open_since}: {initial}°C
    change: >
      {room_name} offen seit {open_since}: {initial}°C → {indoor}°C ({indoor_difference}°C)
  rooms:
    - name: Bad
      alias: 
      door_window: binary_sensor.zigbee_contact_4_contact
      indoor:
        - sensor.zigbee_thermometer_6_temperature

AppDaemon is version 0.16.7

Homeassistant version information:

Core 2024.11.3
Supervisor 2024.11.4
Operating System 13.2
Frontend 20241106.2

Any ideas would be welcome.

Thanks!

Jörn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions