From 07f2f78b0265cbc35bffe324d8d533adf7cecb9d Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Wed, 2 Sep 2020 08:56:27 +0200 Subject: [PATCH] Add shelly overtemp and vibration sensors (#39556) --- homeassistant/components/shelly/binary_sensor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/shelly/binary_sensor.py b/homeassistant/components/shelly/binary_sensor.py index 236b2a1cb5e..52a752a64f9 100644 --- a/homeassistant/components/shelly/binary_sensor.py +++ b/homeassistant/components/shelly/binary_sensor.py @@ -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, }