purifier-card icon indicating copy to clipboard operation
purifier-card copied to clipboard

Trouble getting preset mode to switch, Failed to call service fan/set_preset_mode. {preset_mode} is not one of the valid preset modes: {self.preset_modes}

Open bobloadmire opened this issue 2 years ago • 2 comments

Before submitting a bug

[X ] I updated to the latest version available [ X] I cleared the cache of my browser

Describe the bug

Trouble getting preset mode to switch, Failed to call service fan/set_preset_mode. {preset_mode} is not one of the valid preset modes: {self.preset_modes}

Steps to reproduce

my Levoit 400s exposes 2 preset modes "sleep" and "auto" trying to call either of those gives this error message, i've tried all caps, all lowercase, same error

Expected behavior switch to preset mode

Screenshots screenshot of available options: https://imgur.com/G4I5esr

updated HA and HACS to latest available on everything.

Additionally, the card isn't picking up the air quality sensor for the AQI overlay, but I can call it in in the status bar no problem as "air_quality" is there an easy solution for this?

bobloadmire avatar Jan 23 '22 18:01 bobloadmire

...same with my Aiibot 500.

ghost avatar Jun 19 '22 13:06 ghost

@bobloadmire about the air quality: you have to configure a sensor I called it emission and add it to the card like this stats:

  • entity_id: sensor.emission unit: µg/m³ subtitle: Emmision Preset modes not working here, too...

Siffup avatar Jul 23 '22 18:07 Siffup

That work with my Levoit 300s `shortcuts:

  • name: Auto icon: mdi:brightness-auto preset_mode: auto
  • name: Niedrig icon: mdi:circle-slice-2 percentage: 33
  • name: Mittel icon: mdi:circle-slice-4 percentage: 66
  • name: Hoch icon: mdi:circle-slice-8 percentage: 100
  • name: Sleep icon: mdi:weather-night preset_mode: sleep`

I look for preset names here: https://github.com/home-assistant/core/blob/dev/homeassistant/components/vesync/fan.py

hflocki avatar Jan 15 '23 11:01 hflocki

There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue. Thank you for your contributions!

github-actions[bot] avatar Jun 16 '23 21:06 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] avatar Jul 16 '23 22:07 github-actions[bot]