Fix broken tests + linting

This commit is contained in:
Paulus Schoutsen committed 2016-05-30 10:19:12 -07:00
1 parent a91f937245
commit 3ac31b2c1b
5 files changed
+18 -19

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ class SwitchTemplate(SwitchDevice):
self.update()
def template_switch_state_listener(self, entity, old_state, new_state):
def template_switch_state_listener(entity, old_state, new_state):
"""Called when the target device changes state."""
self.update_ha_state(True)