Device type garage for binary sensor garage_door (#23345)

* Switch binary sensor to garage for garage_door

* Add test for cover garage device type
This commit is contained in:
Joakim Plate authored and Paulus Schoutsen committed 2019-04-24 09:56:22 -07:00
1 parent 843bad83fa
commit 62fcb1895e
2 files changed
+3 -2

No files matched your search

@@ -100,7 +100,7 @@ DEVICE_CLASS_TO_GOOGLE_TYPES = {
(switch.DOMAIN, switch.DEVICE_CLASS_OUTLET): TYPE_OUTLET,
(binary_sensor.DOMAIN, binary_sensor.DEVICE_CLASS_DOOR): TYPE_DOOR,
(binary_sensor.DOMAIN, binary_sensor.DEVICE_CLASS_GARAGE_DOOR):
TYPE_SENSOR,
TYPE_GARAGE,
(binary_sensor.DOMAIN, binary_sensor.DEVICE_CLASS_LOCK): TYPE_SENSOR,
(binary_sensor.DOMAIN, binary_sensor.DEVICE_CLASS_OPENING): TYPE_SENSOR,
(binary_sensor.DOMAIN, binary_sensor.DEVICE_CLASS_WINDOW): TYPE_SENSOR,