Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cert_expiry fails to load on 0.99.0b0 #26619
Home Assistant release with the issue:
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Description of problem:
sensor: platform: cert_expiry host: myhadomain.duckdns.org name: Certificate
Traceback (if applicable):
there should be a t least something like this in the logs:
@Cereal2nd I am seeing the issue you are describing in the dev branch but i do not get an error as listed in bug. My issue is that the sensor does not get created after it says its successful.
the sensor only gets created after a HA reboot.
edit: when i attempt to import the configuration from configuration.yaml it works as expected, config entry created and sensor is there when it starts up. Seems to happen from user initiated flow only.
Looks like the problem is the callback that is listening for home assistant start to forward the entry setup to the sensor platform. On user entry creation home assistant will already have started so the platform won't get set up.
We should instead create the event listener in