11
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user