mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Remove 'entity_id' from ToggleRflinkLight (#37992)
Remove `entity_id` overwrite from `ToggleRflinkLight` class
This commit is contained in:
parent
7d4a9ac65a
commit
ef35eea0f6
@ -280,11 +280,6 @@ class ToggleRflinkLight(SwitchableRflinkDevice, LightEntity):
|
|||||||
and if the light is off and 'on' gets sent, the light will turn on.
|
and if the light is off and 'on' gets sent, the light will turn on.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@property
|
|
||||||
def entity_id(self):
|
|
||||||
"""Return entity id."""
|
|
||||||
return f"light.{self.name}"
|
|
||||||
|
|
||||||
def _handle_event(self, event):
|
def _handle_event(self, event):
|
||||||
"""Adjust state if Rflink picks up a remote command for this device."""
|
"""Adjust state if Rflink picks up a remote command for this device."""
|
||||||
self.cancel_queued_send_commands()
|
self.cancel_queued_send_commands()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user