async def async_setup_entry(hass, entry, async_add_devices) -> None:
    'Setup sensor platform.'
    session = hass.data[DOMAIN][entry.entry_id]
    async_add_devices((AutomowerTracker(session, idx) for (idx, ent) in enumerate(session.data['data'])))
Setup sensor platform.
async def async_setup_entry(hass, entry, async_add_devices) -> None:
    
    session = hass.data[DOMAIN][entry.entry_id]
    async_add_devices((AutomowerTracker(session, idx) for (idx, ent) in enumerate(session.data['data'])))