Comments (4)
I have the same issue with clp
:
Logger: homeassistant
Source: components/sensor/init.py:671
First occurred: 17:20:09 (18 occurrences)
Last logged: 17:28:39
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 664, in state
numerical_value = int(value)
^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '[6,8,10,12,16]'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 667, in state
numerical_value = float(value)
^^^^^^^^^^^^
ValueError: could not convert string to float: '[6,8,10,12,16]'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 919, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 960, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1110, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1047, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 671, in state
raise ValueError(
ValueError: Sensor sensor.go_echarger_200xxx_clp has device class 'current', state class 'measurement' unit 'A' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: '[6,8,10,12,16]' (<class 'str'>)
Home Assistant
- Core 2024.2.1
- Supervisor 2024.01.1
- Operating System 11.5
- Frontend 20240207.1
- go-eCharger integration for Home Assistant using the MQTT API 0.22.0
from homeassistant-goecharger-mqtt.
I got this issue also.
from homeassistant-goecharger-mqtt.
Fixed by #155
from homeassistant-goecharger-mqtt.
You update the integration to version 0.24.1.
from homeassistant-goecharger-mqtt.
Related Issues (20)
- pAkku, pGrid, pPv sensors shown as "unavailable" HOT 2
- Error in Homeassistant since update 2024.01 Deprecation of STATE_CLASS_MEASUREMENT and STATE_CLASS_TOTAL_INCREASING HOT 3
- Entities not populating - what are correct settings? HOT 4
- Is it possible to manually set the load balancing priority in HA? HOT 6
- ValueError with `ocu` HOT 1
- All entities-data unavailable, but visible in MQTT-Explorer HOT 3
- Remove required serial number from topic configuration HOT 2
- No credentials for broker connection HOT 3
- Entity sensor.go_echarger_XXXXXX_wh has state class total_increasing, but its state is not strictly increasing HOT 1
- Working with Gemini flex? HOT 2
- Separate current meter needed? HOT 2
- hashtag in password -connection failed HOT 2
- Updating state for sensor.go_echarger_0XXXXXX_nrg_8 took 0.671 seconds HOT 9
- How to stop/start charging HOT 2
- Warnings in HomeAssistant update 2024.5.4 # 0.23.0 HOT 1
- charger connected but no data in HA HOT 3
- Load balancing
- Services not working in current release (0.24.x) HOT 5
- sensors not updated HOT 1
- Not Charging because of minimun pause duration
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 homeassistant-goecharger-mqtt.