mirror of
https://github.com/Anonym-tsk/smart-domofon.git
synced 2025-12-06 11:36:57 +03:00
Fixed telegram for HA 0.118
This commit is contained in:
committed by
GitHub
parent
4cff7c4beb
commit
09e07df9af
@@ -13,7 +13,7 @@ automation:
|
||||
message: "Звонок в домофон {% if is_state('switch.domofon_automatically_open', 'on') or is_state('switch.domofon_automatically_open_once', 'on') %}(откроется автоматически){% endif %}"
|
||||
data:
|
||||
inline_keyboard:
|
||||
- "{{ '0' if is_state('switch.domofon_automatically_open', 'on') or is_state('switch.domofon_automatically_open_once', 'on') else 'Открыть:/domofon_open, Отклонить:/domofon_reject' }}"
|
||||
- "{{ '-' if is_state('switch.domofon_automatically_open', 'on') or is_state('switch.domofon_automatically_open_once', 'on') else 'Открыть:/domofon_open, Отклонить:/domofon_reject' }}"
|
||||
|
||||
- alias: Telegram /domofon_open callback
|
||||
initial_state: true
|
||||
|
||||
Reference in New Issue
Block a user