mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-05 15:55:02 +00:00
Change to list of actions instead of dictionary
This commit is contained in:
@@ -128,7 +128,7 @@ namespace PepperDash.Essentials
|
||||
{
|
||||
foreach (var a in eventConfig.Actions)
|
||||
{
|
||||
DeviceJsonApi.DoDeviceAction(a.Value);
|
||||
DeviceJsonApi.DoDeviceAction(a);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace PepperDash.Essentials.Room.Config
|
||||
public string Time;
|
||||
|
||||
[JsonProperty("actions")]
|
||||
public Dictionary<string, DeviceActionWrapper> Actions;
|
||||
public List<DeviceActionWrapper> Actions;
|
||||
|
||||
[JsonProperty("persistent")]
|
||||
public bool Persistent;
|
||||
|
||||
Reference in New Issue
Block a user