zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

device_group_add/remove log format not correct.

Open gdave321 opened this issue 7 years ago • 1 comments

According to zigbee2mqtt/bridge/log Message are always in the form of {"type":"TYPE","message":"MESSAGE"}

however, after upgrading to 1.6.0 I just noticed the structure like this:

{"type":{"type":"device_group_add","message":{"device":"0x0017880xxxxxx","group":"1"}}}

looks like an extra "type" level added here.

gdave321 avatar Sep 13 '19 11:09 gdave321

Thanks, fixed in the dev branch!

Koenkk avatar Sep 15 '19 07:09 Koenkk