updating configuration
This commit is contained in:
1 parent
5ab3a0ee60
commit
7b74d8015f
6 files changed
+138
-20
No files matched your search
@@ -32,7 +32,7 @@ class Intercom(hass.Hass):
|
||||
self.listen_state(self.sensor_trigger, self.args['sensor'])
|
||||
|
||||
def sensor_trigger(self, entity, attribute, old, new, kwargs):
|
||||
if new != "off":
|
||||
if new != "on":
|
||||
return
|
||||
self.log("domofon_call")
|
||||
self.domofon_call(None, None, None)
|
||||
|
||||
Reference in new issue
Block a user