mirror of
https://github.com/home-assistant/core
synced 2024-10-05 02:11:33 +00:00
parent
7ce1ba9304
commit
589e3952de
|
@ -400,6 +400,7 @@ class MotionTDBUDevice(MotionPositionDevice):
|
|||
def __init__(self, coordinator, blind, device_class, motor):
|
||||
"""Initialize the blind."""
|
||||
super().__init__(coordinator, blind, device_class)
|
||||
delattr(self, "_attr_name")
|
||||
self._motor = motor
|
||||
self._motor_key = motor[0]
|
||||
self._attr_translation_key = motor.lower()
|
||||
|
|
Loading…
Reference in a new issue