mirror of
https://github.com/Anonym-tsk/smart-domofon.git
synced 2025-12-06 19:46:59 +03:00
Merge pull request #11 from aprosvetova/patch-1
Fix push-button behavior
This commit is contained in:
@@ -139,6 +139,7 @@ switch:
|
|||||||
name: "${board_name} accept call"
|
name: "${board_name} accept call"
|
||||||
icon: "mdi:door-open"
|
icon: "mdi:door-open"
|
||||||
lambda: "return false;"
|
lambda: "return false;"
|
||||||
|
optimistic: true
|
||||||
turn_on_action:
|
turn_on_action:
|
||||||
if:
|
if:
|
||||||
condition:
|
condition:
|
||||||
@@ -153,6 +154,7 @@ switch:
|
|||||||
name: "${board_name} reject call"
|
name: "${board_name} reject call"
|
||||||
icon: "mdi:door-closed-lock"
|
icon: "mdi:door-closed-lock"
|
||||||
lambda: "return false;"
|
lambda: "return false;"
|
||||||
|
optimistic: true
|
||||||
turn_on_action:
|
turn_on_action:
|
||||||
if:
|
if:
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
Reference in New Issue
Block a user