Remove unnecessary should poll from sensor classes (#41219)

* Remove unnecessary should poll from sensor classes

* Remove two more occurrences
This commit is contained in:
springstan authored and GitHub committed 2020-10-04 21:35:59 +02:00
1 parent e51be33e18
commit f47d58d9c2
7 files changed
-46

No files matched your search

-16
View File
@@ -169,14 +169,6 @@ class FinTsAccount(Entity):
self._balance: float = None
self._currency: str = None
@property
def should_poll(self) -> bool:
"""Return True.
Data needs to be polled from the bank servers.
"""
return True
def update(self) -> None:
"""Get the current balance and currency for the account."""
bank = self._client.client
@@ -229,14 +221,6 @@ class FinTsHoldingsAccount(Entity):
self._holdings = []
self._total: float = None
@property
def should_poll(self) -> bool:
"""Return True.
Data needs to be polled from the bank servers.
"""
return True
def update(self) -> None:
"""Get the current holdings for the account."""
bank = self._client.client