mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
parent
7ce1ba9304
commit
589e3952de
@ -400,6 +400,7 @@ class MotionTDBUDevice(MotionPositionDevice):
|
|||||||
def __init__(self, coordinator, blind, device_class, motor):
|
def __init__(self, coordinator, blind, device_class, motor):
|
||||||
"""Initialize the blind."""
|
"""Initialize the blind."""
|
||||||
super().__init__(coordinator, blind, device_class)
|
super().__init__(coordinator, blind, device_class)
|
||||||
|
delattr(self, "_attr_name")
|
||||||
self._motor = motor
|
self._motor = motor
|
||||||
self._motor_key = motor[0]
|
self._motor_key = motor[0]
|
||||||
self._attr_translation_key = motor.lower()
|
self._attr_translation_key = motor.lower()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user