(hass, config, async_add_entities, discovery_info=None)
Setup sensor platform.
Setup sensor platform.
Setup sensor platform .
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
    """Setup sensor platform."""
    async_add_entities([HACSSensor()])
async def async_setup_platform ( hass , config , async_add_entities , discovery_info = None ) : async_add_entities ( [ HACSSensor ( ) ] )