Fix broken tests + linting

This commit is contained in:
Paulus Schoutsen 2016-05-30 10:19:12 -07:00
parent a91f937245
commit 3ac31b2c1b
5 changed files with 18 additions and 19 deletions

View file

@ -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)