1 """Integration for Rainforest RAVEn devices."""
3 from __future__
import annotations
8 from .coordinator
import RAVEnConfigEntry, RAVEnDataCoordinator
10 PLATFORMS = (Platform.SENSOR,)
14 """Set up Rainforest RAVEn device from a config entry."""
16 await coordinator.async_config_entry_first_refresh()
17 entry.runtime_data = coordinator
18 await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
23 """Unload a config entry."""
24 return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
bool async_setup_entry(HomeAssistant hass, RAVEnConfigEntry entry)
bool async_unload_entry(HomeAssistant hass, RAVEnConfigEntry entry)