sermayoral / ha-samsungtv-encrypted

Samsung TV Encrypted Models (H & J Series) custom component for Home Assistant
Apache License 2.0
38 stars 24 forks source link

Refactor out upnp services #49

Open nashant opened 4 years ago

nashant commented 4 years ago

This is a fairly large change, but it opens up the possibility of tapping in to other upnp services that are on the tv. It uses closures to dynamically create the upnp device methods from the scpd description.

I've tested as much as I can and all functionality seems to be retained.