(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(hacs=hass.data.get(DOMAIN))])
async def async_setup_platform ( hass , _config , async_add_entities , _discovery_info = None ) : async_add_entities ( [ HACSSensor ( hacs = hass . data . get ( DOMAIN ) ) ] )