Warning
This release contains some breaking changes due to the renaming of some parameters!
Breaking changes
- Merged
segmentsTemplateintosegments.segmentsnow accepts both static values and templates - Merged
severityTemplateintoseverity.severitynow accepts both static values and templates - Renamed
valueTexttovalue_textfor HA consistency - Renamed
gradientResolutiontogradient_resolutionfor 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
-
Update dependency @types/node to ^22.14.0 by @renovate in #17
-
Update dependency home-assistant-js-websocket to v9.5.0 by @renovate in #6
-
Update dependency rollup-plugin-serve to v3 by @renovate in #13
-
Update softprops/action-gh-release action to v2 by @renovate in #18
Full Changelog: v0.3.0...v0.4.0