Add shelly overtemp and vibration sensors (#39556)

This commit is contained in:
Simone Chemelli 2020-09-02 08:56:27 +02:00 committed by GitHub
parent acfb4e462e
commit 07f2f78b02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}