I’m adding support in the Teslascope binding for changing the charge limit of the car.
charge-limit-soc is a Number:Dimensionless (see link
In handleCommand - I’ve tried DecimalType, PercentType, StringType as 'instanceof’s when the charge limit is changed, and none of them are triggered.
Is there an easy way to determine what kind of Command is being received when CHANNEL_CHARGE_LIMIT_SOC received a Command?
Thanks!
hmm seems it’s seen as QuantityType…
AndrewFG
(Andrew Fiddian-Green)
3
If the Item is Number:Anything then that is always a strong indicator that the Channel produces/consumes QuantityType values…
Dimensionless didn’t scream QuantityType to me
I wasted so much time on this today 
AndrewFG
(Andrew Fiddian-Green)
5
Yeah Dimensionless is oddly enough still a dimension; it can be represented in units of percent, decibel, ppm, or ‘ONE’ … to mention a few…