roberodin / ha-samsungtv-custom

📺 HomeAssistant - SamsungTV Custom Component
Apache License 2.0
124 stars 179 forks source link

Some optimizations for QLED #55

Open straccio opened 4 years ago

straccio commented 4 years ago

I have moved the reads of HA attributes in the update function, this function is called from an async function and solve the issue #43 for the QLED TV.

I have optimized the "current_app" of the QLED in order to return after it found the active application instead continue to iterate.

PxlBuzzard commented 3 years ago

This looks good to me, I'm hoping to see this merged in!