public async Task ElevateSecurityAsync() { await PublishEventAsync("SECURITY", "ELEVATE"); _eventHistory.RecordEvent(DeviceEvent.Of("SECURITY", "ELEVATE")); }
public async Task ReduceSecurityAsync() { await PublishEventAsync("SECURITY", "REDUCE"); _eventHistory.RecordEvent(DeviceEvent.Of("SECURITY", "REDUCE")); }
public async Task DisarmAsync() { await PublishEventAsync("ARM", "DISARM"); _eventHistory.RecordEvent(DeviceEvent.Of("ARM", "DISARM")); }