(hass, config_entry, async_add_devices)
Setup sensor platform.
Setup sensor platform.
Setup sensor platform .
async def async_setup_entry(hass, config_entry, async_add_devices):
    """Setup sensor platform."""
    async_add_devices([HACSSensor()])
async def async_setup_entry ( hass , config_entry , async_add_devices ) : async_add_devices ( [ HACSSensor ( ) ] )