mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
Fixed issue preventing lighting scene feedback from updating correctly.
This commit is contained in:
@@ -26,6 +26,8 @@ namespace PepperDash.Essentials.Core.Lighting
|
|||||||
: base(key, name)
|
: base(key, name)
|
||||||
{
|
{
|
||||||
LightingScenes = new List<LightingScene>();
|
LightingScenes = new List<LightingScene>();
|
||||||
|
|
||||||
|
CurrentLightingScene = new LightingScene();
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract void SelectScene(LightingScene scene);
|
public abstract void SelectScene(LightingScene scene);
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ namespace PepperDash.Essentials.Devices.Common.Environment.Lutron
|
|||||||
{
|
{
|
||||||
case (int)eAction.Scene:
|
case (int)eAction.Scene:
|
||||||
{
|
{
|
||||||
var scene = Int32.Parse(response[3]);
|
var scene = response[3];
|
||||||
CurrentLightingScene = LightingScenes.FirstOrDefault(s => s.ID.Equals(scene));
|
CurrentLightingScene = LightingScenes.FirstOrDefault(s => s.ID.Equals(scene));
|
||||||
|
|
||||||
OnLightingSceneChange();
|
OnLightingSceneChange();
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ControlSystem>
|
<ControlSystem>
|
||||||
<Name>Desk MC3</Name>
|
<Name>Test RMC3</Name>
|
||||||
<Address>ssh 10.0.0.15</Address>
|
<Address>auto 192.168.1.40</Address>
|
||||||
<ProgramSlot>Program01</ProgramSlot>
|
<ProgramSlot>Program01</ProgramSlot>
|
||||||
<Storage>Internal Flash</Storage>
|
<Storage>Internal Flash</Storage>
|
||||||
</ControlSystem>
|
</ControlSystem>
|
||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user