OpenZWave / openzwave-dotnet-uwp

An Open-ZWave wrapper for use with .NET or UWP apps
Apache License 2.0
45 stars 27 forks source link

1.6 Update - Handling Labels (openzwave-dotnet-uwp) #25

Open Fishwaldo opened 5 years ago

Fishwaldo commented 5 years ago

Per the OZW 1.6 Release Notes, all labels or user visible strings are dynamic and can be localized.

Need to check no hard-coded string comparisons are made on things like ValueID's (eg, GetLabel() == "Switch" type calls). Instead you should be using the CommandClass, and Index values from a ValueID to determine what the ValueID represents.

Please close this if its not relevant.