Commit Graph

18157 Commits

Author SHA1 Message Date
renovate[bot]
bde851e5a4 Update dependency rspack-manifest-plugin to v5.1.0 (#27121) 2025-09-22 08:19:33 +02:00
karwosts
a6d3041d59 Fix a date bug in statistic card energy mode (#27102) 2025-09-20 12:45:17 +03:00
renovate[bot]
f64edfa305 Update dependency @rspack/core to v1.5.5 (#27106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-20 11:39:07 +02:00
renovate[bot]
067b321d84 Lock file maintenance (#27100)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-19 08:45:09 +03:00
Norbert Rittel
33efe395c8 Clarify sidebar setting / column header for dashboards (#27087) 2025-09-19 08:42:53 +03:00
renovate[bot]
db26b1041f Update dependency fs-extra to v11.3.2 (#27099)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-19 08:33:36 +03:00
renovate[bot]
6e9b4637bb Update dependency typescript-eslint to v8.44.0 (#27098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-18 20:29:57 +02:00
renovate[bot]
0e30e5e0f4 Update dependency @rspack/core to v1.5.4 (#27094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-18 17:16:33 +02:00
Bram Kragten
283da74e2d Expand pasting capabilities of automation editor (#26992) 2025-09-18 17:01:42 +02:00
Wendelin
034afd1375 automation editor: resizable sidebar (#27025) 2025-09-18 16:45:31 +02:00
Paulus Schoutsen
912d710ae4 Change order related items (#27081)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-09-18 12:38:40 +00:00
Jan-Philipp Benecke
86b99d931a Fix minification errors in ha-tab-group-tab and ha-slider styles (#27090) 2025-09-18 14:28:45 +02:00
Petar Petrov
35cfa9aa0d Only show devices dialog at the end of a flow chain (#27068)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-09-18 14:26:04 +02:00
renovate[bot]
6a23dbf204 Update vaadinWebComponents monorepo to v24.9.0 (#27086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-18 14:35:17 +03:00
Paul Bottein
cef8fc1d38 Move the logic to show common controls inside the strategy itself (#27088) 2025-09-18 14:34:46 +03:00
Norbert Rittel
7c06e33b50 Clarify sidebar setting for add-ons (#27085) 2025-09-18 09:55:39 +02:00
renovate[bot]
cb365d4635 Update dependency marked to v16.3.0 (#27080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-17 20:03:35 +02:00
Paulus Schoutsen
525102678b Limit to 4 common entities on landing page. (#27082) 2025-09-17 20:03:10 +02:00
Paulus Schoutsen
dfc4b0bba2 Show generated media in action dev tools (#26927)
* Show generated image in action dev tools

* Resolve media_source_id

* Render other media content too

* Update src/panels/developer-tools/action/developer-tools-action.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Fix

* Remove translation placeholder

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-09-17 19:07:32 +02:00
Jan-Philipp Benecke
846692bc8a Migrate ha-slider to webawesome (#27075)
* Migrate ha-slider to webawesome

* Fix labeled slider

* Change slider surface color

* Trigger Build

* Remove large and border

* Run prettier

* enable tooltip and focus ring
2025-09-17 19:06:13 +02:00
Douwe
3b90b5fcb1 Add feature gap theme variable for hui-card-features (#27076)
* Update hui-card-features.ts

Add CSS variable for gap

* Renamed variable
2025-09-17 14:03:49 +02:00
Paulus Schoutsen
cac978344f Add more binary sensors to security dashboard (#27041)
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-09-17 13:56:51 +02:00
karwosts
6a40631e6d Add diagnostics download to helpers menu (#27077) 2025-09-17 14:19:15 +03:00
Aidan Timson
48f5b6dfd3 Safe area: Fix double padding for sidebar (#27078)
Fix double padding for sidebar
2025-09-17 14:16:02 +03:00
Björn Ebbinghaus
04b01d2cd9 Add relative timestamp state_content for input_datetime (#24135)
* Fix digit grouping in input_datetime `year`

* Display `input_datetime`s `timestamp` attribute as relative time instead of number
2025-09-17 10:22:00 +00:00
Jan Layola
0e8e054db1 Sync charts zoom in history tab (#26898)
* Add chart zoom event system and sync infrastructure to chart-base

- Replace inline datazoom handler with dedicated _handleDataZoomEvent method
- Add _syncZoomState method for zoom state synchronization
- Refactor zoom detection to be more robust and reliable

* Add hide reset button functionality

- Add hideResetButton property to ha-chart-base component
- Add hideResetButton property to state-history-chart-line component
- Add hideResetButton property to state-history-chart-timeline component
- Implement conditional reset button rendering based on hideResetButton flag
- Pass hideResetButton prop through component hierarchy

This allows parent components to control reset button visibility when
implementing custom reset functionality or coordinated multi-chart resets.

* Implement chart zoom synchronization

- Add chart-zoom event handlers to state-history-chart-line component
- Add chart-zoom event handlers to state-history-chart-timeline component
- Forward zoom events with chart index for identification

This enables individual charts to communicate zoom changes to parent
components for coordinated multi-chart synchronization.

* Add floating reset button and sync orchestration

- Add chart-zoom event type definition to HASSDomEvents interface
- Add global zoom state tracking with _hasZoomedCharts property
- Add _isSyncing flag to prevent infinite sync loops
- Implement _handleTimelineSync method for coordinating chart synchronization
- Implement _handleGlobalZoomReset method for resetting all charts
- Enable hide-reset-button on individual charts to use global reset
- Add floating reset button with Material Design styling

On history page the floating reset button appears when any chart is zoomed
and provides a single point to reset all synchronized charts simultaneously.

* Refactor chart zoom synchronization to use public API

Replace direct ECharts dispatchAction calls with proper zoom methods. The parent component now calls chartComponent.zoom() instead of accessing internal chart.dispatchAction() directly.

* Remove duplicate TypeScript declaration of the "chart-zoom" event

* Fix tooltips not shown due to xAxisPointer hidden

* Use chart zoom function in history charts

* Apply code review feedback

* Remove unnecessary any types

* Apply code review feedback
2025-09-17 10:36:28 +03:00
renovate[bot]
477a893193 Update dependency color-name to v2.0.2 (#27074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-16 20:38:31 +02:00
puddly
bd0822f09f Wrap overflowing menu step option descriptions (#27072)
Make menu step option descriptions multiline
2025-09-16 20:25:41 +02:00
Paul Bottein
07c3ffb55d Use computed config for strategy visibility and disabled flag (#27071) 2025-09-16 19:10:51 +02:00
Paulus Schoutsen
fbfb4709d2 Add section strategy showing entities we expect user to use (#27014)
* Extend favorites with predicted entities

* Split out into own section

* Better component loaded check

* Use section strategy

* Feedbacks

* Remove hardcoded limit

* Add translations

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2025-09-16 12:24:08 -04:00
Aidan Timson
0a5b31e328 Add safe areas to bottom sheets and sidebar (#27009)
* Add safe areas to bottom sheet

* Add safe areas to automation sidebar

* Remove

* Add safe areas

* Add safe areas

* Switch
2025-09-16 16:48:06 +02:00
Aidan Timson
8cf0d8d2c3 Safe area: devtools (#26969)
* Remove extra padding

* Remove extra padding

* Remove extra padding

* Fixes

* use change from #26971

* Remove

* Remove

* Remove

* Remove

* Restore for future change

* Fix
2025-09-16 16:35:48 +02:00
Wendelin
61c16ce020 Automation editor: Copy always enabled (#27069) 2025-09-16 16:09:18 +02:00
Wendelin
6bede4ddca Automation editor: Disable click on drag handle (#27063)
Add stopPropagation to click events in automation components
2025-09-16 15:22:26 +03:00
Paul Bottein
bd88b91071 Order tile card config according to struct (#27060) 2025-09-16 15:13:37 +03:00
renovate[bot]
29b02a3c99 Update dependency jsdom to v27 (#27066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-16 15:04:10 +03:00
Timothy
ac87e2280d Add External app version into ha-config-info (#27064) 2025-09-16 13:18:18 +02:00
Jan Layola
98c4e34a23 Sort installed addons by name in the ha-config-logs component (#27056) 2025-09-15 17:01:54 +02:00
karwosts
3d005c8316 Manual entry mode for media selector (#26753) 2025-09-15 16:48:03 +02:00
Paul Bottein
af31b5add3 Add formatEntityName helper on hass object. (#26057) 2025-09-15 14:18:52 +00:00
Aidan Timson
9d02a1d391 Fix calendar toggle group wrapping (#27049) 2025-09-15 14:12:37 +00:00
Petar Petrov
98e6f32fe8 Improve device section organization in energy Sankey card (#26978) 2025-09-15 15:57:52 +02:00
Aidan Timson
2726c6a849 Fix calendar toggle group button sizes (#27050)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-09-15 13:31:49 +00:00
Aidan Timson
c09ec54c76 Safe area: containers and panels (#26971)
This commit squashes the following development history:

1e78af3aa - Restore, moved to #26969
d672d9f44 - Restore
53ee5fbbc - Restore
16b4eb98e - Restore
8d8b13f50 - Restore
62e16619d - Apply changes from #27003
f5ee79a47 - Fix
60678689c - Fix
766ed6a25 - Fix
f76bd4f7e - Fix fabs
1879fd0d9 - Fix
ea3ee6de5 - Add safe areas to ha-hanel-custom
aa3384b9a - Add missing
c9a7f76dc - Fix
78351fd1f - Fix
59789d379 - Fix
1c7aabd34 - Remove
eaf1373cf - Fix
8481a93d7 - Fix
fe7df1f2f - Remove
69f244ff3 - Restore
2eb936b64 - Adjust
b09350637 - Fix
c0504bb7e - Clean
b0773d73e - Fix
4caa4a43b - make sure narrow is passed
8885f6bf6 - Add safe areas to 2 pane fixed
62df70f63 - Clean
a87e68d87 - FIx
5086be030 - Fix energy
ac3478e54 - Fix
0f28098a6 - Restore
b65ba3df9 - Restore
b0e1ea6db - Restore
7bb78d1c7 - Fix
26c95df71 - Update
7369c79d3 - Remove
b5f31dad6 - Fix
40cfc437d - Set top level padding instead of individual panels
83b49729f - Restore
25db15816 - Fix
8c9c39827 - Set top level app bar padding instead of individual panels
b7a1b27c9 - Remove
1e9368705 - Device
1482502f9 - Integration page
98dc1bf56 - Fix
1c3de1376 - Add
a08bee4d8 - Remove
0d462439b - Area subpage
4bfd60875 - Areas fix
b5cbcdaf7 - Fix
9fb272074 - Add safe areas to script editor
7c3bc9433 - Add safe areas to scene editor
1cf1b999a - Fix mobile for automation editors
4413bd4b7 - Add safe areas to automation editor
2e6953327 - Add safe areas to blueprint editor
989776dd1 - Add config section padding
6692b7ccf - Fix header row
22337b5e2 - Fix calendar
414e058cd - Fix pane
f09ae0e0c - Fix calendar
fb5a984ee - Fix pane
1daee18c8 - Todo fab
6f52cb42b - Todo content
9b317c583 - Media browser
0f8ca248d - Fix history panel
cd7843799 - Fix logbook
b8d47ecf3 - Fix
d15e9311d - Safe area: dashboard view container should only apply left safe area when in full view

Summary of changes:
- Add narrow property to top app bar components for conditional safe area padding
- Update safe area inset calculations to use fallback values (0px) for better compatibility
- Fix content height calculations to account for safe area insets
- Apply safe area padding conditionally based on narrow state
- Update FAB positioning to respect safe area insets
- Ensure proper spacing and layout on mobile devices with notches/dynamic islands
2025-09-15 15:54:04 +03:00
Norbert Rittel
9f045538a2 Update beta / stable channel descriptions (#27047) 2025-09-15 11:49:11 +02:00
Paul Bottein
c6c4f91b0e Use slot for tile card info (#27046) 2025-09-15 11:29:48 +03:00
karwosts
f71d8f4367 Fix incorrect logbook entity filters (#27037)
* Fix incorrect logbook filters

* Update src/panels/lovelace/editor/config-elements/hui-logbook-card-editor.ts

---------

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-09-15 08:06:03 +00:00
Wendelin
68c1a38231 Unit tests for common/entity/get_states (#27007) 2025-09-15 09:28:02 +02:00
dependabot[bot]
a9796e4216 Bump github/codeql-action from 3.30.0 to 3.30.3 (#27045)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.0 to 3.30.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d92b76c45...192325c861)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 08:38:26 +02:00
Aidan Timson
bf6eefb692 Migrate from date-fns-tz to @date-fns/tz (#26809)
* Add @date-fns/tz

* Update calc_date

* Refactor ha-date-range-picker

* Refactor calendar panel

* Refactor todo panel

* Remove date-fns-tz

* Cleanup

* Move util functions

* Fix comment

* Reuse

* Restore old check for rrulejs, update to new format
2025-09-15 07:38:08 +03:00