WTH doesn’t ZHA support batteryless Zigbee Green Power devices yet? (i.e. no support in zha or zigpy for Philips and "Friends of Hue" buttons that uses ZGP)

Please find a way to get ZHA and zigpy developers help to finally add initial support for ZHA to be a Zigbee Green Power Target as per the Zigbee Green Power (ZGP) specification so that users of the ZHA integration (Home Assistant’s native Zigbee Gateway) can add batteryless Philips and “Friends of Hue” button devices that uses ZGP.

This is the maybe last huge missing feature that prevents some new users from using the ZHA integration or forces existing users to move to other Zigbee Gateway solutions, and as such it is mentioned under ZHA limitations → https://www.home-assistant.io/integrations/zha#limitations

  • ZHA does currently not support devices that can only use the ZGP (“Zigbee Green Power”) profile which is used in a few batteryless self-powered or energy harvesting devices, (such as for example; Philips Hue Click, Philips Hue Tap, and some “Friends of Hue” partnership switches).

See this long open feature request with more informationan about Zigbee Green Power (ZGP) batteryless devices from an end-users perspective → ZHA integration support for ZGP (Zigbee Green Power) batteryless devices via zigpy to work with Philips Hue Click, Philips Hue Tap, and “other Friends of Hue” switches?

For developers wanting to help with this project they should understand that the problem now is that the built-in ZHA (Zigbee Home Automation) integration depends on the zigpy library and the zha library (both from the same project) which does not yet have the code needed to support this type of devices (even though most of the framework needed is already there) so users who have such products need to switch to Zigbee2MQTT if want to use them, and while an independent developer did start development of it last year and got quite far he does now not have the time finish that work himself but is willing to assist someone else who can take lead and pick up his code. As it stands the code patches are no longer being worked on by anyone, however the pull request is still listed as a draft here:

Examples of Philips Hue compatible ZGP switches (ZGP smart buttons that do work in Zigbee2MQTT):