feat: adds emergency OSD support

This commit is contained in:
Andrew Knous
2024-11-14 16:23:31 -05:00
parent 0b60f53d0e
commit cd52c245a6
3 changed files with 40 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ namespace PepperDash.Essentials.Room.Config
//switch on emergency type here. Right now only contact and shutdown
var e = new EssentialsRoomEmergencyContactClosure(room.Key + "-emergency", props.Emergency, room);
DeviceManager.AddDevice(e);
return e;
}
return null;
}