Add lux entity to Tuya ZG-204ZL sensor (PIR/light sensor)

Feature request for HA Tuya integration: is it possible to add the lux value (as an entity) to device Tuya ZG-204ZL sensor (3towulqd). That is a combined ZigBee PIR motion sensor and light sensor. Currently the HA Tuya integration only reports the PIR sensor state, and the battery. The lux value is visible in the smart life app.

This would be helpful for automations regarding lights left on in unoccupied rooms.

I think someone has a custom quirk for this already.

Thanks, @Stiltjack . But isn’t this for ZHA, rather than the Tuya integration? Or have I misunderstood?

Yes it is, sorry. :flushed: