text: """The Peloton component."""
  from __future__ import annotations
  from homeassistant.helpers.discovery import async_load_platform
  from homeassistant.config_entries import ConfigEntry
  from homeassistant.core import HomeAssistant
  
  from .const import DOMAIN
  
  from homeassistant.const import (
      CONF_PASSWORD,
      CONF_USERNAME,
  )
  
  PLATFORMS: list[str] = ["sensor"]
  
  
  async def async_setup_entry(
      hass: core.HomeAssistant, 
      entry: ConfigEntry
      ) -> bool:
  
      hass.data.setdefault(DOMAIN, {})
      hass.data[DOMAIN][entry.entry_id] = entry.data
  
      hass.config_entries.async_setup_platforms(entry, PLATFORMS)
      
      return True
  
  async def async_unload_entry(
      hass: HomeAssistant, 
      entry: ConfigEntry
      ) -> bool:
      unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
      if unload_ok:
          hass.data[DOMAIN].pop(entry.entry_id)
  
      return unload_ok
  
  async def async_setup(
      hass: HomeAssistant, 
      config_entry: ConfigEntry
      ) -> bool:
  
      #hass.states.async_set(DOMAIN, {})
      hass.data.setdefault(DOMAIN, {})
      
      return True
  