* Create data-table-columns.ts
* Update data-table-columns.ts
* move a code for columns into separate functions
* move a code for columns into separate functions
* move a code for columns into separate functions
* move a code for columns into separate functions
* move a code for columns into separate functions
* move a code for columns into separate functions
* move a code for columns into separate functions
* move a code for columns into separate functions
* fix a translation key
* move commonly used translations to generic
* remove a translation for another PR
* restore "domain" translation for while
* resolving conflicts
* resolve conflicts
* resolving conflicts
* resolving conflicts
* resolving conflicts
* resolving conflicts
* fix conflicts
* fix conflicts
* fix import
* fix import
When edit mode is toggled, existing cards are moved into edit mode
wrappers. This triggers connectedCallback which was calling _setupChart
synchronously before the browser recalculated CSS inheritance. The
chart would read stale CSS custom properties, resulting in low-contrast
axis labels in dark theme.
Defer _setupChart using afterNextRender to allow the browser to complete
layout and CSS recalculation first. Guard conditions prevent issues with
rapid connect/disconnect cycles.
YAML dashboards are defined in configuration files and cannot be
modified or deleted through the UI. This change ensures the edit
and delete actions are only shown for storage-mode dashboards.
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Improved HTML presentation table support to ha-markdown, compatible with companion app on android and iOS
- Support valign attribute for vertical alignment (top, middle, bottom, baseline)
- Support border attribute for cell borders (0, 1, 2, 3px)
- Set default styling for presentation tables (no borders, no padding)
- Use CSS variables for customization
- Include future-proof @supports rule for attr() function
- Maintain backward compatibility with existing markdown tables
* Merge Long Term Statistics for Power Sensors in Energy Dashboard
When using 5minute data for the power sources chart, data would be missing if the selected range was beyond the short term statistics limit. This change takes data from long term statistics and merges it in to the power sources data if the short term statistics doesn't extend far enough back for the selection.
* Skip for zero-length power statistics
Prevent out of bounds array access if power statistics has no entries.