The ranges for Parameters 9 (Minimum Level) and 10 (Maximum Level) are slightly off for the Inovelli Blue Series 2-1 Switch (VZM31-SN), Inovelli Blue Series Fan Switch (VZM35-SN), and Inovelli Blue Series Fan/Light Switch (VZM36). Minimum shows a range of 1-253 in zigbee2mqtt while Inovelli documentation shows 1-254. Maximum shows a range of 2-254 in zigbee2mqtt while Inovelli documentation shows 2-255 (with a default value of 255).
The default Maximum being above the allowable range causes HA to throw repeated error messages for a freshly installed device:
2024-05-13 08:16:23.386 ERROR (MainThread) [homeassistant.components.mqtt.number] Invalid value for number.patio_fan_switch_maximumlevel: 255 (range 2.0 - 254.0)
What did you expect to happen?
Minimum Level to use a range of 1-254 and Maximum Level to use a range of 2-255.
How to reproduce it (minimal and precise)
Pair a new Inovelli Blue 2-in-1 Switch, Fan Switch, or Fan/Light Canopy Module and observe the allowed ranges for parameters 9 and 10.
What happened?
The ranges for Parameters 9 (Minimum Level) and 10 (Maximum Level) are slightly off for the Inovelli Blue Series 2-1 Switch (VZM31-SN), Inovelli Blue Series Fan Switch (VZM35-SN), and Inovelli Blue Series Fan/Light Switch (VZM36). Minimum shows a range of 1-253 in zigbee2mqtt while Inovelli documentation shows 1-254. Maximum shows a range of 2-254 in zigbee2mqtt while Inovelli documentation shows 2-255 (with a default value of 255).
The default Maximum being above the allowable range causes HA to throw repeated error messages for a freshly installed device:
What did you expect to happen?
Minimum Level to use a range of 1-254 and Maximum Level to use a range of 2-255.
How to reproduce it (minimal and precise)
Pair a new Inovelli Blue 2-in-1 Switch, Fan Switch, or Fan/Light Canopy Module and observe the allowed ranges for parameters 9 and 10.
Zigbee2MQTT version
1.37.1
Adapter firmware version
20230507
Adapter
Sonoff ZBDongle-P
Setup
Add-on on Home Assistant OS on Intel NUC
Debug log
No response