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

AQI word over picture

Open JuhaFIN1 opened this issue 3 years ago • 8 comments

In this last update v2.0.0 ( today) there is now AQI word over purifier picture and cannot change or remove it in code.

Purifier is: Philips ac2729, everythin else is working.

aqi_Screenshot 2021-12-03 070051

JuhaFIN1 avatar Dec 03 '21 05:12 JuhaFIN1

I guess that's because your purifier doesn't report AQI as a state or attribute and you have not provided an aqi object in config to describe where to take aqi data.

denysdovhan avatar Dec 03 '21 12:12 denysdovhan

Ok. So how do i get rid of it?

JuhaFIN1 avatar Dec 03 '21 13:12 JuhaFIN1

You cannot. You have to manually provide an aqi object.

Though, it seems like a good option candidate to optionally hide aqi on the card.

denysdovhan avatar Dec 03 '21 23:12 denysdovhan

Yeah, i wote for it :) Or can you give me info how i can manually do aqi object :)

JuhaFIN1 avatar Dec 04 '21 07:12 JuhaFIN1

Hi,

I use a Mi Air Purifier 3H, and have exactly the same issue than @JuhaFIN1, I add my vote on the list :)

I found a sensor that seems report the expected data (sensor.mi_air_purifier_3_3h_pm2_5), but I can't find how to map it to the card. Any help would be welcomed 🙏

Edited.... Oh, I've finaly found on another topic how to solve this issue ! Just be careful to don't start the entity_id under aqi with a hyphen.

You can see below my final config file, and the related preview : AQI

type: custom:purifier-card
entity: fan.mi_air_purifier_3_3h
aqi:
  entity_id: sensor.mi_air_purifier_3_3h_pm2_5
stats:
  - entity_id: sensor.mi_air_purifier_3_3h_motor_speed
    unit: RPM
    subtitle: Vitesse
  - entity_id: sensor.mi_air_purifier_3_3h_temperature
    unit: C
    subtitle: Temp.
  - entity_id: sensor.mi_air_purifier_3_3h_humidity
    unit: '%'
    subtitle: Humidité
  - entity_id: sensor.mi_air_purifier_3_3h_filter_life_remaining
    subtitle: Filtre
    unit: '%'
actions:
  - name: Cicho
    icon: mdi:weather-night
    speed: Silent
  - name: 25%
    icon: mdi:circle-slice-2
    speed: Favorite
    xiaomi_miio_favorite_level: 3
  - name: 50%
    icon: mdi:circle-slice-4
    speed: Favorite
    xiaomi_miio_favorite_level: 7
  - name: 75%
    icon: mdi:circle-slice-6
    speed: Favorite
    xiaomi_miio_favorite_level: 10
  - name: 100%
    icon: mdi:circle-slice-8
    speed: Favorite
    xiaomi_miio_favorite_level: 14
  - name: Auto
    icon: mdi:brightness-auto
    speed: Auto
shortcuts:
  - name: Silent
    icon: mdi:weather-night
    preset_mode: Silent
  - name: 25%
    icon: mdi:circle-slice-2
    percentage: 25
  - name: 50%
    icon: mdi:circle-slice-4
    percentage: 50
  - name: 75%
    icon: mdi:circle-slice-6
    percentage: 50
  - name: 100%
    icon: mdi:circle-slice-8
    percentage: 100
  - name: Auto
    icon: mdi:brightness-auto
    preset_mode: Auto
show_name: true
show_status: true
show_state: true
show_toolbar: true
compact_view: false

noiwid avatar Dec 06 '21 10:12 noiwid

Edited.... Oh, I've finaly found on another topic how to solve this issue ! Just be careful to don't start the entity_id under aqi with a hyphen.

Thank you!!!

So frustrating that isn't isn't explained on the main page

NOTORIOUSVR avatar Apr 03 '22 22:04 NOTORIOUSVR

Please add a way to hide this. I tried with the style: option, but it seems as though it's not possible that way.

watzon avatar Jun 07 '22 20:06 watzon

hi, what are you tryin' to hide exactly?

noiwid avatar Jun 07 '22 21:06 noiwid

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 23: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 17 '23 00:07 github-actions[bot]