Open labatt opened 3 months 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)
This has been open for over a month with nobody checking in. Is anyone maintaining this portion of the codebase?
The problem
I have an automation that triggers when my phone goes to wireless charging. I just upgraded from 2023.12.2 to 2024.6.1 (and then 2024.6.4).
sensor.sm_g973u_charger_type changes to wireless when I'm using Developer Tools > State and view the state. It also shows correctly when I look in the mobile app settings.
However, within the automation, the same sensor shows as blank/none. The automation does correctly pick up the transition from discharging to charging and starts but the criteria that it needs to be set to wireless fails. This worked prior to the upgrade.
Not sure if it's a mobile app or core issue. I originally reported it as a mobile app issue, but since the mobile app reports the correct state (and the state info shows correct in the developer tools) I'm thinking it's something on the automation side instead.
This was the issue I opened up on the mobile app side: https://github.com/home-assistant/core/issues/119711
What version of Home Assistant Core has the issue?
core-2024.6.4
What was the last working version of Home Assistant Core?
core-2023-12.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Automation
Link to integration documentation on our website
https://www.home-assistant.io/integrations/device_automation/
Diagnostics information
None
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
This is from the trace:
Executed: June 14, 2024 at 2:45:19 PM Result: result: false conditions/0 Executed: June 14, 2024 at 2:45:19 PM Result: result: false conditions/0/entity_id/0 Executed: June 14, 2024 at 2:45:19 PM Result: result: false state: none wanted_state: wireless