Skip to content

v2.2.3 - YAML/Preview Parity Fixes

Choose a tag to compare

@aspenrt78 aspenrt78 released this 02 Mar 22:32

Bug Fixes

  • show_name / show_icon: Setting these to false now correctly emits \show_name: false\ / \show_icon: false\ in YAML. Previously the flags were silently dropped and HA would show the element regardless.
  • perform-action: The \perform-action\ action type now correctly outputs \perform_action:\ and \data:\ keys (new HA format) including service, data, and target. Import also updated.
  • Background color opacity in conditionals: Conditional state styles with partial background opacity now correctly wrap the color in
    gba()\ instead of emitting raw hex.
  • aspect-ratio double-emit removed: Aspect ratio was being emitted both as a top-level property and inside \styles.card, causing conflicts. Now only emitted at top-level.
  • color:auto conflict fixed: When \color: auto\ was enabled, a \color:\ value was still written into \styles.card\ overriding the auto behavior. Now omitted when auto color is active.
  • Icon Spin preview fixed: The \spin\ property (Icon Spin checkbox) now animates in the preview card, matching the generated YAML output.
  • Button name YAML-safe: Button names containing colons or other YAML-special characters are now properly double-quoted in output.