Add mm/s as a native unit of measurement for speed device class #1128
Unanswered
bharvey88
asked this question in
Entity Models
Replies: 1 comment
-
This makes sense to me. Anything using an LD24* series chip or other similar chip is going to report in mm/s not mm/h or similar. At least |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Devices using mm/s (such as ones in esphome) are currently throwing a warning as there is no support for mm/s.
Esphome devices, plus ld2410_BLE, plus any mmWave sensor such as the LD2450 https://www.hlktech.net/index.php?id=1157 is effected by this issue. Anything currently supporting distance/movement could potentially benefit by this.
2024-08-22 10:27:28.208 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.apollo_mtr_1_c64a28_target_1_speed (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using native unit of measurement 'mm/s' which is not a valid unit for the device class ('speed') it is using; expected one of ['ft/s', 'mm/d', 'm/s', 'in/d', 'mph', 'mm/h', 'in/h', 'Beaufort', 'kn', 'km/h']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22 2024-08-22 10:27:28.262 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.apollo_mtr_1_c64a28_target_2_speed (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using native unit of measurement 'mm/s' which is not a valid unit for the device class ('speed') it is using; expected one of ['ft/s', 'mm/d', 'm/s', 'in/d', 'mph', 'mm/h', 'in/h', 'Beaufort', 'kn', 'km/h']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22 2024-08-22 10:27:28.321 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.apollo_mtr_1_c64a28_target_3_speed (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using native unit of measurement 'mm/s' which is not a valid unit for the device class ('speed') it is using; expected one of ['ft/s', 'mm/d', 'm/s', 'in/d', 'mph', 'mm/h', 'in/h', 'Beaufort', 'kn', 'km/h']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22
logs showing the warning.Beta Was this translation helpful? Give feedback.
All reactions