[SOLVED] MQTT2 min/max on statetopic

Am I doing this wrong or am I misunderstanding how this is supposed to work?

I have an MQTT item setup with the new binding but it’s accepting values outside the min/max.

		Type number : nurTemp		"Nursery Temperature"		[ stateTopic="/garage/nursery/nurTMP",min=-1, max=100 ]

Is he misinterpreting the docs?

Min/Max is not defined for the number channel, only for the dimmer channel. That changes with an upcoming feature change only.


I’m running the latest snapshot and this appears to be working as desired now. Can you confirm that this was remedied?

mix/max was fixed with OH 2.5M1 already, I believe. I don’t trust the snapshots atm.

1 Like