node-zwave-js
node-zwave-js copied to clipboard
Add logging of queued value polling for sleeping nodes
Is your feature request related to a problem? Please describe.
I've created an automation in HA to refresh battery levels every week (in-lieu of #2589), since none of my battery devices report their levels automatically. This service in HA capability uses the pollValue
API. When this API is used, the queued message is not logged in the driver logs.
Describe the solution you'd like A log message in the driver logs when a value poll (or perhaps any command) is requested and queued for later. This would make it easy to confirm that the driver actually received the request.
Describe alternatives you've considered An API to inspect the message queue, as mentioned in #985.
Additional context