parameters: (hass, _config, async_add_entities, _discovery_info=None)
docstring: Setup sensor platform.
docstring_summary: Setup sensor platform.
docstring_tokens: Setup sensor platform .
function: async def async_setup_platform(hass, _config, async_add_entities, _discovery_info=None):
      """Setup sensor platform."""
      async_add_entities([HACSSensor(hacs=hass.data.get(DOMAIN))])
function_tokens: async def async_setup_platform ( hass , _config , async_add_entities , _discovery_info = None ) : async_add_entities ( [ HACSSensor ( hacs = hass . data . get ( DOMAIN ) ) ] )