Xiaomi Pet Waterer

I just wanted to add the Xiaomi Pet Waterer, but I get the info that the model is not known.

Can anyone help how I can add this device:
mmgg.pet_waterer.wi11

If it helps here are the info from my current OpenHab installation:

Basically I only need to turn the device ON or OFF.

Thanks for any help.

Fixed it when using the custom_component from here:

Does it work on LAN or only via cloud?

I think it works on LAN too (see description from the link above):