HomeSeer / Plugin-SDK

Plugin development kit for the 4th major edition of the HomeSeer platform.
https://www.nuget.org/packages/HomeSeer-PluginSDK/
GNU Affero General Public License v3.0
20 stars 4 forks source link

EHsSystemEvent.ConfigChange is not raised when modifying feature display configuration #348

Open avargaskun opened 1 year ago

avargaskun commented 1 year ago

Environment

HomeSeer

OS

Linux, Windows

HS Version

4.2.18.0

Development

PSDK Version

v1.4.3

Language

C#

IDE

VSCode

Dev OS

Mac

Plugin

What plugin is this issue for? HSBuddy

Problem

Description

Changing the display configuration for a feature, such as its DisplayType or DisplayPriority does not fire a EHsSystemEvent.ConfigChange event to the plugin. However, changing other device/feature configuration, such as the feature name or location, does fire the event.

Expected Behavior

Changing the display configuration for a feature, such as type (important, normal, hidden) or priority (relative order) should fire a EHsSystemEvent.ConfigChange event

Steps to Reproduce

Provide steps so the HomeSeer team can reproduce the reported problem:

  1. Create a plug-in that subscribes for configuration change events, such as:
    this.HomeSeerSystem.RegisterEventCB((HSEvent)EHsSystemEvent.ConfigChange, this.Name);
  2. Open the HomeSeer system webpage
  3. Go to the details of a device
  4. Click on the Features tab
  5. Modify the order or display type of one or more features
  6. Click on Save
  7. The event callback on the plug-in will not fire as a result

Screenshots

NA

Logs

NA