Remove 'entity_id' from ToggleRflinkLight (#37992)

Remove `entity_id` overwrite from `ToggleRflinkLight` class
This commit is contained in:
javicalle 2020-08-25 13:49:00 +02:00 committed by GitHub
parent 7d4a9ac65a
commit ef35eea0f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()