old_contents: """Base class for Nanoleaf entity."""
  
  from aionanoleaf import Nanoleaf
  
  from homeassistant.helpers.entity import DeviceInfo, Entity
  
  from .const import DOMAIN
  
  
  class NanoleafEntity(Entity):
      """Representation of a Nanoleaf entity."""
  
      def __init__(self, nanoleaf: Nanoleaf) -> None:
          """Initialize an Nanoleaf entity."""
          self._nanoleaf = nanoleaf
          self._attr_device_info = DeviceInfo(
              identifiers={(DOMAIN, nanoleaf.serial_no)},
              manufacturer=nanoleaf.manufacturer,
              model=nanoleaf.model,
              name=nanoleaf.name,
              sw_version=nanoleaf.firmware_version,
          )
  
new_contents: """Base class for Nanoleaf entity."""
  
  from aionanoleaf import Nanoleaf
  
  from homeassistant.helpers.entity import DeviceInfo, Entity
  
  from .const import DOMAIN
  
  
  class NanoleafEntity(Entity):
      """Representation of a Nanoleaf entity."""
  
      def __init__(self, nanoleaf: Nanoleaf) -> None:
          """Initialize an Nanoleaf entity."""
          self._nanoleaf = nanoleaf
          self._attr_device_info = DeviceInfo(
              identifiers={(DOMAIN, nanoleaf.serial_no)},
              manufacturer=nanoleaf.manufacturer,
              model=nanoleaf.model,
              name=nanoleaf.name,
              sw_version=nanoleaf.firmware_version,
              configuration_url=f"http://{nanoleaf.host}",
          )
  
subject: Add configuration_url to Nanoleaf integration (#60372)