Fix broken tests + linting
This commit is contained in:
1 parent
a91f937245
commit
3ac31b2c1b
5 files changed
+18
-19
No files matched your search
@@ -89,8 +89,7 @@ class BinarySensorTemplate(BinarySensorDevice):
|
||||
|
||||
self.update()
|
||||
|
||||
def template_bsensor_state_listener(self, entity, old_state,
|
||||
new_state):
|
||||
def template_bsensor_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