Skip to content

fix: indicator style for the 1st state#1105

Merged
akloeckner merged 3 commits into
kalkih:devfrom
ildar170975:fix-indicator
May 15, 2024
Merged

fix: indicator style for the 1st state#1105
akloeckner merged 3 commits into
kalkih:devfrom
ildar170975:fix-indicator

Conversation

@ildar170975

Copy link
Copy Markdown
Collaborator

Consider the code:

type: custom:mini-graph-card
entities:
  - entity: sensor.xiaomi_cg_1_co2
    show_state: true
    show_indicator: true
  - entity: sensor.xiaomi_cg_2_co2
    show_state: true
    show_indicator: true
  - entity: sensor.mijia_300_1_co2
    show_state: true
    show_indicator: true
name: xxx

Currently an indicator for the 1st state is misaligned & square:

изображение

After the fix:

изображение

@ildar170975

ildar170975 commented May 15, 2024

Copy link
Copy Markdown
Collaborator Author

@akloeckner
Have no idea why - but the PR contains some other changes as well:
изображение
although I only proposed changes in style.js.

@akloeckner

Copy link
Copy Markdown
Collaborator

It's because I didn't pull the release-related commits into dev. I did that now.

I'll fix the semantic PR title and merge. 👍

@akloeckner akloeckner changed the title Fix indicator for the 1st state fix: indicator style for the 1st state May 15, 2024
@akloeckner
akloeckner merged commit c0ad333 into kalkih:dev May 15, 2024
@ildar170975

Copy link
Copy Markdown
Collaborator Author

Thanks a lot!

@ildar170975
ildar170975 deleted the fix-indicator branch May 15, 2024 22:41
github-actions Bot pushed a commit that referenced this pull request Jul 24, 2024
## [0.12.2-dev.1](v0.12.1...v0.12.2-dev.1) (2024-07-24)

### Bug Fixes

* indicator style for the 1st state ([#1105](#1105)) ([c0ad333](c0ad333))
* legend indicators respect entity attribute configuration ([#1115](#1115)) ([5fe01d1](5fe01d1))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.12.2-dev.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions Bot pushed a commit that referenced this pull request May 29, 2025
# [0.13.0](v0.12.1...v0.13.0) (2025-05-29)

### Bug Fixes

* adapt state color to tooltip properties ([#1214](#1214)) ([1142f25](1142f25))
* computeUom() for attribute & empty unit ([#1236](#1236)) ([436b9a9](436b9a9))
* deprecated paper-item-icon-color ([#1247](#1247)) ([2e99db5](2e99db5))
* hide graph loading indicator when appropriate ([#1197](#1197)) ([d708d6a](d708d6a))
* indicator style for the 1st state ([#1105](#1105)) ([c0ad333](c0ad333))
* legend indicators respect entity attribute configuration ([#1115](#1115)) ([5fe01d1](5fe01d1))
* legend unit percent w/o whitespace ([#1191](#1191)) ([9f5cfd9](9f5cfd9))
* migrate to ha-spinner  ([#1234](#1234)) ([d68f651](d68f651))
* more intuitive min_bound_range behavior ([#1136](#1136)) ([54d9875](54d9875))
* name and icon color respect attribute choice ([#1131](#1131)) ([cbfba7a](cbfba7a))
* padding fill ([#1238](#1238)) ([f930fa6](f930fa6))
* process absent UoM in computeLegend() ([#1237](#1237)) ([5724cfd](5724cfd))
* remove unused argument from getBoundary ([#1193](#1193)) ([f5261d9](f5261d9))
* use a proper config in renderState() ([#1217](#1217)) ([c980460](c980460))
* use d3 to interpolate colors ([#1118](#1118)) ([b8676f5](b8676f5))

### Features

* add "tooltip--label" class ([#1202](#1202)) ([0d3c184](0d3c184))
* Add loader ([#1180](#1180)) ([30c5263](30c5263))
* add show_legend_state ([#1173](#1173)) ([3b1c827](3b1c827))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions Bot pushed a commit to brozikcz/mini-graph-card that referenced this pull request Jun 1, 2025
# 1.0.0 (2025-06-01)

### Bug Fixes

* adapt state color to tooltip properties ([kalkih#1214](https://github.com/brozikcz/mini-graph-card/issues/1214)) ([1142f25](1142f25))
* add first datapoint tooltip for line graph ([kalkih#882](https://github.com/brozikcz/mini-graph-card/issues/882)) ([7576fe6](7576fe6))
* allow zero tooltip ([057a395](057a395)), closes [kalkih#805](https://github.com/brozikcz/mini-graph-card/issues/805)
* cards would always assume icon_image was set ([kalkih#957](https://github.com/brozikcz/mini-graph-card/issues/957)) ([f376732](f376732))
* computeUom() for attribute & empty unit ([kalkih#1236](https://github.com/brozikcz/mini-graph-card/issues/1236)) ([436b9a9](436b9a9))
* deprecated paper-item-icon-color ([kalkih#1247](https://github.com/brozikcz/mini-graph-card/issues/1247)) ([2e99db5](2e99db5))
* display a warning if entity is not available ([kalkih#545](https://github.com/brozikcz/mini-graph-card/issues/545)) ([a334b84](a334b84)), closes [kalkih#487](https://github.com/brozikcz/mini-graph-card/issues/487)
* drop out-of-bound coords in reducer ([kalkih#881](https://github.com/brozikcz/mini-graph-card/issues/881)) ([527f005](527f005)), closes [kalkih#251](https://github.com/brozikcz/mini-graph-card/issues/251)
* Fix undefined variable introduced by [kalkih#545](https://github.com/brozikcz/mini-graph-card/issues/545) ([9e923f5](9e923f5))
* hide graph loading indicator when appropriate ([kalkih#1197](https://github.com/brozikcz/mini-graph-card/issues/1197)) ([d708d6a](d708d6a))
* icon will properly follow entity's device_class [[kalkih#484](https://github.com/brozikcz/mini-graph-card/issues/484)] ([2f9e0a7](2f9e0a7))
* indicator style for the 1st state ([kalkih#1105](https://github.com/brozikcz/mini-graph-card/issues/1105)) ([c0ad333](c0ad333))
* legend indicators respect entity attribute configuration ([kalkih#1115](https://github.com/brozikcz/mini-graph-card/issues/1115)) ([5fe01d1](5fe01d1))
* legend unit percent w/o whitespace ([kalkih#1191](https://github.com/brozikcz/mini-graph-card/issues/1191)) ([9f5cfd9](9f5cfd9))
* migrate to ha-spinner  ([kalkih#1234](https://github.com/brozikcz/mini-graph-card/issues/1234)) ([d68f651](d68f651))
* more intuitive min_bound_range behavior ([kalkih#1136](https://github.com/brozikcz/mini-graph-card/issues/1136)) ([54d9875](54d9875))
* name and icon color respect attribute choice ([kalkih#1131](https://github.com/brozikcz/mini-graph-card/issues/1131)) ([cbfba7a](cbfba7a))
* padding fill ([kalkih#1238](https://github.com/brozikcz/mini-graph-card/issues/1238)) ([f930fa6](f930fa6))
* process absent UoM in computeLegend() ([kalkih#1237](https://github.com/brozikcz/mini-graph-card/issues/1237)) ([5724cfd](5724cfd))
* remove unused argument from getBoundary ([kalkih#1193](https://github.com/brozikcz/mini-graph-card/issues/1193)) ([f5261d9](f5261d9))
* retain the last out-of-bounds state ([kalkih#961](https://github.com/brozikcz/mini-graph-card/issues/961)) ([8ebe173](8ebe173)), closes [kalkih#881](https://github.com/brozikcz/mini-graph-card/issues/881) [kalkih#960](https://github.com/brozikcz/mini-graph-card/issues/960)
* Support for `fire-dom-event` ([c29f55f](c29f55f)), closes [kalkih#563](https://github.com/brozikcz/mini-graph-card/issues/563)
* Time would sometime display 24:xx instead of 00:xx [[kalkih#536](https://github.com/brozikcz/mini-graph-card/issues/536)] ([7c7d921](7c7d921))
* tooltip interval start could be after end ([kalkih#1065](https://github.com/brozikcz/mini-graph-card/issues/1065)) ([930ee39](930ee39)), closes [kalkih#181](https://github.com/brozikcz/mini-graph-card/issues/181)
* use a proper config in renderState() ([kalkih#1217](https://github.com/brozikcz/mini-graph-card/issues/1217)) ([c980460](c980460))
* use d3 to interpolate colors ([kalkih#1118](https://github.com/brozikcz/mini-graph-card/issues/1118)) ([b8676f5](b8676f5))
* **config:** Remove entity config error [kalkih#592](https://github.com/brozikcz/mini-graph-card/issues/592) ([kalkih#593](https://github.com/brozikcz/mini-graph-card/issues/593)) ([53d923a](53d923a))
* **documentation:** enquote html color ([dbdeab8](dbdeab8)), closes [kalkih#872](https://github.com/brozikcz/mini-graph-card/issues/872)
* **log:** color_thresholds render incorectly with logaritmic on ([kalkih#542](https://github.com/brozikcz/mini-graph-card/issues/542)) ([b704885](b704885)), closes [kalkih#531](https://github.com/brozikcz/mini-graph-card/issues/531)
* **stalebot:** issues should also use exemptLabels ([4d74c1f](4d74c1f))
* **workflows:** remove invalid description field ([e755e24](e755e24))

### Features

* add "tooltip--label" class ([kalkih#1202](https://github.com/brozikcz/mini-graph-card/issues/1202)) ([0d3c184](0d3c184))
* Add loader ([kalkih#1180](https://github.com/brozikcz/mini-graph-card/issues/1180)) ([30c5263](30c5263))
* add show_legend_state ([kalkih#1173](https://github.com/brozikcz/mini-graph-card/issues/1173)) ([3b1c827](3b1c827))
* Add support of attribute tree when available ([kalkih#996](https://github.com/brozikcz/mini-graph-card/issues/996)) ([9c1c31e](9c1c31e))
* Format numbers according to selected language [[kalkih#495](https://github.com/brozikcz/mini-graph-card/issues/495) [kalkih#509](https://github.com/brozikcz/mini-graph-card/issues/509)] ([5785bd8](5785bd8))
* pull two years worth of changes into release channel ([f5fb98d](f5fb98d)), closes [kalkih#1059](https://github.com/brozikcz/mini-graph-card/issues/1059)
* **attribute:** Retrieve an attribute instead of the state ([kalkih#564](https://github.com/brozikcz/mini-graph-card/issues/564)) ([708bfde](708bfde)), closes [kalkih#411](https://github.com/brozikcz/mini-graph-card/issues/411) [kalkih#245](https://github.com/brozikcz/mini-graph-card/issues/245) [kalkih#501](https://github.com/brozikcz/mini-graph-card/issues/501)
* **graph:** Add median aggregate function ([kalkih#521](https://github.com/brozikcz/mini-graph-card/issues/521)) ([57219bd](57219bd))
* **option:** override icon with an image URL ([kalkih#789](https://github.com/brozikcz/mini-graph-card/issues/789)) ([2860a09](2860a09))
* Interpolate color threshold stops ([kalkih#596](https://github.com/brozikcz/mini-graph-card/issues/596)) ([3826c0d](3826c0d))
github-actions Bot pushed a commit to BlaDeKe/mini-graph-card that referenced this pull request Oct 16, 2025
# 1.0.0 (2025-10-16)

### Bug Fixes

* adapt state color to tooltip properties ([kalkih#1214](https://github.com/bladeke/mini-graph-card/issues/1214)) ([1142f25](1142f25))
* add first datapoint tooltip for line graph ([kalkih#882](https://github.com/bladeke/mini-graph-card/issues/882)) ([7576fe6](7576fe6))
* allow zero tooltip ([057a395](057a395)), closes [kalkih#805](https://github.com/bladeke/mini-graph-card/issues/805)
* cards would always assume icon_image was set ([kalkih#957](https://github.com/bladeke/mini-graph-card/issues/957)) ([f376732](f376732))
* changed repo in package.json to my fork ([a2b63f7](a2b63f7))
* computeUom() for attribute & empty unit ([kalkih#1236](https://github.com/bladeke/mini-graph-card/issues/1236)) ([436b9a9](436b9a9))
* deprecated paper-item-icon-color ([kalkih#1247](https://github.com/bladeke/mini-graph-card/issues/1247)) ([2e99db5](2e99db5))
* display a warning if entity is not available ([kalkih#545](https://github.com/bladeke/mini-graph-card/issues/545)) ([a334b84](a334b84)), closes [kalkih#487](https://github.com/bladeke/mini-graph-card/issues/487)
* drop out-of-bound coords in reducer ([kalkih#881](https://github.com/bladeke/mini-graph-card/issues/881)) ([527f005](527f005)), closes [kalkih#251](https://github.com/bladeke/mini-graph-card/issues/251)
* Fix undefined variable introduced by [kalkih#545](https://github.com/bladeke/mini-graph-card/issues/545) ([9e923f5](9e923f5))
* hide graph loading indicator when appropriate ([kalkih#1197](https://github.com/bladeke/mini-graph-card/issues/1197)) ([d708d6a](d708d6a))
* icon will properly follow entity's device_class [[kalkih#484](https://github.com/bladeke/mini-graph-card/issues/484)] ([2f9e0a7](2f9e0a7))
* indicator style for the 1st state ([kalkih#1105](https://github.com/bladeke/mini-graph-card/issues/1105)) ([c0ad333](c0ad333))
* legend indicators respect entity attribute configuration ([kalkih#1115](https://github.com/bladeke/mini-graph-card/issues/1115)) ([5fe01d1](5fe01d1))
* legend unit percent w/o whitespace ([kalkih#1191](https://github.com/bladeke/mini-graph-card/issues/1191)) ([9f5cfd9](9f5cfd9))
* lint errors ([63e4a60](63e4a60))
* migrate to ha-spinner  ([kalkih#1234](https://github.com/bladeke/mini-graph-card/issues/1234)) ([d68f651](d68f651))
* more intuitive min_bound_range behavior ([kalkih#1136](https://github.com/bladeke/mini-graph-card/issues/1136)) ([54d9875](54d9875))
* name and icon color respect attribute choice ([kalkih#1131](https://github.com/bladeke/mini-graph-card/issues/1131)) ([cbfba7a](cbfba7a))
* padding fill ([kalkih#1238](https://github.com/bladeke/mini-graph-card/issues/1238)) ([f930fa6](f930fa6))
* process absent UoM in computeLegend() ([kalkih#1237](https://github.com/bladeke/mini-graph-card/issues/1237)) ([5724cfd](5724cfd))
* remove unused argument from getBoundary ([kalkih#1193](https://github.com/bladeke/mini-graph-card/issues/1193)) ([f5261d9](f5261d9))
* retain the last out-of-bounds state ([kalkih#961](https://github.com/bladeke/mini-graph-card/issues/961)) ([8ebe173](8ebe173)), closes [kalkih#881](https://github.com/bladeke/mini-graph-card/issues/881) [kalkih#960](https://github.com/bladeke/mini-graph-card/issues/960)
* Support for `fire-dom-event` ([c29f55f](c29f55f)), closes [kalkih#563](https://github.com/bladeke/mini-graph-card/issues/563)
* Time would sometime display 24:xx instead of 00:xx [[kalkih#536](https://github.com/bladeke/mini-graph-card/issues/536)] ([7c7d921](7c7d921))
* tooltip interval start could be after end ([kalkih#1065](https://github.com/bladeke/mini-graph-card/issues/1065)) ([930ee39](930ee39)), closes [kalkih#181](https://github.com/bladeke/mini-graph-card/issues/181)
* use a proper config in renderState() ([kalkih#1217](https://github.com/bladeke/mini-graph-card/issues/1217)) ([c980460](c980460))
* use d3 to interpolate colors ([kalkih#1118](https://github.com/bladeke/mini-graph-card/issues/1118)) ([b8676f5](b8676f5))
* **config:** Remove entity config error [kalkih#592](https://github.com/bladeke/mini-graph-card/issues/592) ([kalkih#593](https://github.com/bladeke/mini-graph-card/issues/593)) ([53d923a](53d923a))
* **documentation:** enquote html color ([dbdeab8](dbdeab8)), closes [kalkih#872](https://github.com/bladeke/mini-graph-card/issues/872)
* **log:** color_thresholds render incorectly with logaritmic on ([kalkih#542](https://github.com/bladeke/mini-graph-card/issues/542)) ([b704885](b704885)), closes [kalkih#531](https://github.com/bladeke/mini-graph-card/issues/531)
* **stalebot:** issues should also use exemptLabels ([4d74c1f](4d74c1f))
* **workflows:** remove invalid description field ([e755e24](e755e24))

### Features

* add "tooltip--label" class ([kalkih#1202](https://github.com/bladeke/mini-graph-card/issues/1202)) ([0d3c184](0d3c184))
* Add loader ([kalkih#1180](https://github.com/bladeke/mini-graph-card/issues/1180)) ([30c5263](30c5263))
* add show_legend_state ([kalkih#1173](https://github.com/bladeke/mini-graph-card/issues/1173)) ([3b1c827](3b1c827))
* Add support of attribute tree when available ([kalkih#996](https://github.com/bladeke/mini-graph-card/issues/996)) ([9c1c31e](9c1c31e))
* added dynamic threshold color function ([8312879](8312879))
* Format numbers according to selected language [[kalkih#495](https://github.com/bladeke/mini-graph-card/issues/495) [kalkih#509](https://github.com/bladeke/mini-graph-card/issues/509)] ([5785bd8](5785bd8))
* Interpolate color threshold stops ([kalkih#596](https://github.com/bladeke/mini-graph-card/issues/596)) ([3826c0d](3826c0d))
* pull two years worth of changes into release channel ([f5fb98d](f5fb98d)), closes [kalkih#1059](https://github.com/bladeke/mini-graph-card/issues/1059)
* **attribute:** Retrieve an attribute instead of the state ([kalkih#564](https://github.com/bladeke/mini-graph-card/issues/564)) ([708bfde](708bfde)), closes [kalkih#411](https://github.com/bladeke/mini-graph-card/issues/411) [kalkih#245](https://github.com/bladeke/mini-graph-card/issues/245) [kalkih#501](https://github.com/bladeke/mini-graph-card/issues/501)
* **graph:** Add median aggregate function ([kalkih#521](https://github.com/bladeke/mini-graph-card/issues/521)) ([57219bd](57219bd))
* **option:** override icon with an image URL ([kalkih#789](https://github.com/bladeke/mini-graph-card/issues/789)) ([2860a09](2860a09))
github-actions Bot pushed a commit to wbu/mini-graph-card that referenced this pull request Nov 15, 2025
# 1.0.0 (2025-11-15)

### Bug Fixes

* adapt state color to tooltip properties ([kalkih#1214](https://github.com/wbu/mini-graph-card/issues/1214)) ([1142f25](1142f25))
* add first datapoint tooltip for line graph ([kalkih#882](https://github.com/wbu/mini-graph-card/issues/882)) ([7576fe6](7576fe6))
* allow zero tooltip ([057a395](057a395)), closes [kalkih#805](https://github.com/wbu/mini-graph-card/issues/805)
* cards would always assume icon_image was set ([kalkih#957](https://github.com/wbu/mini-graph-card/issues/957)) ([f376732](f376732))
* computeUom() for attribute & empty unit ([kalkih#1236](https://github.com/wbu/mini-graph-card/issues/1236)) ([436b9a9](436b9a9))
* deprecated paper-item-icon-color ([kalkih#1247](https://github.com/wbu/mini-graph-card/issues/1247)) ([2e99db5](2e99db5))
* display a warning if entity is not available ([kalkih#545](https://github.com/wbu/mini-graph-card/issues/545)) ([a334b84](a334b84)), closes [kalkih#487](https://github.com/wbu/mini-graph-card/issues/487)
* drop out-of-bound coords in reducer ([kalkih#881](https://github.com/wbu/mini-graph-card/issues/881)) ([527f005](527f005)), closes [kalkih#251](https://github.com/wbu/mini-graph-card/issues/251)
* Fix undefined variable introduced by [kalkih#545](https://github.com/wbu/mini-graph-card/issues/545) ([9e923f5](9e923f5))
* hide graph loading indicator when appropriate ([kalkih#1197](https://github.com/wbu/mini-graph-card/issues/1197)) ([d708d6a](d708d6a))
* icon will properly follow entity's device_class [[kalkih#484](https://github.com/wbu/mini-graph-card/issues/484)] ([2f9e0a7](2f9e0a7))
* indicator style for the 1st state ([kalkih#1105](https://github.com/wbu/mini-graph-card/issues/1105)) ([c0ad333](c0ad333))
* legend indicators respect entity attribute configuration ([kalkih#1115](https://github.com/wbu/mini-graph-card/issues/1115)) ([5fe01d1](5fe01d1))
* legend unit percent w/o whitespace ([kalkih#1191](https://github.com/wbu/mini-graph-card/issues/1191)) ([9f5cfd9](9f5cfd9))
* migrate to ha-spinner  ([kalkih#1234](https://github.com/wbu/mini-graph-card/issues/1234)) ([d68f651](d68f651))
* more intuitive min_bound_range behavior ([kalkih#1136](https://github.com/wbu/mini-graph-card/issues/1136)) ([54d9875](54d9875))
* name and icon color respect attribute choice ([kalkih#1131](https://github.com/wbu/mini-graph-card/issues/1131)) ([cbfba7a](cbfba7a))
* padding fill ([kalkih#1238](https://github.com/wbu/mini-graph-card/issues/1238)) ([f930fa6](f930fa6))
* process absent UoM in computeLegend() ([kalkih#1237](https://github.com/wbu/mini-graph-card/issues/1237)) ([5724cfd](5724cfd))
* remove unused argument from getBoundary ([kalkih#1193](https://github.com/wbu/mini-graph-card/issues/1193)) ([f5261d9](f5261d9))
* retain the last out-of-bounds state ([kalkih#961](https://github.com/wbu/mini-graph-card/issues/961)) ([8ebe173](8ebe173)), closes [kalkih#881](https://github.com/wbu/mini-graph-card/issues/881) [kalkih#960](https://github.com/wbu/mini-graph-card/issues/960)
* Support for `fire-dom-event` ([c29f55f](c29f55f)), closes [kalkih#563](https://github.com/wbu/mini-graph-card/issues/563)
* Time would sometime display 24:xx instead of 00:xx [[kalkih#536](https://github.com/wbu/mini-graph-card/issues/536)] ([7c7d921](7c7d921))
* tooltip interval start could be after end ([kalkih#1065](https://github.com/wbu/mini-graph-card/issues/1065)) ([930ee39](930ee39)), closes [kalkih#181](https://github.com/wbu/mini-graph-card/issues/181)
* use a proper config in renderState() ([kalkih#1217](https://github.com/wbu/mini-graph-card/issues/1217)) ([c980460](c980460))
* use d3 to interpolate colors ([kalkih#1118](https://github.com/wbu/mini-graph-card/issues/1118)) ([b8676f5](b8676f5))
* **config:** Remove entity config error [kalkih#592](https://github.com/wbu/mini-graph-card/issues/592) ([kalkih#593](https://github.com/wbu/mini-graph-card/issues/593)) ([53d923a](53d923a))
* **documentation:** enquote html color ([dbdeab8](dbdeab8)), closes [kalkih#872](https://github.com/wbu/mini-graph-card/issues/872)
* **log:** color_thresholds render incorectly with logaritmic on ([kalkih#542](https://github.com/wbu/mini-graph-card/issues/542)) ([b704885](b704885)), closes [kalkih#531](https://github.com/wbu/mini-graph-card/issues/531)
* **stalebot:** issues should also use exemptLabels ([4d74c1f](4d74c1f))
* **workflows:** remove invalid description field ([e755e24](e755e24))

### Features

* add "tooltip--label" class ([kalkih#1202](https://github.com/wbu/mini-graph-card/issues/1202)) ([0d3c184](0d3c184))
* Add loader ([kalkih#1180](https://github.com/wbu/mini-graph-card/issues/1180)) ([30c5263](30c5263))
* add show_legend_state ([kalkih#1173](https://github.com/wbu/mini-graph-card/issues/1173)) ([3b1c827](3b1c827))
* Add support of attribute tree when available ([kalkih#996](https://github.com/wbu/mini-graph-card/issues/996)) ([9c1c31e](9c1c31e))
* Format numbers according to selected language [[kalkih#495](https://github.com/wbu/mini-graph-card/issues/495) [kalkih#509](https://github.com/wbu/mini-graph-card/issues/509)] ([5785bd8](5785bd8))
* pull two years worth of changes into release channel ([f5fb98d](f5fb98d)), closes [kalkih#1059](https://github.com/wbu/mini-graph-card/issues/1059)
* **attribute:** Retrieve an attribute instead of the state ([kalkih#564](https://github.com/wbu/mini-graph-card/issues/564)) ([708bfde](708bfde)), closes [kalkih#411](https://github.com/wbu/mini-graph-card/issues/411) [kalkih#245](https://github.com/wbu/mini-graph-card/issues/245) [kalkih#501](https://github.com/wbu/mini-graph-card/issues/501)
* **graph:** Add median aggregate function ([kalkih#521](https://github.com/wbu/mini-graph-card/issues/521)) ([57219bd](57219bd))
* **option:** override icon with an image URL ([kalkih#789](https://github.com/wbu/mini-graph-card/issues/789)) ([2860a09](2860a09))
* Interpolate color threshold stops ([kalkih#596](https://github.com/wbu/mini-graph-card/issues/596)) ([3826c0d](3826c0d))
github-actions Bot pushed a commit to iiLaurens/mini-graph-card that referenced this pull request May 2, 2026
# 1.0.0 (2026-05-02)

### Bug Fixes

* adapt state color to tooltip properties ([kalkih#1214](https://github.com/iiLaurens/mini-graph-card/issues/1214)) ([1142f25](1142f25))
* add first datapoint tooltip for line graph ([kalkih#882](https://github.com/iiLaurens/mini-graph-card/issues/882)) ([7576fe6](7576fe6))
* allow zero tooltip ([057a395](057a395)), closes [kalkih#805](https://github.com/iiLaurens/mini-graph-card/issues/805)
* cards would always assume icon_image was set ([kalkih#957](https://github.com/iiLaurens/mini-graph-card/issues/957)) ([f376732](f376732))
* computeUom() for attribute & empty unit ([kalkih#1236](https://github.com/iiLaurens/mini-graph-card/issues/1236)) ([436b9a9](436b9a9))
* deprecated paper-item-icon-color ([kalkih#1247](https://github.com/iiLaurens/mini-graph-card/issues/1247)) ([2e99db5](2e99db5))
* display a warning if entity is not available ([kalkih#545](https://github.com/iiLaurens/mini-graph-card/issues/545)) ([a334b84](a334b84)), closes [kalkih#487](https://github.com/iiLaurens/mini-graph-card/issues/487)
* drop out-of-bound coords in reducer ([kalkih#881](https://github.com/iiLaurens/mini-graph-card/issues/881)) ([527f005](527f005)), closes [kalkih#251](https://github.com/iiLaurens/mini-graph-card/issues/251)
* Fix undefined variable introduced by [kalkih#545](https://github.com/iiLaurens/mini-graph-card/issues/545) ([9e923f5](9e923f5))
* hide graph loading indicator when appropriate ([kalkih#1197](https://github.com/iiLaurens/mini-graph-card/issues/1197)) ([d708d6a](d708d6a))
* icon will properly follow entity's device_class [[kalkih#484](https://github.com/iiLaurens/mini-graph-card/issues/484)] ([2f9e0a7](2f9e0a7))
* indicator style for the 1st state ([kalkih#1105](https://github.com/iiLaurens/mini-graph-card/issues/1105)) ([c0ad333](c0ad333))
* legend indicators respect entity attribute configuration ([kalkih#1115](https://github.com/iiLaurens/mini-graph-card/issues/1115)) ([5fe01d1](5fe01d1))
* legend unit percent w/o whitespace ([kalkih#1191](https://github.com/iiLaurens/mini-graph-card/issues/1191)) ([9f5cfd9](9f5cfd9))
* migrate to ha-spinner  ([kalkih#1234](https://github.com/iiLaurens/mini-graph-card/issues/1234)) ([d68f651](d68f651))
* more intuitive min_bound_range behavior ([kalkih#1136](https://github.com/iiLaurens/mini-graph-card/issues/1136)) ([54d9875](54d9875))
* name and icon color respect attribute choice ([kalkih#1131](https://github.com/iiLaurens/mini-graph-card/issues/1131)) ([cbfba7a](cbfba7a))
* padding fill ([kalkih#1238](https://github.com/iiLaurens/mini-graph-card/issues/1238)) ([f930fa6](f930fa6))
* process absent UoM in computeLegend() ([kalkih#1237](https://github.com/iiLaurens/mini-graph-card/issues/1237)) ([5724cfd](5724cfd))
* remove unused argument from getBoundary ([kalkih#1193](https://github.com/iiLaurens/mini-graph-card/issues/1193)) ([f5261d9](f5261d9))
* retain the last out-of-bounds state ([kalkih#961](https://github.com/iiLaurens/mini-graph-card/issues/961)) ([8ebe173](8ebe173)), closes [kalkih#881](https://github.com/iiLaurens/mini-graph-card/issues/881) [kalkih#960](https://github.com/iiLaurens/mini-graph-card/issues/960)
* Support for `fire-dom-event` ([c29f55f](c29f55f)), closes [kalkih#563](https://github.com/iiLaurens/mini-graph-card/issues/563)
* Time would sometime display 24:xx instead of 00:xx [[kalkih#536](https://github.com/iiLaurens/mini-graph-card/issues/536)] ([7c7d921](7c7d921))
* tooltip interval start could be after end ([kalkih#1065](https://github.com/iiLaurens/mini-graph-card/issues/1065)) ([930ee39](930ee39)), closes [kalkih#181](https://github.com/iiLaurens/mini-graph-card/issues/181)
* update repository URL in package.json to point to fork ([0400cc2](0400cc2))
* use a proper config in renderState() ([kalkih#1217](https://github.com/iiLaurens/mini-graph-card/issues/1217)) ([c980460](c980460))
* use d3 to interpolate colors ([kalkih#1118](https://github.com/iiLaurens/mini-graph-card/issues/1118)) ([b8676f5](b8676f5))
* **config:** Remove entity config error [kalkih#592](https://github.com/iiLaurens/mini-graph-card/issues/592) ([kalkih#593](https://github.com/iiLaurens/mini-graph-card/issues/593)) ([53d923a](53d923a))
* **documentation:** enquote html color ([dbdeab8](dbdeab8)), closes [kalkih#872](https://github.com/iiLaurens/mini-graph-card/issues/872)
* **log:** color_thresholds render incorectly with logaritmic on ([kalkih#542](https://github.com/iiLaurens/mini-graph-card/issues/542)) ([b704885](b704885)), closes [kalkih#531](https://github.com/iiLaurens/mini-graph-card/issues/531)
* **stalebot:** issues should also use exemptLabels ([4d74c1f](4d74c1f))
* **workflows:** remove invalid description field ([e755e24](e755e24))

### Features

* add "tooltip--label" class ([kalkih#1202](https://github.com/iiLaurens/mini-graph-card/issues/1202)) ([0d3c184](0d3c184))
* Add loader ([kalkih#1180](https://github.com/iiLaurens/mini-graph-card/issues/1180)) ([30c5263](30c5263))
* add show_legend_state ([kalkih#1173](https://github.com/iiLaurens/mini-graph-card/issues/1173)) ([3b1c827](3b1c827))
* add support for negative bars in bar chart ([023655f](023655f))
* Add support of attribute tree when available ([kalkih#996](https://github.com/iiLaurens/mini-graph-card/issues/996)) ([9c1c31e](9c1c31e))
* Format numbers according to selected language [[kalkih#495](https://github.com/iiLaurens/mini-graph-card/issues/495) [kalkih#509](https://github.com/iiLaurens/mini-graph-card/issues/509)] ([5785bd8](5785bd8))
* Interpolate color threshold stops ([kalkih#596](https://github.com/iiLaurens/mini-graph-card/issues/596)) ([3826c0d](3826c0d))
* pull two years worth of changes into release channel ([f5fb98d](f5fb98d)), closes [kalkih#1059](https://github.com/iiLaurens/mini-graph-card/issues/1059)
* **attribute:** Retrieve an attribute instead of the state ([kalkih#564](https://github.com/iiLaurens/mini-graph-card/issues/564)) ([708bfde](708bfde)), closes [kalkih#411](https://github.com/iiLaurens/mini-graph-card/issues/411) [kalkih#245](https://github.com/iiLaurens/mini-graph-card/issues/245) [kalkih#501](https://github.com/iiLaurens/mini-graph-card/issues/501)
* **graph:** Add median aggregate function ([kalkih#521](https://github.com/iiLaurens/mini-graph-card/issues/521)) ([57219bd](57219bd))
* **option:** override icon with an image URL ([kalkih#789](https://github.com/iiLaurens/mini-graph-card/issues/789)) ([2860a09](2860a09))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants