using Evergreen.Health.Application.Health.Integrations.HomeAssistant; using Evergreen.Health.Application.Health.Models; namespace Evergreen.Health.Application.Health.Devices.Contracts; /// 按设备实例实际能力处理标准手动参数,不绑定单一型号,也不登记自动场景。 public interface IStandardDeviceControl { IReadOnlyList ParameterKeys { get; } DeviceCommand Build(HomeAssistantDiscoveredDeviceOutput device, HomeAssistantState state, string parameterType, object? value); }