mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 08:05:06 +02:00
Remove 'entity_id' from ToggleRflinkLight (#37992)
Remove `entity_id` overwrite from `ToggleRflinkLight` class
This commit is contained in:
@@ -280,11 +280,6 @@ class ToggleRflinkLight(SwitchableRflinkDevice, LightEntity):
|
||||
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):
|
||||
"""Adjust state if Rflink picks up a remote command for this device."""
|
||||
self.cancel_queued_send_commands()
|
||||
|
Reference in New Issue
Block a user