original_docstring: Set up the Nature Remo E sensor.
docstring: Set up the Nature Remo E sensor.
docstring_tokens: Set up the Nature Remo E sensor .
code: async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
      """Set up the Nature Remo E sensor."""
      if discovery_info is None:
          return
      _LOGGER.debug("Setting up sensor platform.")
      coordinator = hass.data[DOMAIN]["coordinator"]
      appliances = coordinator.data["appliances"]
      async_add_entities(
          [
              NatureRemoE(coordinator, appliance)
              for appliance in appliances.values()
              if appliance["type"] == "EL_SMART_METER"
          ]
      )
code_tokens: async def async_setup_platform ( hass , config , async_add_entities , discovery_info = None ) : if discovery_info is None : return _LOGGER . debug ( "Setting up sensor platform." ) coordinator = hass . data [ DOMAIN ] [ "coordinator" ] appliances = coordinator . data [ "appliances" ] async_add_entities ( [ NatureRemoE ( coordinator , appliance ) for appliance in appliances . values ( ) if appliance [ "type" ] == "EL_SMART_METER" ] )
short_docstring: Set up the Nature Remo E sensor.
short_docstring_tokens: Set up the Nature Remo E sensor .
comment: """Set up the Nature Remo E sensor."""