mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
#700 FIxes issue where ConfigWrite.UpdateDeviceConfig and UpdateRoomConfig do not write config to file
This commit is contained in:
parent
da179c01f5
commit
5fc4ff6027
3 changed files with 10 additions and 16 deletions
|
|
@ -54,11 +54,7 @@ namespace PepperDash.Essentials.Core.Devices
|
|||
Name = config.Name;
|
||||
}
|
||||
|
||||
protected virtual void WriteControlProperty(JToken controlObject)
|
||||
{
|
||||
Config.Properties["control"] = JToken.FromObject(controlObject);
|
||||
CustomSetConfig(Config);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Used by the extending class to allow for any custom actions to be taken (tell the ConfigWriter to write config, etc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue