Closed philspain72 closed 1 month ago
It is still doing the same in 24.6 update. Is it only me having this problem?
I have exactly the same problem. Stopped working with 24.6 update.
I added comment on core also https://github.com/home-assistant/core/issues/118932
I updated to the latest versions yesterday and my Smart Solar and Battery Sense are both not working with a failure to set-up error showing on the integration page... have not yet dug in deeper to see if reverting fixes it.
I have the exact same issue. Thanks
have the same problem
ok i found a solution. edit the sensor.py file and change the line 215 to
PassiveBluetoothDataProcessor[Optional[Union[float, int]], 1]
reload integration and you get data from the bluetooth device. working here with a smartshunt
ok i found a solution. edit the sensor.py file and change the line 215 to
PassiveBluetoothDataProcessor[Optional[Union[float, int]], 1]
reload integration and you get data from the bluetooth device. working here with a smartshunt
thx dude, it works
ok i found a solution. edit the sensor.py file and change the line 215 to
PassiveBluetoothDataProcessor[Optional[Union[float, int]], 1]
reload integration and you get data from the bluetooth device. working here with a smartshunt
Can you help me: sensor.py has only 207 lines (even in Github). Seems to be line 198.
Thanks!
If you search for PassiveBluetoothDataProcessor[Optional[Union[float, int]]] in your sensor.py file you should find it.
Was line 199 for me, adding the ', 1' Fixed my implementation, haven't tried to understand why yet 😉
fixed in #115
line 198 in the original version is right. i added some more to DESCRIPTIOS for my smartshut
(
VictronSensor.STARTER_BATTERY_VOLTAGE,
Units.ELECTRIC_POTENTIAL_VOLT,
): SensorEntityDescription(
key=VictronSensor.STARTER_BATTERY_VOLTAGE,
device_class=SensorDeviceClass.VOLTAGE,
native_unit_of_measurement=Units.ELECTRIC_POTENTIAL_VOLT,
state_class=SensorStateClass.MEASUREMENT,
),
(
VictronSensor.MIDPOINT_VOLTAGE,
Units.ELECTRIC_POTENTIAL_VOLT,
): SensorEntityDescription(
key=VictronSensor.MIDPOINT_VOLTAGE,
device_class=SensorDeviceClass.VOLTAGE,
native_unit_of_measurement=Units.ELECTRIC_POTENTIAL_VOLT,
state_class=SensorStateClass.MEASUREMENT,
),
thanks
With the beta of this month the integration stopped working it is not connecting to the device anymore. When I restore the backup of the last version it works again.
The device is the Victron Smart Battery Sense
I have the latest version of this integration
--> 0.1.1
Version of the custom_component
Configuration