mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Add a few more sensor classes
This adds hot, cold, and moving sensor_class values for things that we may want to support.
This commit is contained in:
parent
49e588deb3
commit
eb5f208a09
@ -26,6 +26,9 @@ SENSOR_CLASSES = [
|
|||||||
'light', # Lightness threshold
|
'light', # Lightness threshold
|
||||||
'power', # Power, over-current, etc
|
'power', # Power, over-current, etc
|
||||||
'safety', # Generic on=unsafe, off=safe
|
'safety', # Generic on=unsafe, off=safe
|
||||||
|
'heat', # On means hot (or too hot)
|
||||||
|
'cold', # On means cold (or too cold)
|
||||||
|
'moving', # On means moving, Off means stopped
|
||||||
]
|
]
|
||||||
|
|
||||||
# Maps discovered services to their platforms
|
# Maps discovered services to their platforms
|
||||||
|
Loading…
x
Reference in New Issue
Block a user