11
This commit is contained in:
@@ -38,6 +38,7 @@ public sealed class HomeAssistantDiscoveredDeviceOutput
|
||||
public string Category { get; set; } = nameof(HealthDeviceCategory.Other);
|
||||
public bool Online { get; set; }
|
||||
public string? PrimaryControlEntityId { get; set; }
|
||||
public string? DefaultLightEffect { get; set; }
|
||||
public List<HomeAssistantEntityOutput> Entities { get; set; } = [];
|
||||
public Dictionary<string, object?> Metrics { get; set; } = [];
|
||||
}
|
||||
@@ -120,12 +121,14 @@ public sealed class HomeAssistantDeviceSwitchOutput
|
||||
|
||||
public sealed class HomeAssistantLightTransitionOutput
|
||||
{
|
||||
public string EntityId { get; set; } = string.Empty;
|
||||
public bool Success { get; set; } = true;
|
||||
public bool Running { get; set; }
|
||||
public string Mode { get; set; } = "none";
|
||||
public int BrightnessPercent { get; set; }
|
||||
public int TargetPercent { get; set; }
|
||||
public string Message { get; set; } = string.Empty;
|
||||
public List<HomeAssistantLightTransitionOutput> Lights { get; set; } = [];
|
||||
}
|
||||
|
||||
public sealed class HomeAssistantSetParameterInput
|
||||
|
||||
Reference in New Issue
Block a user