17 lines
727 B
C#
17 lines
727 B
C#
using GoveeCSharpConnector.Objects;
|
|
|
|
namespace GoveeCSharpConnector.Interfaces;
|
|
|
|
public interface IGoveeApiService {
|
|
|
|
string GetApiKey();
|
|
void RemoveApiKey();
|
|
void SetApiKey(string apiKey);
|
|
Task<GoveeResponse> GetDevicesResponseAsync();
|
|
Task<GoveeApiState> GetDeviceStateAsync(string deviceId, string deviceModel);
|
|
Task<HttpResponseMessage> ToggleStateAsync(string deviceId, string deviceModel, bool on);
|
|
Task<HttpResponseMessage> SetColorTempAsync(string deviceId, string deviceModel, int value);
|
|
Task<HttpResponseMessage> SetBrightnessAsync(string deviceId, string deviceModel, int value);
|
|
Task<HttpResponseMessage> SetColorAsync(string deviceId, string deviceModel, RgbColor color);
|
|
|
|
} |