mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
committed by
Franck Nijhof
parent
da6c571e65
commit
003673cd29
@@ -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()
|
||||||
|
Reference in New Issue
Block a user