Merge system options into pref properties (#51347)

* Make system options future proof

* Update tests

* Add types
This commit is contained in:
Paulus Schoutsen 2021-06-01 13:34:31 -07:00 committed by GitHub
parent 9e3ee73b8b
commit ee2c950716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 188 additions and 245 deletions

View file

@ -111,7 +111,7 @@ class DataUpdateCoordinator(Generic[T]):
if self.update_interval is None:
return
if self.config_entry and self.config_entry.system_options.disable_polling:
if self.config_entry and self.config_entry.pref_disable_polling:
return
if self._unsub_refresh: