1 """The Aurora ABB Powerone PV inverter sensor integration."""
16 from .coordinator
import AuroraAbbConfigEntry, AuroraAbbDataUpdateCoordinator
18 PLATFORMS = [Platform.SENSOR]
22 """Set up Aurora ABB PowerOne from a config entry."""
24 comport = entry.data[CONF_PORT]
25 address = entry.data[CONF_ADDRESS]
27 await coordinator.async_config_entry_first_refresh()
29 entry.runtime_data = coordinator
30 await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
36 """Unload a config entry."""
38 return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
bool async_unload_entry(HomeAssistant hass, AuroraAbbConfigEntry entry)
bool async_setup_entry(HomeAssistant hass, AuroraAbbConfigEntry entry)