Skip to content

[Bug]: The unit of this entity changed #1391

Open
@Draghmar

Description

@Draghmar

What happened?

After upadting HA to 2024.10 there are messages about few ATC (Atc1441) devices having:

The unit of 'ble voltage Lazienka' (sensor.ble_voltage_lazienka) changed to '' which can't be converted to the previously stored unit, 'V'.
If the historic statistic values have a wrong unit, you can update the units of the old values. The values will not be updated.
Otherwise you can choose to delete all historic statistic values, and start over.

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

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:731
integration: Sensor (documentation, issues)
First occurred: 3 October 2024 at 14:14:29 (10 occurrences)
Last logged: 3 October 2024 at 14:14:29

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions