Migrate Wilight to has entity name (#96825)
Migrate Wilight to has entity naming
This commit is contained in:
parent
d361caf6c4
commit
772fb463b5
6 changed files with 19 additions and 9 deletions
|
@ -57,6 +57,8 @@ def hass_to_wilight_position(value: int) -> int:
|
|||
class WiLightCover(WiLightDevice, CoverEntity):
|
||||
"""Representation of a WiLights cover."""
|
||||
|
||||
_attr_name = None
|
||||
|
||||
@property
|
||||
def current_cover_position(self) -> int | None:
|
||||
"""Return current position of cover.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue