Remove elevation warning from sun (#80239)

This commit is contained in:
Franck Nijhof 2022-10-14 15:23:44 +02:00 committed by GitHub
parent 4c3097a157
commit dd266b7119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 29 deletions

View file

@ -42,7 +42,7 @@ def setup_comp(hass):
"""Initialize components."""
hass.config.set_time_zone(hass.config.time_zone)
hass.loop.run_until_complete(
async_setup_component(hass, sun.DOMAIN, {sun.DOMAIN: {sun.CONF_ELEVATION: 0}})
async_setup_component(hass, sun.DOMAIN, {sun.DOMAIN: {}})
)