Add support for window device class to google assistant (#89564)
This commit is contained in:
parent
b9ac6b4a7c
commit
877efc993b
2 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,7 @@ DEVICE_CLASS_TO_GOOGLE_TYPES = {
|
|||
(cover.DOMAIN, cover.CoverDeviceClass.GARAGE): TYPE_GARAGE,
|
||||
(cover.DOMAIN, cover.CoverDeviceClass.GATE): TYPE_GARAGE,
|
||||
(cover.DOMAIN, cover.CoverDeviceClass.SHUTTER): TYPE_SHUTTER,
|
||||
(cover.DOMAIN, cover.CoverDeviceClass.WINDOW): TYPE_WINDOW,
|
||||
(
|
||||
humidifier.DOMAIN,
|
||||
humidifier.HumidifierDeviceClass.DEHUMIDIFIER,
|
||||
|
|
|
@ -1113,6 +1113,7 @@ async def test_device_class_binary_sensor(
|
|||
("awning", "action.devices.types.AWNING"),
|
||||
("shutter", "action.devices.types.SHUTTER"),
|
||||
("curtain", "action.devices.types.CURTAIN"),
|
||||
("window", "action.devices.types.WINDOW"),
|
||||
],
|
||||
)
|
||||
async def test_device_class_cover(
|
||||
|
|
Loading…
Add table
Reference in a new issue