Add device_class "direction" and "orientation" #1078
Replies: 2 comments 1 reply
-
They do not seem too generic for me. I have a nagging log entry for my Everything presence mm wave sensor (Esp32)
I wish I could set this sensor's device_class to orientation or bearing or direction. I have managed to set it to null using customize,
but that just makes core fall-back to using the original_device_class in core.entity_registry
|
Beta Was this translation helpful? Give feedback.
-
Ok, so what to do next? I started this discussion 1/2 of year ago, should I create normal ticket to realize it? |
Beta Was this translation helpful? Give feedback.
-
Hello
I am working on integration of Garni weather station to be able to untilize "autodiscovery" mechanism of Home Assistant.
These stations support (among others) also wind direction measuring. But I didn't fint such device_class (wind_direction) in the list.
So I suggest to add 2 new device classes: "direction" and "orientation".
There is a lot of real-life things, that are oriented somehow. I suppose integration cuantity of many of them will increase in the future. The same is direction.
A slight difference exists in understanding of orientation and direction: whereas orientation usually means static object, that is rotated to some direction, the "direction" usually means direction of movement (as in case of wind).
So my suggestion is to add these 2 device classes:
If these seem to be too generic, maybe "wind_direction" could be also OK for my use case. But I think the first two are wide usable for many use-cases.
There are more device classes that are missing (UV index, dew point - which is in fact temperature, but with different meaning), which are not so useful, but also consider to addthem?
Beta Was this translation helpful? Give feedback.
All reactions