hass-workstation-service
hass-workstation-service copied to clipboard
Feature Request: Windows Update Sensors
As a user, there are two things related to Windows Update that are interesting to me
- Are there updates available
- Does the host require a restart
Luckily, it's quite easy to figure out both of these things.
In fact, there's already a very useful Stackoverflow post containing everything one would want to know about that, which is a relief because the windows docs weren't as helpful as I had hoped regarding fetching the number of pending updates due to weird API design choices.
Who would've thought that for fetching just that value, one needs to start an update Session to do a local-only search for updates. Definitely not me.
This is more or less an extension of #55
Thanks for creating an issue! And also thanks for providing the information. It's an interesting idea that shouldn't be too hard to implement.