getSchedulesLiveData

abstract fun getSchedulesLiveData(from: LocalDate, to: LocalDate, iotUnit: IotUnit? = null): LiveData<SimpleResponse<List<Schedule>>?>

Get a LiveData with the schedule for the supplied iotUnit, or if null, for all IotUnit the user has access to on the requested periods.

After logout LiveData.getValue is set to null. You need to re-observe this LiveData once the user is logged out!