Hi, This is my first post, so apologies if I have put this in the wrong area, but I could do with some advice.
I have just upgraded to the latest version:-
Home Assistant 2023.5.0
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.1 - latest
And have started to see the error below, I don’t remember seeing it before the upgrade, any ideas anyone ?
Logger: homeassistant
Source: components/sensor/init.py:583
First occurred: 3 May 2023 at 23:52:10 (8319 occurrences)
Last logged: 00:15:34
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 = float(value) # type:ignore[arg-type]
ValueError: could not convert string to float: b’167091W’
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 572, in async_update_ha_state
self._async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 649, in _async_write_ha_state
state = self._stringify_state(available)
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 591, in _stringify_state
if (state := self.state) is None:
File “/usr/src/homeassistant/homeassistant/components/sensor/init.py”, line 583, in state
raise ValueError(
ValueError: Sensor sensor.victron_grid_serial_31 has device class None, state class None unit and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: b’167091W’ (<class ‘bytes’>)