Don't run unnecessary methods in executor pool (#14853)

* Don't run unnecessary methods in executor pool

* Lint

* Lint 2
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-06-07 15:31:21 -04:00
1 parent 50321a29b5
commit 90a51160c4
13 files changed
+23 -32

No files matched your search

@@ -54,6 +54,7 @@ class VerisureDoorWindowSensor(BinarySensorDevice):
"$.doorWindow.doorWindowDevice[?(@.deviceLabel=='%s')]",
self._device_label) is not None
# pylint: disable=no-self-use
def update(self):
"""Update the state of the sensor."""
hub.update_overview()