1 """The Arve integration."""
3 from __future__
import annotations
8 from .coordinator
import ArveConfigEntry, ArveCoordinator
10 PLATFORMS: list[Platform] = [Platform.SENSOR]
14 """Set up Arve from a config entry."""
18 await coordinator.async_config_entry_first_refresh()
20 entry.runtime_data = coordinator
22 await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
28 """Unload a config entry."""
29 return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
bool async_setup_entry(HomeAssistant hass, ArveConfigEntry entry)
bool async_unload_entry(HomeAssistant hass, ArveConfigEntry entry)