brianjking / homeassistant-config

Configuration for @brianjking Home Assistant
https://home-assistant.io
82 stars 8 forks source link

Certificate Expiry Component Cannot Resolve Hostname #158

Closed brianjking closed 5 years ago

brianjking commented 5 years ago
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/

speedmann commented 5 years ago

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

- platform: cert_expiry
  host: v6.tuxcall.de
brianjking commented 5 years ago

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.