Open Draghmar opened 1 month ago
Hi,
I have similar issue with Xiaomi Mi Scale V2 after 2024.10 update:
`The unit of 'ble stabilized weight' (sensor.ble_stabilized_weight) changed to '' which can't be converted to the previously stored unit, 'kg'.
The unit of 'ble non-stabilized weight' (sensor.ble_non_stabilized_weight) changed to '' which can't be converted to the previously stored unit, 'kg'. `
BR, P.
Hm...Weird thing. I had reboot Pi for other reason and after that those messages are gone. So maybe the fix did something but it needed reboot to show it up? But I still got something in the log:
Source: components/sensor/__init__.py:731
integration: Sensor (documentation, issues)
First occurred: 10:20:50 (10 occurrences)
Last logged: 10:20:50
Entity sensor.ble_voltage_salon (<class 'custom_components.ble_monitor.sensor.MeasuringSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('voltage') it is using; expected one of ['V', 'mV']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/custom-components/ble_monitor/issues
Entity sensor.ble_humidity_serwerownia (<class 'custom_components.ble_monitor.sensor.HumiditySensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('humidity') it is using; expected one of ['%']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/custom-components/ble_monitor/issues
Entity sensor.ble_battery_serwerownia (<class 'custom_components.ble_monitor.sensor.BatterySensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('battery') it is using; expected one of ['%']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/custom-components/ble_monitor/issues
Entity sensor.ble_humidity_sypialnia (<class 'custom_components.ble_monitor.sensor.HumiditySensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('humidity') it is using; expected one of ['%']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/custom-components/ble_monitor/issues
Entity sensor.ble_voltage_sypialnia (<class 'custom_components.ble_monitor.sensor.MeasuringSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('voltage') it is using; expected one of ['V', 'mV']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/custom-components/ble_monitor/issues
Could that mean that those logs are related to something else?
I thought I have seen the first error in the opening post somewhere, in some other issue. The solution, if I remember correct, was to to clear the cache and reboot, which is most likely the reason the error is gone now. But I can’t find back the issue where I have seen the solution.
The other issue can be ignored, you just received a BLE message without data, or the restore of the sensor data after a restart did not work. If it only happens after a reboot, try to change the setting to restore the sensor data after a reboot.
What happened?
After upadting HA to 2024.10 there are messages about few ATC (Atc1441) devices having:
HA suggests either deleting offending entries or update the unit. Tried both of them but I don't think anything happened. Is this something related to the BLE Monitor?
Sensor type
ATC (Atc1441) [custom firmware]
Relevant log output