Files
Evergreen-Health/Evergreen.Health.Application/Health/Devices/Contracts/IStandardDeviceControl.cs
T
2026-10-09 18:06:11 +08:00

13 lines
549 B
C#

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