Migrate Somfy mylink to has entity name (#98947)
This commit is contained in:
parent
045c514c18
commit
faed58c01b
1 changed files with 2 additions and 1 deletions
|
@ -65,6 +65,8 @@ class SomfyShade(RestoreEntity, CoverEntity):
|
|||
|
||||
_attr_should_poll = False
|
||||
_attr_assumed_state = True
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
@ -78,7 +80,6 @@ class SomfyShade(RestoreEntity, CoverEntity):
|
|||
self.somfy_mylink = somfy_mylink
|
||||
self._target_id = target_id
|
||||
self._attr_unique_id = target_id
|
||||
self._attr_name = name
|
||||
self._reverse = reverse
|
||||
self._attr_is_closed = None
|
||||
self._attr_device_class = device_class
|
||||
|
|
Loading…
Add table
Reference in a new issue