I was seeking to integrate my LG TV and found a number of threads on the subject. When I downloaded the device code (V2.5) referenced in one of them and imported it into Hubitat I got this error, the other came in ok. It looks as if there is missing data as line 23 is before the actual code.
No signature of method: Script1.definition() is applicable for argument types: (java.util.LinkedHashMap) values: [[name:LG Smart TV Discovery 2012+, namespace:ekim, author:Sam Lalor, ...]] on line 23