I am trying to send a notification to my LG WebOS TV (G5). I want to make an automation later on, that when someone is at the door, I get to see a message on my TV, when it’s turned on.
So, when using the HA interface I call the action: notify.lg_webos_tv_oled48g56ls_deuqljp. I set a message and voila, it appears on the tv.
When I set the same action in a script and set a message there, I get an error. The same action is now suddenly not available. “Action notify.lg_webos_tv_oled55g56ls_deuqljp not found.”. This has got me really puzzled.
How come it works through the interace of HA, but not when execution a script?
It’s not the same action. The first notify refers to oled48 whereas the second notify refers to oled55.
Are both correct or is it possible that the second one is incorrect and would explain why it produced a “not found” error message?
EDIT
I corrected my original post because I had made a mistake. I thought PeterVanDerSanden’s example was Lifelogger’s reply to Sir_Goodenough’s request to post the script. My apologies to Lifelogger for any confusion I may have caused.