From fd004fb56b091959098c40fb100619c0c1b60b6c Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Thu, 1 Oct 2020 00:18:42 -0700 Subject: [PATCH] Fix syntax error in DataUpdateCoordinator example (#657) Update MyEntity example to invoke super(). Found this as I was implementing an entity following this example. --- docs/integration_fetching_data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integration_fetching_data.md b/docs/integration_fetching_data.md index b2a6322a..c78a3b1d 100644 --- a/docs/integration_fetching_data.md +++ b/docs/integration_fetching_data.md @@ -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