Add support for Levoit Core 300S Smart True HEPA Air Purifier in the VeSync integration

I just recently bought a 300s and I added it to HA. I’m pretty new to this, so I was wondering if someone could help me add these features stated here. I have no idea where to put this code you wrote here. I think I know where it could go, but I get errors when doing that.

What I have done so far is add the service and then clicked ’ add to lovelace’. It created a small card in my overview page with one entity called ‘fan.levoit_300s’. When I edit this card, I can go to ‘show code editor’ and there I see a few lines of code:

I have tried to put in the code by coying it in and replaced the entity-id with mine, but that doesn’t work.

Hoping someone could help out a newbie :slight_smile:

1 Like