Hi,
i 've this 2 automation and want to remove inline keyboard if press button /dismiss
automation 1
- id: '11111111111111'
alias: Luci Telegram
description: ''
trigger:
- entity_id: group.family
from: home
platform: state
to: not_home
condition: []
action:
- data:
data:
inline_keyboard:
- Spegni:/spegni
- Accendi:/accendi
- Annulla:/dismiss
message: Luce accesa, vuoi spegnerla?
title: AC was turned on
service: notify.davide
Second automation (not work) if presss Annulla:/dismiss
- id: '1579993747429'
alias: rimuovi tastiera telegram
description: ''
trigger:
- event_data:
data: /dismiss
event_type: telegram_callback
platform: event
condition: []
action:
- data:
data_template:
chat_id: mychat_id
inline_keyboard: []
message: Fatto
message_id: last
service: telegram_bot.edit_replymarkup
This callback command not work, any suggestion? I want only remove inline keyboard previously show with the first automation