hass-workstation-service icon indicating copy to clipboard operation
hass-workstation-service copied to clipboard

Feature Request: Windows Update Sensors

Open Hypfer opened this issue 3 years ago • 1 comments

As a user, there are two things related to Windows Update that are interesting to me

  1. Are there updates available
  2. 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

Hypfer avatar Apr 17 '21 20:04 Hypfer

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.

sleevezipper avatar May 03 '21 19:05 sleevezipper