public static Task <Response <DeviceExecResponse> > OpenAsync(this SomfyExteriorBlindPositionableStatefulGeneric device, SomfyClient somfyClient) => somfyClient.Device.ExecAsync(device.Id, "open");
Пример #2
0
 public SomfyDeviceClient(SomfyClient somfyClient) => _somfyClient = somfyClient;
 public static Task <Response <DeviceExecResponse> > PositionAsync(this SomfyExteriorBlindPositionableStatefulGeneric device, SomfyClient somfyClient, int position) => somfyClient.Device.ExecAsync(device.Id, "position", new DeviceExecParameter("position", position));
Пример #4
0
 public SomfySiteClient(SomfyClient somfyClient) => _somfyClient = somfyClient;