Due to HA core firing core_config_updated
event twice during startup, warning or error messages will show up three times in the log. Filtering out warnings/errors before core is fully running results in just a single warning/error message.
Also fix bug in elevation binary sensor if threshold is never reached.