Updated EssentialsRoomBase and both extented types to use ReconfigurableDevice. Tested Fusion Custom Properties successfully updating room name and help message.

This commit is contained in:
Neil Dorin
2018-09-14 21:26:25 -06:00
parent 8dabe732ec
commit 182326b3c5
11 changed files with 1517 additions and 1522 deletions

View File

@@ -146,7 +146,7 @@ namespace PepperDash.Essentials.Room.Behaviours
var newPropertiesConfig = JsonConvert.DeserializeObject<RoomOnToDefaultSourceWhenOccupiedConfig>(config.Properties.ToString());
if(newPropertiesConfig != null)
PropertiesConfig = newPropertiesConfig;
PropertiesConfig = newPropertiesConfig;
ConfigWriter.UpdateDeviceConfig(config);