hllhll / HomeAssistant-EKON-iAircon

EKON iAircon / Tadiran climate component written in Python3 for Home Assistant. On the bases of Gree Climate component for easier interfacing with HASS
GNU General Public License v3.0
14 stars 7 forks source link

Certificate verify failed: unable to get local issuer certificate #14

Closed urihersh closed 3 years ago

urihersh commented 3 years ago

The home assistant log is full of repetitive error messages:

2020-09-13 23:00:17 ERROR (Thread-228) [custom_components.ekon.climate] ws_on_error() - WS Error:
2020-09-13 23:00:17 ERROR (Thread-228) [custom_components.ekon.climate] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

The problem starts after updating to the latest version, I suspect this commit -m b122768499479817f56e7933d1b8af378b613538 I restored to the first commit before it and the error was gone.

The configuration is very simple:

climate:
- platform: ekon
  name: Main account
  username: !secret tadiran_user
  password: !secret tadiran_password
  base_url: https://www.airconet.xyz/

Platform: