-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive state change triggers automation #437
Comments
Was this introduced in the latest release? |
HA or Multiscrape release? I upgraded HA from 2024.9.1 (or was it 2024.9.3) to 2024.10.1. I don't remember the previous multiscrape version I upgraded from, but I generally update all my integrations when I upgrade HA. I didn't notice this issue before, as in, I didn't previously have my pollen automation run soon after an HA restart. Perhaps this always happened, but something in the start-up order or order of async events is causing this. I cannot really say. |
I have the exact same issue which started happening from the latest release v8.0.2. On startup of HA a change of state is triggered while the state is identical to before restarting. The sensor has no attributes. Happens for all sensors, seems related to 06cdc8a |
This is still irking me, so I'm going to implement a workaround in my automation. :-) I'm assuming the icon attribute is only missing right at the start and will otherwise always be present.
I'm going to test this. UPDATE: Tested, and it works as expected. I tested both by restarting, but also changing the sensor state in my dev tools to ensure the automation still triggers as it otherwise should. |
I also have a workaround in my automations for this a bit differently than @parautenbach, I just dumbly ignore any state changes the first minute after Hass startup 😅
|
Version of the custom_component
8.0.2
Configuration
Automation:
Describe the bug
When I (res)start HA, I get a false positive notification from my automation. Given my automation config, it must be triggering on an attribute change, not the state.
Debug log
Automation trace info for the trigger:
The text was updated successfully, but these errors were encountered: