1 """The One-Time Password (OTP) integration."""
3 from __future__
import annotations
9 PLATFORMS: list[Platform] = [Platform.SENSOR]
13 """Set up One-Time Password (OTP) from a config entry."""
15 await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
21 """Unload a config entry."""
22 return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
bool async_setup_entry(HomeAssistant hass, ConfigEntry entry)
bool async_unload_entry(HomeAssistant hass, ConfigEntry entry)