-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
2024.6.2 ping integration broken - returns unavailable state instead of disconnected #119462
Comments
Hey there @jpbede, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) ping documentation |
Could you please check the log? Under normal circumstances, the sensor should still be "disconnected". |
Hi, thanks for the fast reply. Yeah I can't see anything in my logs that indicate anything is different to before. I run an automation to force update all of my ping sensors every second which has been working great. It does mean I see these in the logs for devices that are powered off for some time. But those were also there before. Logger: homeassistant.helpers.entity_component Forced update failed. Entity binary_sensor.upstairs_bathroom_2_light_pingable not found. Is the new raised exception in the latest ping code somehow causing it. I always ping the ips directly so there should be no DNS involved. |
Could you please turn on the debug log for the ping integration? |
Will do. Will report back asap |
OK for one particular ip, my living room pc, where it used to show as disconnected, its now showing as Unavailable. Heres the log entries containing this IP after enabling DEBUG in the HA UI for the ping integration.
|
When I check the homeassistant UI for these ping entities, they mention 'This entity is no longer being provided by the ping integration. If the entity is no longer in use, delete it in settings.' |
Okay, thanks, that helped 👍 Will fix this later |
Thanks a lot for the super fast response! |
You're welcome! Thanks for debugging |
Thanks for fixing this, having ping broken was very annoying :/ |
The problem
Since 2024.6.2 any ping devices that I have configured report themselves in Unavailable state instead of disconnected when they are not pingable.
This seems to be a breaking change. It has for sure broken many automarions I have.
Requesting it be reverted and brought in maybe as a non backwards compatible change in a future release in some controlled way.
What version of Home Assistant Core has the issue?
core-2024.6.2
What was the last working version of Home Assistant Core?
core-2024.6.1
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ping
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ping
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
The text was updated successfully, but these errors were encountered: