h4de5 / home-assistant-vimar

VIMAR by-me integration into home-assistant.io
GNU General Public License v3.0
43 stars 6 forks source link

Patch the returned certificate_file may be False #42

Closed robigan closed 2 years ago

robigan commented 2 years ago

In the function VimarLink._request, the function can return either None or False in the case of an error, so therefore include checking for the False state in the case of a request exception when checking that certificate_file is None