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

Identification.ERelationship missing value "3" #334

Open sjhill01 opened 1 year ago

sjhill01 commented 1 year ago

Environment

HomeSeer

OS

Windows

HS Version

v4.2.16.0

Development

PSDK Version

v1.4.2.0

Language

VB

IDE

VS2022

Dev OS

Windows

Plugin

Device History

Problem

Description

The Enum Identification.ERelationship only shows options for 0 (NotSet), 2 (Device), and 4 (Feature). I have older devices that are standalone (which is what shows in the UI) that have a value of 3 - which I assume is "Standalone". This should be reflected in the Enum.

Expected Behavior

The Relationship property of an HSDevice should have a value defined by the Enum.

alexbk66 commented 1 year ago

"Standalone" is kind-of deprecated in HS4, but since it's still used in HS3 - you can still use (ERelationship)3