21 lines
465 B
C#
21 lines
465 B
C#
namespace HomeAssistant.HistoryReplay.Reporting;
|
|
|
|
public sealed class ReplayEvent
|
|
{
|
|
public required DateTimeOffset Timestamp { get; init; }
|
|
public required string Monitor { get; init; }
|
|
public required ReplayEventType EventType { get; init; }
|
|
public required string Message { get; init; }
|
|
public string? Details { get; init; }
|
|
}
|
|
|
|
public enum ReplayEventType
|
|
{
|
|
Info,
|
|
Decision,
|
|
StateChange,
|
|
Warning,
|
|
ServiceCall,
|
|
Anomaly
|
|
}
|