LG WebOS wakeup not always working

WOL works most of the time, but sometimes it doesn’t. After a restart of HA it works though.

When it fails the button to switch on the tv is missing in the frontend as well.

Anything I can do other than restarting HA constantly?

  alias: TV wakeup
  description: ''
  trigger:
  - platform: webostv.turn_on
    entity_id: media_player.tv
  action:
  - service: wake_on_lan.send_magic_packet
    data:
      mac: 00:00:00:00:00:00
  mode: single