sburke781 / hubitat

Hubitat apps and device drivers
8 stars 8 forks source link

GHUB Battery Handling NaN #54

Closed sburke781 closed 2 years ago

sburke781 commented 2 years ago

Handling when the Logitech device is turned off or not connected to the PC, which results in 'NaN' being returned, currently producing a warning message in the logs each time a poll is performed. Will update the driver to not attempt to convert this to a decimal and will not call the battery sensor device to update the battery level.