Skip to content

v2.2.5

Choose a tag to compare

@gasment gasment released this 24 Oct 14:08
· 5 commits to main since this release
ffa5218
  • 新增:弹窗内容content配置,现已支持两种插入方式:
  1. 旧版的直接插入,适合内嵌简单、yaml配置量低的卡片。示例:
    content:
      card:
        type: vertical-stack
        cards:
            - type: button
                show_name: true
                show_icon: true
                entity: switch.ui_lovelace_minimalist_pre_release
            - type: light
                entity: light.xxxx_light
    
  2. 外部引用,适合复杂、yaml配置量大的卡片,方便独立维护与修改,支持跨视图引用。示例:
    content:
      from_id: example-id
    
    • example-id为card_function:content时配置的content_id
  • 具体使用方式,已更新到项目说明文档

Full Changelog: v2.2.4...v2.2.5