A short guide on how to integrate an Esemoil Humidifier (2.5 L) in HomeAssisant using LocalTuya.

To find out the entities needed to integrate the device in HomeAssistant, I used the TuyaDebug tool following this guide.
I used an excel file to write down all the possible device configurations and then, in an iterative process, I tried to see how the results of TuyaDebug changed as the settings changed.
In the end, with a little patience, this is the result:
How to setup the integration in LocalTuya
Now, once you have discovered the meaning of each datapoint, you can proceed to add the new device.
Open the Settings page, go to Devices & Services, search the LocalTuya integration and click on Configure
Add the device
Select Add a new device and then select the device from the list ( Remeber, that you should assing a static ip address to the device).
Proceed with the settings as follows.

Add the datapoints
Ater adding the device, you will be prompted to “Please pick the type of entity you want to add.” for every datapoint to configure.
Be careful to enter the correct type of platform and then fill in the various fields according to the images shown.
Power

Spray

Light

Color

Sleep

Timer

Timer Remaining Time

Water Empty

Power Level
