mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Fix missing device class on Velux Windows (#100863)
This commit is contained in:
parent
002be37257
commit
014fb61743
@ -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…
x
Reference in New Issue
Block a user