Bugfixes for zigbee2mqtt in reprocess (mostly)
authorjweigele <jweigele@local>
Tue, 13 Dec 2022 18:42:14 +0000 (10:42 -0800)
committerjweigele <jweigele@local>
Tue, 13 Dec 2022 18:42:14 +0000 (10:42 -0800)
commitadea74939bb6826ae8cd246ec0cb6b6b15b7f1dc
treec2720f64b3676846198fcf31079e1583e7ab72eb
parent61a79ca6022d3f07be6fb1dc02cc745c0928f4f0
Bugfixes for zigbee2mqtt in reprocess (mostly)

Basically, whenever z2m gets a json encoded dict, it tries to deref the
keys and use as converters.  That normally works fine, but when you have
extra "source" values then it looks up converters that don't exist -
error!
 * Allow for EmptySource, a param to disable sending it even if it
   exists

Second, we were querying power devices with "power" gets, which
mobile_power doesn't support
 * Properly adhere to "queryNeeded", allowing us to either get the
   requests for updates, or just let it send along in its own time
helper/helper.go
reprocess/main.go