Update custom_components/aurora_solar/__init__.py
This commit is contained in:
@@ -7,9 +7,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
hass.data.setdefault(DOMAIN, {})
|
||||
hass.data[DOMAIN][entry.entry_id] = {
|
||||
CONF_HOST: entry.data[CONF_HOST],
|
||||
CONF_PORT: entry.data[CONF_PORT]
|
||||
CONF_PORT: entry.data[CONF_PORT],
|
||||
CONF_SLAVE_ID: entry.data[CONF_SLAVE_ID]
|
||||
}
|
||||
return True
|
||||
|
||||
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user