Skip to content

Flexible Accordion Controls

Choose a tag to compare

@github-actions github-actions released this 31 Jan 00:03

What's New

Customizable Accordion Behavior [#20]

This release introduces enhanced control over the Conditions and Snow Forecast accordion sections, giving you more flexibility in how information is displayed on your card.

New Configuration Options:

  • conditions_default_open - Control whether the Conditions section is expanded by default
  • forecast_default_open - Control whether the Snow Forecast section is expanded by default

Key Improvements:

  • Both accordion sections can now be open simultaneously, making it easier to view all information at once
  • Improved state management ensures accordion states persist correctly across card updates
  • Full translation support for the new options across all supported languages (Danish, English, French, German, Polish)

Example Configuration

type: custom:bergfex-card
title: My Ski Resorts
conditions_default_open: true
forecast_default_open: true
show_conditions: true
show_forecast: true
resorts:
  - device: your_device_id