Open Abdull opened 5 days ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (device_automation
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
device_automation documentation device_automation source (message by IssueLinks)
The problem
I want to set up an automation that whenever my Zigbee water sensor (
device_id: 0123456789abcd
) "disappears" (e.g. bad reception, stolen, battery empty, destroyed etc.), I'm given a notification.Zigbee ZHA devices provide a "device trigger" named "Device offline", which sounds fitting for what I want to accomplish.
But setting up an automation with the "Device offine" trigger results in the following error message, e.g. when running
hass --script check_config
:Notably, the corresponding entry in
~/.homeassistant/automations.yaml
looks like this:Maybe relevant: notice that while there is
device_id: 0123456789abcd
, there does not exist anentity_id: xyz
for the device offline.What version of Home Assistant Core has the issue?
core-2024.6.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
Device automation
Link to integration documentation on our website
https://www.home-assistant.io/integrations/device_automation/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response