LG TV plugin with Telegram

Hi All,

I’m trying to get messages send to Telegram for my LG TV. Using the plugin for LG TV.
The off message works,but for some reason the on never send a message to telegram:Below my yaml’s for on and off:

OFF- working
alias: LG TV OFF
description: “”
triggers:

  • trigger: state
    entity_id:
    • media_player.lg_webos_tv_oled65c54la_deuqljp
      from:
    • “on”
      to:
    • “off”
      conditions:
      actions:
  • action: telegram_bot.send_message
    metadata: {}
    data:
    title: LG TV
    message: LG TV OFF
    mode: single

ON: Not working
alias: LG TV ON
description: “”
triggers:

  • trigger: state
    entity_id:
    • media_player.lg_webos_tv_oled65c54la_deuqljp
      from:
    • “off”
      to:
    • “on”
      conditions:
      actions:
  • action: telegram_bot.send_message
    metadata: {}
    data:
    title: LG TV
    message: LG TV ON
    mode: single

anyone who has this working, i also tried from on to stanby, but similar problem.

Regards,
Hemant

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#p-578066-oneone-format-it-properly-16