IPP integration needs attention when restarting Home Assistant and printer is offline
The problem
When restarting Home Assistant, the integration IPP gives error "Failed setup, will retry" if configured network printer is offline.
When the printer goes online, the integration works
and when i turn off the printer the integration still works and sensors goes to Unavailable:
The integration should always work and not fail at restart because printer is offline. Only sensors should be affected.
What version of Home Assistant Core has the issue?
core-2024.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Internet Printing Protocol (IPP)
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ipp/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
The printer (HP Color Laser 150nw) is not reachable on the network when the printer is offline. IPP, ping and web only works when printer is online.
Other integration do not fail and need attention when devices is unreachable.
Hey there @ctalkington, mind taking a look at this issue as it has been labeled with an integration (ipp) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of ipp can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign ippRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
ipp documentation ipp source (message by IssueLinks)
I experience the same problem when I restart Home Assistant and the printer is turned off. Maybe in this case printer should be in unavailable state and ink sensors should have their last known state?
My printer is attached to a smart plug and I turn it on only when using it... the integration always stucks at loading again the data and there is no history for the sensors
Unfortunately I have the same issue.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The issue is still there...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The issue is still there...
confirmed
The issue is still there for me ... I agree with the original poste'rs proposed solution to somehow just stat eteh last known status, rather than have the integration show it failed; plus not everyone leaves their printer on 24/7, so just last state without it reporting failure, retry etc would be great.
Exact same problem here (HA 2025.5). And i have to admit that it's a bit annoying, as it leads to constant errors in HA after each restart (i'm also using a smart plug for a laser printer, so most of the time it's not online/available).
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Issue still present
Confirmed
Same here
Same here. It should be marked as offline, not fail setup.
Same here. It should be marked as offline, not fail setup.
Exactly.
And it leads to some services constantly shown "in error" ("Failed to set up") - we don't need that, there are already so maybe errors to correcte everywhere all the time.
(in my case, obviously, my Brother printer is offline 99.9% of the time at home - and i wake it up through a Shelly plug only when needed)