What's Changed
- feat: add a release-highlights skill for media-enriched release notes by @adrienbrault in #315
- fix: derive state-aware icons for every entity domain by @adrienbrault in #314
- feat: play animated views in the view editor's preview by @allanbrault in #317
Full Changelog: 1.9.6...1.10.0
Highlights
Animated views play in the View Editor
The editor's preview used to be a still, so the only way to check an HTML widget with Animate on was to turn on a display's Animations switch and watch the device. Now an animated view plays in the editor by itself: the still shows first, then the animation as soon as it has rendered, with no play button. It is the same GIF a display with Animations on is sent.
- An edit shows the new still at once; the animation follows once the view has been unchanged for a second, so typing never queues renders.
- A clock or reading in a playing preview stays current: the animation is rendered again every minute, like the still.
- The editor says when the animation is too large for the device's upload budget (with its size), when it could not be rendered (with Retry), and when a display showing the view has Animations off.
autoplay-demo.mp4
Icons follow the state, for every kind of entity
On a real display, an Entity card for a lock, light, cover, alarm or valve drew no icon unless the entity carried one of its own or you set one, and a Status row for an alarm, valve, update, person or device tracker drew a plain dot. Both now pick the icon Home Assistant itself shows for each state:
- on Entity cards, an unlocked lock gets the open padlock, a light that is off the struck-through bulb, a fan that is off the struck-through fan;
- on Entity cards and Status rows, alarm panels (a shield when armed, a bell when triggered), valves, updates, people and device trackers (a person when home, a person with an arrow when away) get state icons;
- a disarmed alarm's icon turns grey, so an unprotected house no longer reads as an active one.
An icon you set in the widget's options still wins. The repo's samples had hidden all this: their mock states gave every entity an icon a real display would not have drawn. They now show what a display does:
| Status list | Entity cards | Device trackers |
|---|---|---|
|
|

