Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors under HA 2023.2.3 #3

Open
deepcoder opened this issue Feb 8, 2023 · 1 comment
Open

Errors under HA 2023.2.3 #3

deepcoder opened this issue Feb 8, 2023 · 1 comment

Comments

@deepcoder
Copy link

FYI :

2023-02-08 08:26:19.097 ERROR (MainThread) [custom_components.ndbcrealtime.config_flow] Value Error: invalid literal for int() with base 10: '6.8'
Traceback (most recent call last):
  File "/config/custom_components/ndbcrealtime/config_flow.py", line 34, in async_step_user
    observation = await ndbc.get_data()
  File "/usr/local/lib/python3.10/site-packages/ndbcrealtime/__init__.py", line 114, in get_data
    observation["waves"]["average_period"] = int(data[1]["APD"])
ValueError: invalid literal for int() with base 10: '6.8'
2023-02-08 08:28:34.696 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2023-02-08 08:28:34.699 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2023-02-08 08:29:47.442 ERROR (MainThread) [custom_components.ndbcrealtime.config_flow] Value Error: invalid literal for int() with base 10: '7.8'
Traceback (most recent call last):
  File "/config/custom_components/ndbcrealtime/config_flow.py", line 34, in async_step_user
    observation = await ndbc.get_data()
  File "/usr/local/lib/python3.10/site-packages/ndbcrealtime/__init__.py", line 114, in get_data
    observation["waves"]["average_period"] = int(data[1]["APD"])
ValueError: invalid literal for int() with base 10: '7.8'
2023-02-08 08:32:17.928 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2023-02-08 08:32:17.935 ERROR (MainThread) [homeassistant] Error doing job: Unclosed connector
2023-02-08 08:32:19.108 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2023-02-08 08:32:19.112 ERROR (MainThread) [homeassistant] Error doing job: Unclosed connector
2023-02-08 08:32:19.113 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2023-02-08 08:32:19.114 ERROR (MainThread) [homeassistant] Error doing job: Unclosed connector
2023-02-08 08:32:19.131 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.air_temperature_east_santa_barbara_12nm_southwest_of_santa_barbara_ca (<class 'custom_components.ndbcrealtime.sensor.NDBCSensor'>) is using native unit of measurement '°' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°F', '°C', 'K']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-08 08:32:19.134 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.water_temperature_east_santa_barbara_12nm_southwest_of_santa_barbara_ca (<class 'custom_components.ndbcrealtime.sensor.NDBCSensor'>) is using native unit of measurement '°' which is not a valid unit for the device class ('temperature') it is using; expected one of ['°F', '°C', 'K']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

@forrestjr
Copy link

I am getting the same errors in mine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants