sburke781 / hubitat

Hubitat apps and device drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GHUB Battery Handling NaN

sburke781 opened this issue · comments

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.