Fix Control4 token refresh (#38302)

This commit is contained in:
lawtancool authored and GitHub committed 2020-08-04 21:35:28 +02:00
1 parent e208d8b93e
commit 96c6e4c2f4
2 files changed
+14 -13

No files matched your search

@@ -171,9 +171,7 @@ class Control4Entity(entity.Entity):
):
"""Initialize a Control4 entity."""
self.entry = entry
self.account = entry_data[CONF_ACCOUNT]
self.director = entry_data[CONF_DIRECTOR]
self.director_token_expiry = entry_data[CONF_DIRECTOR_TOKEN_EXPIRATION]
self.entry_data = entry_data
self._name = name
self._idx = idx
self._coordinator = coordinator