9 lines
381 B
C#
9 lines
381 B
C#
namespace Evergreen.Health.Application.Health.Integrations.HomeAssistant;
|
|
|
|
public interface IHomeAssistantGateway
|
|
{
|
|
Task<IReadOnlyList<HomeAssistantState>> GetStatesAsync(CancellationToken cancellationToken = default);
|
|
Task CallServiceAsync(string domain, string service, IReadOnlyDictionary<string, object?> data,
|
|
CancellationToken cancellationToken = default);
|
|
}
|