mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix growat server config entry missing URL key (#53867)
This commit is contained in:
@@ -598,7 +598,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
||||
config = config_entry.data
|
||||
username = config[CONF_USERNAME]
|
||||
password = config[CONF_PASSWORD]
|
||||
url = config[CONF_URL]
|
||||
url = config.get(CONF_URL, DEFAULT_URL)
|
||||
name = config[CONF_NAME]
|
||||
|
||||
api = growattServer.GrowattApi()
|
||||
|
Reference in New Issue
Block a user