Skip to content

fix: ILightingScenesDynamic inherits from ILightingScenes#1256

Merged
andrew-welker merged 3 commits into
mainfrom
lighting-interface-fix
Apr 18, 2025
Merged

fix: ILightingScenesDynamic inherits from ILightingScenes#1256
andrew-welker merged 3 commits into
mainfrom
lighting-interface-fix

Conversation

@andrew-welker
Copy link
Copy Markdown
Contributor

No description provided.

@andrew-welker andrew-welker requested review from Copilot and ndorin April 18, 2025 17:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an inheritance issue in the lighting interfaces and improves the generic design for selectable items.

  • ILightingScenesDynamic now properly inherits from ILightingScenes.
  • ISelectableItems is refactored to support an additional generic type parameter, with a new overload for backward compatibility.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/PepperDash.Essentials.Core/Lighting/Lighting Interfaces.cs Updated ILightingScenesDynamic to inherit from ILightingScenes.
src/PepperDash.Essentials.Core/DeviceTypeInterfaces/ISelectableItems.cs Expanded ISelectableItems to include a two-parameter generic interface and provided an overload for the legacy interface.

@andrew-welker andrew-welker requested a review from jkdevito April 18, 2025 17:33
@andrew-welker andrew-welker merged commit 1306247 into main Apr 18, 2025
2 checks passed
@andrew-welker andrew-welker deleted the lighting-interface-fix branch April 18, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants