mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
chore: more miscellaneous cleanup
This commit is contained in:
@@ -16,7 +16,6 @@ using Serilog.Events;
|
|||||||
|
|
||||||
namespace PepperDash.Essentials.Devices.Common.Lighting
|
namespace PepperDash.Essentials.Devices.Common.Lighting
|
||||||
{
|
{
|
||||||
[Obsolete("Please use PepperDash.Essentials.Devices.Common, this will be removed in 2.1")]
|
|
||||||
public abstract class LightingBase : EssentialsBridgeableDevice, ILightingScenes
|
public abstract class LightingBase : EssentialsBridgeableDevice, ILightingScenes
|
||||||
{
|
{
|
||||||
#region ILightingScenes Members
|
#region ILightingScenes Members
|
||||||
@@ -68,12 +67,7 @@ namespace PepperDash.Essentials.Devices.Common.Lighting
|
|||||||
else
|
else
|
||||||
scene.IsActive = false;
|
scene.IsActive = false;
|
||||||
}
|
}
|
||||||
|
LightingSceneChange?.Invoke(this, new LightingSceneChangeEventArgs(CurrentLightingScene));
|
||||||
var handler = LightingSceneChange;
|
|
||||||
if (handler != null)
|
|
||||||
{
|
|
||||||
handler(this, new LightingSceneChangeEventArgs(CurrentLightingScene));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected GenericLightingJoinMap LinkLightingToApi(LightingBase lightingDevice, BasicTriList trilist, uint joinStart,
|
protected GenericLightingJoinMap LinkLightingToApi(LightingBase lightingDevice, BasicTriList trilist, uint joinStart,
|
||||||
|
|||||||
Reference in New Issue
Block a user