Future<void> changeBrightness(String id, String brightness) async { final res = await client.setState( Selector.id(id), brightness: double.parse(brightness), ); print(res); }