This commit is contained in:
fuenmao
2026-09-23 15:30:40 +08:00
parent f61b3ce3e7
commit db7bd2231a
6 changed files with 471 additions and 10 deletions
@@ -113,6 +113,25 @@ public sealed class HomeAssistantDeviceSwitchOutput
public string Message { get; set; } = string.Empty;
}
public sealed class HomeAssistantLightTransitionOutput
{
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 sealed class HomeAssistantSpeakerDemoOutput
{
public string AudioUrl { get; set; } = string.Empty;
public bool SpeakerOnline { get; set; }
public bool DirectPlaybackSupported { get; set; }
public bool CommandAccepted { get; set; }
public string Message { get; set; } = string.Empty;
}
public sealed class HomeAssistantSetParameterInput
{
public string DeviceId { get; set; } = string.Empty;