reportableChange can be a number or [number, number] (to support larger ints). However since int40, uint48 and uint40 easily fit in a Node Number.MAX_SAFE_INTEGER there is no need to use [number, number].
uint48 max = 281474976710655
MAX_SAFE_INTEGER = 9007199254740991
(u)int56 and (u)int64 could be supported through a BigInt, but in practice this will never be used.
reportableChange
can be anumber
or[number, number]
(to support larger ints). However sinceint40
,uint48
anduint40
easily fit in a NodeNumber.MAX_SAFE_INTEGER
there is no need to use[number, number]
.(u)int56 and (u)int64 could be supported through a
BigInt
, but in practice this will never be used.This fixes https://github.com/Koenkk/zigbee2mqtt/issues/23711
TODO: