Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95468

Home Assistant Telegram inline keyboard

$
0
0

@FredRoot wrote:

I have used the example on the wiki page https://www.home-assistant.io/integrations/alert/

# Example configuration.yaml entry
alert:
  garage_door:
    name: Garage is open
    entity_id: input_boolean.garage_door
    state: 'on'   # Optional, 'on' is the default value
    repeat:
      - 15
      - 30
      - 60
    can_acknowledge: True  # Optional, default is True
    skip_first: True  # Optional, false is the default
    data:
      inline_keyboard:
        - 'Close garage:/close_garage, Acknowledge:/garage_acknowledge'
    notifiers:
      - frank_telegram

When my alert is triggered, I get the message and the inline buttons, but nothing happens when I press the buttons. From the example, I assume that the message that is going to be sent will be /close_garage when the Close garage button is pressed. I have linked this message to a Node-Red chat-bot. When I type the message /close_garage, the chat_bot receives the message and acts accordingly, but the bot does not get the message when I press the button.
Can you think of some setting that I missed?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>