Merge pull request #11 from aprosvetova/patch-1

Fix push-button behavior
This commit is contained in:
Nikolay Vasilchuk
2021-09-20 17:51:53 +03:00
committed by GitHub

View File

@@ -139,6 +139,7 @@ switch:
name: "${board_name} accept call"
icon: "mdi:door-open"
lambda: "return false;"
optimistic: true
turn_on_action:
if:
condition:
@@ -153,6 +154,7 @@ switch:
name: "${board_name} reject call"
icon: "mdi:door-closed-lock"
lambda: "return false;"
optimistic: true
turn_on_action:
if:
condition:
@@ -160,4 +162,4 @@ switch:
then:
script.execute: call_reject
else:
logger.log: "No incoming call"
logger.log: "No incoming call"