github benjamin-dcs/gauge-card-pro v0.4.0

latest releases: v2.5.0, v2.4.12, v2.4.11...
17 months ago

Warning

This release contains some breaking changes due to the renaming of some parameters!

Breaking changes

  • Merged segmentsTemplate into segments. segments now accepts both static values and templates
  • Merged severityTemplate into severity. severity now accepts both static values and templates
  • Renamed valueText to value_text for HA consistency
  • Renamed gradientResolution to gradient_resolution for HA consistency

What's Changed

Added needle_color

Allows to set the color of the needle. Can be a single color or two colors for light_mode and dark_mode. Allows templates

Fixed single value

needle_color: var(--info-color)

Single template value

needle_color: "{{ 'var(--info-color)' }}"

Light/Dark Mode fixed values

needle_color:
  light_mode: "#FF00FF"
  dark_mode: "#00FF00"

Light/Dark Mode template values

needle_color: |-
  {{ 
    {
      "light_mode": "#FF00FF",
      "dark_mode": "#00FF00"
    }
  }}

Dependency updates

  • Updated gradient-path to 2.4.0

  • Configure Renovate by @renovate in #4

  • Update dependency @types/node to ^22.14.0 by @renovate in #17

  • Update dependency lit to v3.3.0 by @renovate in #8

  • Update dependency home-assistant-js-websocket to v9.5.0 by @renovate in #6

  • Update actions/checkout action to v4 by @renovate in #12

  • Update dependency rollup-plugin-serve to v3 by @renovate in #13

  • Update softprops/action-gh-release action to v2 by @renovate in #18

  • Update dependency rollup to v4.40.0 by @renovate in #9

Full Changelog: v0.3.0...v0.4.0

Don't miss a new gauge-card-pro release

NewReleases is sending notifications on new releases.