router: fix chat_id int conversion for timer expiry
This commit is contained in:
@@ -186,8 +186,8 @@ router:
|
|||||||
- service: shell_command.wrt_ca_on
|
- service: shell_command.wrt_ca_on
|
||||||
- service: telegram_bot.send_message
|
- service: telegram_bot.send_message
|
||||||
data:
|
data:
|
||||||
chat_id: "{{ states('input_text.wrt_ca_chat_id') | default('102879274') }}"
|
chat_id: "{{ states('input_text.wrt_ca_chat_id') | int(default=102879274) }}"
|
||||||
message: "<b>⏰ Таймер истёк!</b>\nconnect-accept включён автоматически."
|
message: "<b>⏰ Таймер истёк!</b>\nconnect-accept включён автоматически."
|
||||||
inline_keyboard:
|
inline_keyboard:
|
||||||
- "⏸️ Отключить:/wrt_cb_off|{{ states('input_text.wrt_ca_chat_id') | default('102879274') }}, 🔄 Обновить:/wrt_cb_refresh|{{ states('input_text.wrt_ca_chat_id') | default('102879274') }}"
|
- "⏸️ Отключить:/wrt_cb_off|{{ states('input_text.wrt_ca_chat_id') | int(default=102879274) }}, 🔄 Обновить:/wrt_cb_refresh|{{ states('input_text.wrt_ca_chat_id') | int(default=102879274) }}"
|
||||||
- "🔙 Главное меню:/menu_back"
|
- "🔙 Главное меню:/menu_back"
|
||||||
|
|||||||
Reference in New Issue
Block a user