Files
govee-csharp-connector/GoveeCSharpConnector/Interfaces/IGoveeService.cs

15 lines
600 B
C#

using GoveeCSharpConnector.Objects;
namespace GoveeCSharpConnector.Interfaces;
public interface IGoveeService {
string GoveeApiKey { get; set; }
List<GoveeDevice> GetDevices(bool onlyLan = true);
void ToggleState(GoveeDevice goveeDevice, bool on, bool useUdp = true);
GoveeState GetDeviceState(GoveeDevice goveeDevice, bool useUdp = true);
void SetColorTemp(GoveeDevice goveeDevice, int value, bool useUdp = true);
void SetBrightness(GoveeDevice goveeDevice, int value, bool useUdp = true);
void SetColor(GoveeDevice goveeDevice, RgbColor color, bool useUdp = true);
}