mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
Change to list of actions instead of dictionary
This commit is contained in:
parent
f11bdcfd53
commit
45c1e25e4f
2 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ namespace PepperDash.Essentials
|
||||||
{
|
{
|
||||||
foreach (var a in eventConfig.Actions)
|
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;
|
public string Time;
|
||||||
|
|
||||||
[JsonProperty("actions")]
|
[JsonProperty("actions")]
|
||||||
public Dictionary<string, DeviceActionWrapper> Actions;
|
public List<DeviceActionWrapper> Actions;
|
||||||
|
|
||||||
[JsonProperty("persistent")]
|
[JsonProperty("persistent")]
|
||||||
public bool Persistent;
|
public bool Persistent;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue