I had discussion about this in the chat yesterday and my hunch was correct. I am using the duckdns + ld addon in Hassio. I have my cert_expiry component setup
Port 443 is forwarded to 8123 in my routers. I can access Hassio just fine from outside and authenticate with the PW over ssl.
But the sensor doesn’t work on boot-up. However I assume after midnight it checks again or it checks every so often . so eventually it started working and is working right now.
Just letting everyone know. I assume if I reboot it will go back to unknown until it checks again then start working.