mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 07:16:29 +00:00
Fix syntax error in DataUpdateCoordinator example (#657)
Update MyEntity example to invoke super(). Found this as I was implementing an entity following this example.
This commit is contained in:
parent
fef5353496
commit
fd004fb56b
@ -97,7 +97,7 @@ class MyEntity(CoordinatorEntity, LightEntity):
|
||||
|
||||
def __init__(self, coordinator, idx):
|
||||
"""Pass coordinator to CoordinatorEntity."""
|
||||
super.__init__(coordinator)
|
||||
super().__init__(coordinator)
|
||||
self.idx = idx
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user