mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +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_MOISTURE,
|
||||||
DEVICE_CLASS_OPENING,
|
DEVICE_CLASS_OPENING,
|
||||||
DEVICE_CLASS_SMOKE,
|
DEVICE_CLASS_SMOKE,
|
||||||
|
DEVICE_CLASS_VIBRATION,
|
||||||
BinarySensorEntity,
|
BinarySensorEntity,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -15,7 +16,9 @@ SENSORS = {
|
|||||||
"dwIsOpened": DEVICE_CLASS_OPENING,
|
"dwIsOpened": DEVICE_CLASS_OPENING,
|
||||||
"flood": DEVICE_CLASS_MOISTURE,
|
"flood": DEVICE_CLASS_MOISTURE,
|
||||||
"overpower": None,
|
"overpower": None,
|
||||||
|
"overtemp": None,
|
||||||
"smoke": DEVICE_CLASS_SMOKE,
|
"smoke": DEVICE_CLASS_SMOKE,
|
||||||
|
"vibration": DEVICE_CLASS_VIBRATION,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user