Script stop working

I have a lot of scripts to control my LG web os tv.
here is one of them :

service: webostv.button
data:
  entity_id: media_player.lg_webos_tv_oled55c9pla
  button: DOWN

after a couple of day’s the script(s) are stop working, when I restart homeasstant al the scripts are working fine… I don’t now how many days It keeps working.

other stuf, like lights and switches work al over the time…
what’s the possible problem here ?

It could be the integration. Have you checked for known issues relating to the integration that provides this functionality (to communicate with your TV)? Have you checked the logs?

Thx for the update, I will check the logs en intergration module.
If I have an update I let It know.