Comments (2)
I am seen similar error in logs with Thermia Diplomat Duo:
2023-09-14 20:20:59.137 DEBUG (MainThread) [custom_components.thermia] Finished fetching thermia data in 0.879 seconds (success: True)
2023-09-14 20:20:59.137 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 581, in state
numerical_value = int(value)
^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'RADIATORPUMP'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 229, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 374, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 431, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 590, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 654, in _async_write_ha_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 596, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 585, in state
raise ValueError(
ValueError: Sensor sensor.thermiadiplomat_operational_status has device class 'None', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'RADIATORPUMP' (<class 'str'>)
Found a workaround to keep logs clean. Did disable operational status from integration, and no error seen in logs anymore:
from ha-thermia-heat-pump-integration.
Related Issues (20)
- Heating Curve settings HOT 1
- Thermia status, Compressor, heating, hot water HOT 1
- Login HOT 11
- Errors during home assistant restart HOT 5
- Feature request: Boost button. HOT 17
- Integration stops updating values HOT 23
- Boost disappeared HOT 2
- Reauthentication request failed with previous refresh token HOT 1
- Diplomat status monitoring HOT 6
- HA warning and potential API issue HOT 3
- Error setting target temperature HOT 10
- Error setting register HOT 16
- No entities anymore HOT 27
- Thermia Online integration not working HOT 1
- On/off switch in automation HOT 4
- Hot water temperature or tap water temperature HOT 1
- Thermia iTec missing Desired Supply Line Temperature HOT 2
- ValueError for operational_status HOT 2
- Thermia Calibra Cool 7 BW heatpump with ha-thermia-heat-pump-integration HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-thermia-heat-pump-integration.