Fix missing device class on Velux Windows (#100863)
This commit is contained in:
parent
002be37257
commit
014fb61743
1 changed files with 7 additions and 1 deletions
|
@ -299,8 +299,14 @@ class HomeKitWindowCover(HomeKitEntity, CoverEntity):
|
|||
return {"obstruction-detected": obstruction_detected}
|
||||
|
||||
|
||||
class HomeKitWindow(HomeKitWindowCover):
|
||||
"""Representation of a HomeKit Window."""
|
||||
|
||||
_attr_device_class = CoverDeviceClass.WINDOW
|
||||
|
||||
|
||||
ENTITY_TYPES = {
|
||||
ServicesTypes.GARAGE_DOOR_OPENER: HomeKitGarageDoorCover,
|
||||
ServicesTypes.WINDOW_COVERING: HomeKitWindowCover,
|
||||
ServicesTypes.WINDOW: HomeKitWindowCover,
|
||||
ServicesTypes.WINDOW: HomeKitWindow,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue