-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ha-icon-button no longer supports icon="" in 2021.11 #72
Comments
until it's fixed, you can manually edit purifier-card.js and modify the following lines:
and the whole code from line 394 to 419:
You must maintain the spacing (just replace the code from the line with the new code without deleting the space before it). EDIT: |
Thanks for reporting! |
## [0.13.1](v0.13.0...v0.13.1) (2021-11-05) ### Bug Fixes * **ha:** fix ha-icon-button issue ([03b4881](03b4881)), closes [#72](#72)
🎉 This issue has been resolved in version 0.13.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# 1.0.0 (2022-11-28) ### Bug Fixes * add linting before build on CI ([4730836](4730836)) * add missing space in version console.info ([c546542](c546542)) * bump ha-template ([7ba4117](7ba4117)) * centered icons in buttons ([denysdovhan#73](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/73)) ([67e3762](67e3762)) * change default platform to xiaomi_miio_airpurifier ([81f302d](81f302d)) * do not render empty % ([3a13d9c](3a13d9c)) * fix missing lit-element ([4cb8091](4cb8091)), closes [denysdovhan#106](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/106) * Fix preset menu in 2022.3.x ([denysdovhan#90](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/90)) ([f83f939](f83f939)) * Fixed showSpeed and showPresetMode ([denysdovhan#63](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/63)) ([2027560](2027560)) * **ha:** fix ha-icon-button issue ([03b4881](03b4881)), closes [denysdovhan#72](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/72) * Migrate fan model ([denysdovhan#41](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/41)) ([0005c3c](0005c3c)) * not rendering falsy values in stats. ([9f1cd80](9f1cd80)) * **readme:** Add notice about Ukraine ([9dfa151](9dfa151)) * regeneratorRuntime is not defined ([0a08943](0a08943)) * Remove changelog and add missing git ([99d1340](99d1340)) * Remove changelog and add missing git ([f949592](f949592)) * remove xiaomi_miio_level_without_preset_mode warnings ([9ea87e4](9ea87e4)) * rename speed to preset_mode in translations ([046fdb0](046fdb0)) * **semantic-release:** Add missing deps ([fb17f0b](fb17f0b)) * speed popup overflow ([da4377a](da4377a)) * Speed/Preset mode header fix ([denysdovhan#60](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/60)) ([6c96905](6c96905)) * untranspiled ?? operator ([154200d](154200d)) * wrap actions denysdovhan/vacuum-card#208 ([abd7ade](abd7ade)) ### Code Refactoring * drop xiaomi_miio_favorite_level option ([f20fdcc](f20fdcc)) * remove deprecated fan.set_speed service ([bc93b78](bc93b78)) * rename actions to shortcuts ([f4ddf8d](f4ddf8d)) ### Features * add 'platform' option ([denysdovhan#69](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/69)) ([92f7093](92f7093)) * Add @semantic-release/git for updating version in the repo ([6d15205](6d15205)) * add a slider to adjust speed ([fff54f5](fff54f5)) * add Bulgarian translation ([b9e14a6](b9e14a6)) * add compact_view options in UI editor ([5aaede9](5aaede9)) * add templates and lots of refactoring ([6f8bb45](6f8bb45)) * Add zh-TW localization ([denysdovhan#68](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/68)) ([f712ed4](f712ed4)) * Added Catalan translation ([denysdovhan#37](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/37)) ([894ea35](894ea35)) * Added Russian language ([denysdovhan#42](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/42)) ([1295074](1295074)) * allow configuration of aqi value and title ([084be62](084be62)) * Integrated the Italian language ([denysdovhan#56](https://github.com/filiptepper/xiaomi-air-purifier-card/issues/56)) ([43b46cb](43b46cb)) * introduce styling and refactor styles ([48ec9c3](48ec9c3)) * print version in console ([7610929](7610929)) * provide value inside value_template ([ad5ae4f](ad5ae4f)) ### BREAKING CHANGES * The speed option is removed in favour of percentage * xiaomi_miio_favorite_level is removed * Changes default platform from xiaomi_miio to xiaomi_miio_airpurifier * `speed` option for `shortcuts` is replaced by `preset_mode` and `percentage` * actions are renamed to shortcuts
# 1.0.0 (2024-08-08) ### Bug Fixes * add linting before build on CI ([4730836](4730836)) * add main branch for releases ([df6c28c](df6c28c)) * add missing space in version console.info ([c546542](c546542)) * bump ha-template ([7ba4117](7ba4117)) * card-mod not working ([denysdovhan#247](https://github.com/duddi/purifier-card/issues/247)) ([4df2497](4df2497)) * centered icons in buttons ([denysdovhan#73](https://github.com/duddi/purifier-card/issues/73)) ([67e3762](67e3762)) * change default platform to xiaomi_miio_airpurifier ([81f302d](81f302d)) * **deps:** fix stale ha-tempalte bundle ([8d00cd5](8d00cd5)) * **deps:** regeneratorRuntime is not defined in ha-template ([9ffbc1b](9ffbc1b)), closes [denysdovhan#228](https://github.com/duddi/purifier-card/issues/228) * Do not fail when problem with stats encountered ([5eeddd1](5eeddd1)) * do not render empty % ([3a13d9c](3a13d9c)) * fix circular progress ([3afe6a8](3afe6a8)) * fix missing lit-element ([4cb8091](4cb8091)), closes [denysdovhan#106](https://github.com/duddi/purifier-card/issues/106) * Fix preset menu in 2022.3.x ([denysdovhan#90](https://github.com/duddi/purifier-card/issues/90)) ([f83f939](f83f939)) * fix problem with ha-template dep ([eee8dc3](eee8dc3)) * fix release cycle ([6e35797](6e35797)) * Fixed showSpeed and showPresetMode ([denysdovhan#63](https://github.com/duddi/purifier-card/issues/63)) ([2027560](2027560)) * **ha:** fix ha-icon-button issue ([03b4881](03b4881)), closes [denysdovhan#72](https://github.com/duddi/purifier-card/issues/72) * Migrate fan model ([denysdovhan#41](https://github.com/duddi/purifier-card/issues/41)) ([0005c3c](0005c3c)) * migrate rollup to esm modules ([5b2269f](5b2269f)) * minor problems with deps ([7095dfc](7095dfc)) * not rendering falsy values in stats. ([9f1cd80](9f1cd80)) * **readme:** Add notice about Ukraine ([9dfa151](9dfa151)) * regeneratorRuntime is not defined ([0a08943](0a08943)) * Remove changelog and add missing git ([99d1340](99d1340)) * Remove changelog and add missing git ([f949592](f949592)) * remove xiaomi_miio_level_without_preset_mode warnings ([9ea87e4](9ea87e4)) * rename speed to preset_mode in translations ([046fdb0](046fdb0)) * **semantic-release:** Add missing deps ([fb17f0b](fb17f0b)) * speed popup overflow ([da4377a](da4377a)) * Speed/Preset mode header fix ([denysdovhan#60](https://github.com/duddi/purifier-card/issues/60)) ([6c96905](6c96905)) * **style:** Corners overlapping ([692bf68](692bf68)) * untranspiled ?? operator ([154200d](154200d)) * wrap actions denysdovhan/vacuum-card#208 ([abd7ade](abd7ade)) ### Code Refactoring * drop xiaomi_miio_favorite_level option ([f20fdcc](f20fdcc)) * remove deprecated fan.set_speed service ([bc93b78](bc93b78)) * rename actions to shortcuts ([f4ddf8d](f4ddf8d)) ### Features * add 'platform' option ([denysdovhan#69](https://github.com/duddi/purifier-card/issues/69)) ([92f7093](92f7093)) * Add @semantic-release/git for updating version in the repo ([6d15205](6d15205)) * add a slider to adjust speed ([fff54f5](fff54f5)) * add ability to combine attribute and entity_id in stats ([de31c53](de31c53)) * add Bulgarian translation ([b9e14a6](b9e14a6)) * add compact_view options in UI editor ([5aaede9](5aaede9)) * Add Spanish translation ([denysdovhan#268](https://github.com/duddi/purifier-card/issues/268)) ([d3a7cd1](d3a7cd1)) * add templates and lots of refactoring ([6f8bb45](6f8bb45)) * Add zh-TW localization ([denysdovhan#68](https://github.com/duddi/purifier-card/issues/68)) ([f712ed4](f712ed4)) * Added Catalan translation ([denysdovhan#37](https://github.com/duddi/purifier-card/issues/37)) ([894ea35](894ea35)) * Added Russian language ([denysdovhan#42](https://github.com/duddi/purifier-card/issues/42)) ([1295074](1295074)) * allow configuration of aqi value and title ([084be62](084be62)) * Extend callService with target to make it possible to call a service on a custom entity. ([denysdovhan#363](https://github.com/duddi/purifier-card/issues/363)) ([861a52c](861a52c)) * **i18n:** add dutch translation ([denysdovhan#211](https://github.com/duddi/purifier-card/issues/211)) ([a8dd218](a8dd218)) * Integrated the Italian language ([denysdovhan#56](https://github.com/duddi/purifier-card/issues/56)) ([43b46cb](43b46cb)) * introduce styling and refactor styles ([48ec9c3](48ec9c3)) * print version in console ([7610929](7610929)) * provide value inside value_template ([ad5ae4f](ad5ae4f)) * start transition to typescript ([5d61230](5d61230)) ### BREAKING CHANGES * The speed option is removed in favour of percentage * xiaomi_miio_favorite_level is removed * Changes default platform from xiaomi_miio to xiaomi_miio_airpurifier * `speed` option for `shortcuts` is replaced by `preset_mode` and `percentage` * actions are renamed to shortcuts
After updating to 2021.11 I noticed that all icons were missing from this integration.
I created an issue on the Home Assistant Frontend repository, only to find that
ha-icon-button
has changed behavior. This is not listed in the official update's "breaking changes" section, because usingha-icon-button
is technically wrong, since it's a Home Assistant component/element, that should not be used by developers. Read more on my issue here: home-assistant/frontend#10521The text was updated successfully, but these errors were encountered: