jugla / worldtidesinfocustom

world tides info custom component for home assistant
MIT License
27 stars 2 forks source link

Plot and Long Plot do not load #31

Open billg118 opened 1 month ago

billg118 commented 1 month ago

I'm running in Docker and installed this through HACS

The integration works fine except for the plot and long plot. All entities show correct values except for those. The curve picture also works fine.

I see these line in my HA log:

[custom_components.worldtidesinfo.custom.camera] Could not read camera [redacted] image from file: /config/www/[redacted]_plot_long.png

[custom_components.worldtidesinfocustom.camera] Could not read camera [redacted] image from file: /config/www/[redacted]_plot.png

I looked in the folder and those files do not exist.

On startup it looks like it fails to create the images.

[custom_components.worldtidesinfocustom.camera] Camera: Sync Fetch new picture image from /config/www/[redacted]_plot.png
[custom_components.worldtidesinfocustom.camera] Could not read camera [redacted] image from file: /config/www/[redacted]_plot.png
[custom_components.worldtidesinfocustom.camera] Camera update :  /config/www/[redacted]_plot.png
[custom_components.worldtidesinfocustom.camera] Camera Async Update [redacted]
[custom_components.worldtidesinfocustom.camera] Camera: Sync Fetch new picture image from /config/www/[redacted]_plot_long.png
[custom_components.worldtidesinfocustom.camera] Could not read camera [redacted] image from file: /config/www/[redacted]_plot_long.png
[custom_components.worldtidesinfocustom.camera] Camera update :  /config/www/[redacted]_plot_long.png

I also see these two warnings in the logs. I do not know if they're related or not.

WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'worldtidesinfocustom' calls async_forward_entry_setup for integration, worldtidesinfocustom with title: World Tides Info Custom Cloud API ([redacted_lat_long]) and entry_id: 01J2RZR9NRD4MY0FDYR465D5GY, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/worldtidesinfocustom/__init__.py, line 180: hass.async_create_task(, please create a bug report at https://github.com/jugla/worldtidesinfocustom/issues

WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/.storage/worldtidesinfocustom.[redacted].ser', 'rb') inside the event loop by custom integration 'worldtidesinfocustom' at custom_components/worldtidesinfocustom/storage_mngt.py, line 81: file_handler = open(self._storage_full_path, "rb") (offender: /config/custom_components/worldtidesinfocustom/storage_mngt.py, line 81: file_handler = open(self._storage_full_path, "rb")), please create a bug report at https://github.com/jugla/worldtidesinfocustom/issues
ALArvi019 commented 1 month ago

Same issue here

armandkd commented 3 weeks ago

Same issue...

pedromrg commented 2 days ago

Same here, following