Hello!
I’ve been poking around HA for some time now and normally find all my answers here, but now I’m stumped.
I have a Levoit 400s Air Purifier and the settings on the app are Auto, 1, 2, 3, 4, Sleep. But HA is reports the speed_steps at 33.33%.
If I manually set the speed “4”, HA reports 133% speed. HA will not let me set and use the 133% speed set on an action. Here below is the data and config I’m using. You can see that the entity reports a percentage of 133.
I should mention i am using this HACS lovelace card.
Thank you for any help i can get.
Developer Tools
speed_list:
- 'off'
- low
- medium
- high
- auto
- sleep
preset_modes:
- auto
- sleep
speed: high
percentage: 133
percentage_step: 33.333333333333336
preset_mode: null
child_lock: false
night_light: 'off'
air_quality: 4
mode: manual
filter_life: 100
friendly_name: Living Room Air Purifier
supported_features: 1
Custom Card
type: custom:purifier-card
entity: fan.living_room_air_purifier
compact_view: true
show_toolbar: true
show_status: true
show_name: true
aqi:
entity_id: sensor.u_s_air_quality_index
stats:
- attribute: filter_life
unit: '%'
subtitle: Filter Life Remaining
- attribute: air_quality
subtitle: Indoor PCM2.5
- attribute: speed
subtitle: Selected Speed
actions:
- name: 33
icon: mdi:circle-slice-2
speed: 33
- name: 66
icon: mdi:circle-slice-3
speed: 66
- name: 99
icon: mdi:circle-slice-4
speed: 99
- name: 133
icon: mdi:circle-slice-5
speed: 133
- name: Auto
icon: mdi:brightness-auto
speed: Auto
- name: Sleep
icon: mdi:weather-night
speed: sleep
shortcuts:
- name: 33
icon: mdi:circle-slice-2
percentage: 33
- name: 66
icon: mdi:circle-slice-3
percentage: 66
- name: 99
icon: mdi:circle-slice-4
percentage: 99
- name: 133
icon: mdi:circle-slice-5
percentage: 133
- name: Auto
icon: mdi:brightness-auto
preset_mode: Auto
- name: Sleep
icon: mdi:weather-night
preset_mode: sleep