Migrate Wilight to has entity name (#96825)

Migrate Wilight to has entity naming
This commit is contained in:
Joost Lekkerkerker 2023-07-18 11:07:26 +02:00 committed by GitHub
parent d361caf6c4
commit 772fb463b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 9 deletions

View file

@ -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.