core: Rainmachine: Error unloading entry XXXXX for sensor, binary_sensor & switch

The problem

i’m seeing error messages for the Rainmachine integration (see logs below). Although, the integration appears to be working fine these error message show up during HA startup. There are errors for both Rainmachine controllers i have (upper lot, lower lot). i did delete the two integrations and add them back but the same error messages persist.

What version of Home Assistant Core has the issue?

current

What was the last working version of Home Assistant Core?

core-2021.11.5

What type of installation are you running?

Home Assistant Core

Integration causing the issue

rainmachine

Link to integration documentation on our website

https://www.home-assistant.io/integrations/rainmachine/

Example YAML snippet

h/a

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: helpers/entity_component.py:181
First occurred: 5:23:22 AM (6 occurrences)
Last logged: 5:32:53 AM

    Error unloading entry Lower Lot for sensor
    Error unloading entry Lower Lot for switch
    Error unloading entry Upper Lot for binary_sensor
    Error unloading entry Upper Lot for sensor
    Error unloading entry Upper Lot for switch

Traceback (most recent call last):
  File "/srv/homeassistant_3.9/lib/python3.9/site-packages/homeassistant/config_entries.py", line 443, in async_unload
    result = await component.async_unload_entry(hass, self)  # type: ignore
  File "/srv/homeassistant_3.9/lib/python3.9/site-packages/homeassistant/components/binary_sensor/__init__.py", line 162, in async_unload_entry
    return await component.async_unload_entry(entry)
  File "/srv/homeassistant_3.9/lib/python3.9/site-packages/homeassistant/helpers/entity_component.py", line 181, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!

Additional information

using python 3.9 with ubuntu 18.04 running on intel nuc

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

the error messages for RainMachine are gone with this patch …

@bdraco Thanks for the thoughts. Would this be RainMachine-specific, or more related to core?

Rain machine specific