Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106260

Improve efficiency of script to reduce GUI lag?

$
0
0

Hello, i have setup my AC to be controlled from my HA with a IR blaster. However it has maybe 60 different combination which has made the script massive however it runs smoothy every time the automation runs it. Except when I open the script in the GUI which makes everything run very slowly making it almost impossible to make any changes.

I need the script to check the temperature, mode & fan setting, but I feel I could improve on this to maybe not make it check for every option and optimize it. Thanks

P.S i had to upload the script on to pastebin as it was over the limit on here

https://pastebin.com/G7A2wu7F

Kind regards.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>