I just picked up a Tuya luminance sensor and configured it through ZHA. It's mains-powered (USB), so it makes sense that it doesn't have a battery readout, but it also doesn't expose the luminance value. Confusingly enough, when hitting reconfigure, it appears to show that it should. I'm fairly new to this, is there anything I need to do to expose this, or better yet, anything I can do to help resolve this in HA for future users of the same device?
EDIT: And to be clear, it's not a disabled entity either. Only LQI and RSSI are.
Found my way to this, but I'm still not sure what to make of it re: getting a working sensor.
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_illuminance.py