ble_monitor icon indicating copy to clipboard operation
ble_monitor copied to clipboard

[Bug]: Inkbird IBS-TH sensors unit of meausrement

Open to4ko opened this issue 2 years ago • 11 comments

What happened?

Some warnings regarding my Inkbird IBS-TH sensors units of measurement

Sensor type

Inkbird IBS-TH

Relevant log output

2023-08-02 21:19:52.120 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ble_rssi_ble_fridge (<class 'custom_components.ble_monitor.sensor.MeasuringSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('signal_strength') it is using; expected one of ['dBm', 'dB']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-08-02 21:19:52.123 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ble_battery_ble_fridge (<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 report it to the custom integration author.
2023-08-02 21:19:52.123 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ble_humidity_ble_fridge (<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 report it to the custom integration author.

to4ko avatar Aug 02 '23 19:08 to4ko

To Fix:

  • Disable "Restart state on reboot"
  • Restart
  • Wait a while till sensor data start to be updated again
  • Re-enable "Restart state on reboot" again
  • Restart again

And it should be fine again.

See also #1223

Ernst79 avatar Sep 22 '23 14:09 Ernst79

nope...it's stil lthe same in log

2023-09-22 17:34:17.051 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ble_battery_ble_fridge (<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 report it to the custom integration author. 2023-09-22 17:34:17.052 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ble_humidity_ble_fridge (<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 report it to the custom integration author. 2023-09-22 17:34:17.052 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ble_rssi_ble_fridge (<class 'custom_components.ble_monitor.sensor.MeasuringSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('signal_strength') it is using; expected one of ['dBm', 'dB']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

to4ko avatar Sep 22 '23 14:09 to4ko

one device (with issue) image

second device (no issue) image

to4ko avatar Sep 22 '23 14:09 to4ko

Try to run it for a while (> 24 hours) with "Restore state on reboot" disabled, and do a restart after that.

Ernst79 avatar Sep 22 '23 14:09 Ernst79

no changes at all - units are still not updated image

to4ko avatar Sep 24 '23 17:09 to4ko

on the second HA instance - both Inkbird sensors do not have UOMs? except temperature ones

to4ko avatar Sep 24 '23 17:09 to4ko

Are you still having this issue? If so, try to delete the device from the BLE monitor settings, restart HA and re-add it after that?

Ernst79 avatar Jan 13 '24 11:01 Ernst79

no changes at all. one device is still ok image

and the second is not

image

to4ko avatar Jan 13 '24 20:01 to4ko

Can you then try the following. Delete the device from the BLE monitor settings (delete device), restart HA and then run the service Passive BLE Monitor: Cleanup entries. You can find this service in the services menu under developer tools. After that, you can add the device again.

Ernst79 avatar Jan 13 '24 20:01 Ernst79

Can you then try the following. Delete the device from the BLE monitor settings (delete device), restart HA and then run the service Passive BLE Monitor: Cleanup entries. You can find this service in the services menu under developer tools. After that, you can add the device again.

in case of yaml config - remove respective lines from list of devices, reboot HA, clean entities, revert back list of devices?

to4ko avatar Jan 14 '24 08:01 to4ko

Yes, that should do the same I think

Ernst79 avatar Jan 14 '24 08:01 Ernst79