Fix broken tests + linting
This commit is contained in:
1 parent
a91f937245
commit
3ac31b2c1b
5 files changed
+18
-19
No files matched your search
@@ -81,7 +81,7 @@ class SensorTemplate(Entity):
|
||||
|
||||
self.update()
|
||||
|
||||
def template_sensor_state_listener(self, entity, old_state, new_state):
|
||||
def template_sensor_state_listener(entity, old_state, new_state):
|
||||
"""Called when the target device changes state."""
|
||||
self.update_ha_state(True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user