Re-instate device class update for binary sensors (#2743)

This commit is contained in:
Franck Nijhof
2021-11-17 11:28:31 +01:00
committed by Jesse Hills
parent 67558bec47
commit 8294d10d5b
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -883,6 +883,7 @@ DEVICE_CLASS_SAFETY = "safety"
DEVICE_CLASS_SMOKE = "smoke"
DEVICE_CLASS_SOUND = "sound"
DEVICE_CLASS_TAMPER = "tamper"
DEVICE_CLASS_UPDATE = "update"
DEVICE_CLASS_VIBRATION = "vibration"
DEVICE_CLASS_WINDOW = "window"
# device classes of both binary_sensor and sensor component