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:
Allen Porter 2020-10-01 00:18:42 -07:00 committed by GitHub
parent fef5353496
commit fd004fb56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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