Wondering if someone can help… I’m a total newb to HA. I have followed the instructions to add the Levoit Air Purifier here: https://selfhostedhome.com/levoit-lv-pur131s-wifi-air-purifier-review/
I have tried to do all suggested but cannot get the sensor to work for the air quality. I’d like to be able to display the history graph of the air quality but when I add this:
Hi all. I’ve got the Vesync component installed and reading data, I think similarly to you @nckslater . Have you managed to post any data to the purifier? Through scripts or automations? I’d like to include it in my bed time routine, so turn the filter on, set night mode, set sleep timer, etc. I’m having trouble setting up scripts to configure the purifier. Using IFTTT in the mean time.
Thanks
how do we use these templates for alerting when the filter needs replacing for example, I’ve not use templates before so struggling to understand how to use it.
If using this chunk of code, you should probaly remove theme: material_dark_theme_custom, unless you have that theme setup. It allows for transparent cards. I am directly pasting what I have working to hopefully help others.
I added device_class: humidity, in an attempt to get history/recorder to show a graph instead of the horiontal bar of data. I ended up having to manually delete data from InfluxDB with InfluxDBStudio to get rid of non-numeric string entries for sensor.air_quality_int before I found out that unit_of_measurement: '%" is required under air_quality_int in configuration.yaml. Once I did that, and rebooted the server, graphs started to show up. Humidity device_class can probably be removed.