listDeviceStatuses method

Future<List<StateManagerDevice>?> listDeviceStatuses()

List all the devices and services status

List all the devices and their status, for each device all its services and their status

Implementation

Future<List<StateManagerDevice>?> listDeviceStatuses() async {
  List<StateManagerDevice>? response =
      await LogbotStateManagerService.listDevices();
  return response;
}