mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Add shelly overtemp and vibration sensors (#39556)
This commit is contained in:
parent
acfb4e462e
commit
07f2f78b02
@ -5,6 +5,7 @@ from homeassistant.components.binary_sensor import (
|
||||
DEVICE_CLASS_MOISTURE,
|
||||
DEVICE_CLASS_OPENING,
|
||||
DEVICE_CLASS_SMOKE,
|
||||
DEVICE_CLASS_VIBRATION,
|
||||
BinarySensorEntity,
|
||||
)
|
||||
|
||||
@ -15,7 +16,9 @@ SENSORS = {
|
||||
"dwIsOpened": DEVICE_CLASS_OPENING,
|
||||
"flood": DEVICE_CLASS_MOISTURE,
|
||||
"overpower": None,
|
||||
"overtemp": None,
|
||||
"smoke": DEVICE_CLASS_SMOKE,
|
||||
"vibration": DEVICE_CLASS_VIBRATION,
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user