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

You must specify a valid control type Parameter name: type Actual value was StatusOnly #297

Closed alexbk66 closed 2 years ago

alexbk66 commented 2 years ago

Did you finally decided to introduce the exception for StatusOnly? It was there for years - was wrong to have it in the first place - but now my plugins (16) are broken - and I don't have time to fix and test them! image

spudwebb commented 2 years ago

@alexbk66 if you look at the code for the constructor of StatusControl, the exception when type=StatusOnly has been there since 2019, so not sure why you see this only now? What does your calling code look like?

alexbk66 commented 2 years ago

@spudwebb , yeah, I checked your version tree, I agree it couldn't work.

But my code also didn't change since I ported from HS3. I'm trying to dig deeper to see what's changed.

image