Open kylerw opened 7 years ago
Doesn't poll the device but will simply send the current value/state. This helps for periodic reboots that might lose/forget states. Since updateSubscription() runs every 15 minutes there that would be the maximum amount of time that HomeAssistant is without states from ST.
@kylerw Everytime I turn around I run into a thread where you're working on a commit that I need. We must have the exact same setup. :D
I couldn't figure out how to give you a PR to your PR, so I just made a new one with the updated code.
However, it appears this may hit a rate limit issue with the device type.
during each subscription update, push the current value of each subscribed device.
My ST development is nearly non-existent so there may be a more efficient way to do this but this is working for me.