brianjking/homeassistant-config

Certificate Expiry Component Cannot Resolve Hostname

brianjking opened this issue · 2 comments

2018-10-25 17:04:44 ERROR (Thread-13) [homeassistant.components.sensor.cert_expiry] Cannot resolve hostname: https://my-host-name.ddns.net

https://github.com/brianjking/homeassistant-config/blob/master/sensor/cert-expiration.yaml#L1-L2

https://www.home-assistant.io/components/sensor.cert_expiry/

@brianjking it looks like you have added 'https://' to your config.
the correct syntax looks like this

- platform: cert_expiry
  host: v6.tuxcall.de

image

Thank you @speedmann. I used to have the host without the https:// and then had to update it for my base_url in the http component. Once I switched over to a new secret without the https:// at the beginning it now works properly.