Skip to content

value not float leading to unknown state of entities #16

@wagnst

Description

@wagnst

as mentioned already in #11
i am seeing regular issues with the integration leading to NaN data in HA:

2024-08-21 17:55:04.450 WARNING (SyncWorker_7) [custom_components.dhmz.weather] Unknown DHMZ weather symbol: None
2024-08-21 17:55:04.453 WARNING (MainThread) [custom_components.dhmz.weather] Temperature - value not float: 
2024-08-21 17:55:04.453 WARNING (MainThread) [custom_components.dhmz.weather] Humidity - value not float: 
2024-08-21 17:55:04.453 WARNING (MainThread) [custom_components.dhmz.weather] Pressure - value not float: 
2024-08-21 17:55:04.453 WARNING (MainThread) [custom_components.dhmz.weather] Wind speed - value not float: 

image

i'm not sure what happens, but visiting the site itself, i see it as available, e.g. via the website or via the XML api for the bespoke dataset.

is there any idea what is happening here? Are they rate limiting requests? If yes maybe instead it could just be skipped to write data to the entity for that occasion so the entities don't report Unknown?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions