Fix broken tests + linting
This commit is contained in:
parent
a91f937245
commit
3ac31b2c1b
5 changed files with 18 additions and 19 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue