Hi,
i installed the Alert component to remind me my windows are open. I watch 11 Windows and have 11 Alerts. I want to acknowledge a single Alert, based on the open window, but when i callback with telegram it acknowledges every alert.
this is my alert code:
win_bathroom:
name: Das Fenster im Badezimmer ist offen
entity_id: binary_sensor.door_window_sensor_158d0004021c4d
state: 'on'
repeat: 5
can_acknowledge: True
skip_first: True
data:
inline_keyboard:
- 'Ist gewollt:/ack_win_bathroom'
notifiers:
- telegram
message: "Das Fenster im Badezimmer ist noch offen! Aktuelle Werte {{ states('sensor.humidity_158d0003cb8645') }} % & {{ states('sensor.temperature_158d0003cb8645') }} Grad"
done_message: Das Fenster im Badezimmer ist wieder zu
and this is my automation code to acknowledge the alert.
All Alerts have different names.
- id: Acknowledge the Bathroom Window
alias: Telegram Bot to Acknowledge the Bathroom Window
trigger:
platform: event
event_type: telegram_callback
event_data:
command: /ack_win_bathroom
action:
- service: homeassistant.turn_off
data:
entity_id: alert.win_bathroom
Any help would be appreciated, im stuck and cant find out why and how. I have tried the service alert.turn_off but ist also turns off every alert, and not just the one i callback.