Files
Bruno Pantaleão Gonçalves 5e553d51b1 Move scripts and sensors widgets to the end of the widget picker (#4732)
## Summary
Reorders the widget options in the iOS widget picker so that the
**Scripts** and **Sensors** widgets appear as the last two options.

The picker order is determined solely by the declaration order of the
widgets in the `WidgetBundle` `body`. This change moves
`WidgetScripts()` and `WidgetSensors()` to the end of the widget list in
both `WidgetsBundle17` (iOS 17) and `WidgetsBundle18` (iOS 18+), so they
no longer appear in the middle of the list. No functional behavior
changes — only presentation order in the picker.

## Screenshots
<!-- If this is a user-facing change not in the frontend, please include
screenshots in light and dark mode. -->
_N/A — this only reorders entries in the system widget picker; the
widgets themselves are unchanged._

## Link to pull request in Documentation repository
<!-- Pull requests that add, change or remove functionality must have a
corresponding pull request in the Companion App Documentation repository
(https://github.com/home-assistant/companion.home-assistant). Please add
the number of this pull request after the "#" -->
Documentation: home-assistant/companion.home-assistant#

## Any other notes
`WidgetsBundleLegacy` (iOS < 17) does not include the scripts or sensors
widgets, so it is unaffected.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 11:56:09 +00:00
..
2026-06-04 15:20:24 +02:00
2026-06-04 15:20:24 +02:00