Tuya Luminance CB3S Sensor on iHost

Just to help someone else in case they want to use a luminance sensor, my path with the suggested one did not end well (the luminance is really useless with this sensor). First it only reads luminance when a motion is detected. Second, the values are totally off. So I researched and found a better sensor. Aqara GZCGQ11LM. It not only reports a reading at all times, with a few seconds delay), but also take way better readings, being able to differentiate indirect daylight to direct sunshine exposure (to close your blinds for example). The one I bought Aqara GZCGQ11LM control via MQTT | Zigbee2MQTT