Although pyvesync allows to set the night light on Levoit Air Purifiers (e.g. Core 200s), the HA vesync integration ignores this setting when turning on the device.
Please allow the nigh light value (‘on’ | ‘dim’ | ‘off’) to be set when turning it on.
Yeah, this would be really great. I have a Levoit 131S which works fine with HA but my partner constantly unplugs the thing in the night because of the light, be great if HA could control the display on/off as the vesync app can.
I’m working on updating this integration (on the shoulders of others).
There is currently a bug in the main Python Library wrt Night Light, but once that is fixed the night light should work. There is a fix required for ensuring all the fans listed in the main Python Library do work with the HA integration. As I don’t have a fan, I’ll not be able to test it.
Hello I have VeSync integration installed but the lighting support (it has two modes) does not show us. the only thing the integration allows is speed control and filter status display. Has anything changed? or are there plans to upgrade in the future? Model Levoit core 200s
That PR is for display on / off. However the code has been refactored so night light switch is easy to add. Plan is waiting for that to get merged before another PR for night light.
Hi,
is this already mainlined? I just tried this on a Levoit Vital 100s and when I change the value of “Night light level” it does nothing and when I re-open the settings “Night light level” the value is back to the previous value. (But perhaps I am doing it wrong?)
That said @cdnninja, I just upgraded to that version and toggling the Display control and it simply dumps a generic “An error occurred while turning [on/off],” but only when toggling the Display feature. Turning the purifier itself on/off still works fine.
Edit: Looked a little deeper in logs and found this, if it helps. Turning the whole purifier on/off did work most of the time, there were a few failures. The new display toggle, however, never ever did work for me since the upgrade.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:303
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 1:44:51 PM (18 occurrences)
Last logged: 1:55:28 PM
[546529546528] Error during service call to switch.turn_on: An error occurred while turning on.
[546533136384] Error during service call to fan.turn_on: An error occurred while manual mode.
[546491448864] Error during service call to switch.turn_off: An error occurred while turning off.
[546491448864] Error during service call to switch.turn_on: An error occurred while turning on.
[546491448864] Error during service call to fan.turn_on: An error occurred while manual mode.
In addition to the display toggle not working, coinciding with that upgrade to 205.6.1, I noticed that the speed controls don’t work at all anymore except to toggle the purifier on and off. So, if you set it to high, medium or low, it just turns it on to the last setting and not to the speed you requested in HA.
@cdnninja are you noticing the same issues in the newer version?