Added GoveeService that unites Api and Udp Service

Added ColorTemp Method to Udp Service
This commit is contained in:
Locxion
2024-02-03 00:48:12 +01:00
parent 4b537633f6
commit ecfcd26b47
8 changed files with 244 additions and 18 deletions

View File

@ -0,0 +1,9 @@
namespace GoveeCSharpConnector.Objects;
public class GoveeDevice
{
public string DeviceId { get; set; }
public string Model { get; set; }
public string DeviceName { get; set; }
public string Address { get; set; }
}

View File

@ -0,0 +1,11 @@
using GoveeCSharpConnector.Enums;
namespace GoveeCSharpConnector.Objects;
public class GoveeState
{
public PowerState State { get; set; }
public int Brightness { get; set; }
public RgbColor Color { get; set; }
public int ColorTempInKelvin { get; set; }
}

View File

@ -7,6 +7,6 @@ public class Properties
public bool Online { get; set; }
public PowerState PowerState { get; set; }
public int Brightness { get; set; }
public int? ColorTemp { get; set; }
public int ColorTemp { get; set; }
public RgbColor Color { get; set; }
}