Telegram Polling Issue with iOS Telegram - endless notification until load finished on iOS


#1

Hello! I have a problem in homeassistant ver 0.84.6 with iOS and Telegram notifications. When using inline keyboard with telegram command and callback notifications will be sent to telegram on ios in an endless loop when telegram was closed with the homebutton (sending “command done” endless) until the “load…” information on telegram-app will be finished.
I reproduced this on several homeassistant instances (hassbian+ha) - this appears only on ios and telegram app, on android everything works fine as expected.

See sample config:

telegram_bot:
  platform: polling
  api_key: xyz_apikey
  allowed_chat_ids:
    - 111111111
    - 222222222

notify:
  - name: iphone
    platform: telegram
    chat_id: 1111111111

automation:
  - alias: 'get telegram menu'
    trigger:
      platform: event
      event_type: telegram_command
      event_data:
        command: '/menu'
    action:
      - service: notify.iphone
        data:
          message: "? choose"
          data:
            inline_keyboard:
              - 'Alles-Aus:/alloff'
  - alias: 'all off command'
    trigger:
      platform: event
      event_type: telegram_callback
      event_data:
        data: '/alloff'
    action:
      - service: homeassistant.turn_off
        entity_id: switch.ixyz
      - service: notify.iphone
        data:
          message: "command done"

#2

This is really strange, or have I something wrong here?