13 lines
549 B
C#
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);
|
|
}
|