This week in my #smarthome microcontroller misadventures: the more I work with #espidf's #zigbee stack, the more I understand why #esphome exists. Had to write multiple hundreds of lines of device capability config code yesterday that could've very easily been a rather short json file.
Now if only esphome's zigbee support covered a bit more than the simplest use cases...