14 lines
370 B
C#
14 lines
370 B
C#
using System.Text.Json;
|
|
|
|
namespace HomeAssistant.HistoryReplay.HomeAssistantClient;
|
|
|
|
public interface IHomeAssistantApiClient
|
|
{
|
|
Task<JsonElement> GetHistoryAsync(
|
|
string entityIds,
|
|
DateTimeOffset? startTime = null,
|
|
DateTimeOffset? endTime = null,
|
|
bool minimalResponse = true,
|
|
CancellationToken cancellationToken = default);
|
|
}
|