Open emufan opened 5 months ago
I get this on startup too, immediately followed by a bunch of log lines like this:
2024-02-10 09:20:58.180 WARNING (SyncWorker_9) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.0000021a7d2b3b13.jpg
2024-02-10 09:20:58.181 WARNING (SyncWorker_5) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.0000021dc9a63411.jpg
2024-02-10 09:20:58.182 WARNING (SyncWorker_3) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.0000021ec3b73418.jpg
2024-02-10 09:20:58.183 WARNING (SyncWorker_7) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.0000021b50733b10.jpg
2024-02-10 09:20:58.185 WARNING (SyncWorker_18) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00000218ce8d3b15.jpg
I'm guessing the error for unload is coming from here:
I think on restart, maybe the config was never loaded which triggers the error?
I have the same error. Also the tags get only updated one time. Then never again until HA restart. The images are updated every ten minutes and reflecting the sensor values i wanna display. openepaperlink AP reports: new image is the same as current or already pending image. not updating tag.
@jterrace your second error should be unrelated.
@emufan can you try to remove and add the integration and check if the error persists, because I did not manage to reproduce it.
I have now deleted the integration and re-added it. Still the same error. Beside some more.
2024-04-03 08:19:40.785 WARNING (Thread-8 (connection_thread)) [websocket] websocket connected
2024-04-03 08:19:49.071 WARNING (MainThread) [py.warnings] /usr/src/homeassistant/homeassistant/config_entries.py:1610: RuntimeWarning: coroutine 'ConfigEntries.async_forward_entry_unload' was never awaited
name=f"config entry forward unload {entry.title} {entry.domain} {entry.entry_id} {platform}",
2024-04-03 08:19:49.072 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry 192.168.178.145 for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 605, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 466, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 198, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2024-04-03 08:20:45.378 WARNING (SyncWorker_25) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:21:30.964 WARNING (MainThread) [py.warnings] /usr/src/homeassistant/homeassistant/config_entries.py:1610: RuntimeWarning: coroutine 'ConfigEntries.async_forward_entry_unload' was never awaited
name=f"config entry forward unload {entry.title} {entry.domain} {entry.entry_id} {platform}",
2024-04-03 08:23:29.739 WARNING (SyncWorker_14) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:23:32.782 WARNING (SyncWorker_20) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:23:32.927 WARNING (SyncWorker_35) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:23:33.210 WARNING (SyncWorker_26) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:23:50.375 WARNING (SyncWorker_23) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:23:55.915 WARNING (SyncWorker_28) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:23:56.154 WARNING (SyncWorker_29) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:24:11.968 WARNING (SyncWorker_21) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
2024-04-03 08:24:12.156 WARNING (SyncWorker_8) [custom_components.open_epaper_link.camera] Could not read image from file: /config/www/open_epaper_link/open_epaper_link.open_epaper_link.00004479913bdaec.jpg
So there is now
and (saw it recently befoire re-adding as well:
I still get this every HA restart
Anything I can fix or can change on my side?