💥 This release may require you to update your card configuration significantly 💥
- Visual/UI editor users: Visit the visual editor and click "Upgrade" for an automated upgrade procedure.
- YAML dashboard users: You'll need to manually update your configuration, see wiki page.
Caution: You must use integration version v3.0.0-rc.4 or later with this card version.
New native PTZ control
A new native PTZ controller:
Custom media layouts
Change the layout of the media within the card aspect ratio, for example to view a 16:9
camera in a 9:16
configuration focused on the right of the feed:
Before
After
Changes (since v4.0.0-rc.2)
💥 Breaking Changes
- Allow elements to be hidden when media is not yet loaded (#791) @dermotduffy
🚀 Features
- Add native PTZ element (#807) @dermotduffy
- Add ability to change media layout (#800) @dermotduffy
- Show still images during live camera load (#793) @dermotduffy
- Allow elements to be hidden when media is not yet loaded (#791) @dermotduffy
- Add Italian language translations (#784) @elax46
- Add support for fetching thumbnails separately (#779) @dermotduffy
- Allow custom action events (e.g. browser_mod) (#771) @dermotduffy
- Add missing pt-br translations (#757) @felipecrs
- Allow finer grained selection of thumbnail controls (#753) @dermotduffy
🐛 Fixes
- Fix drawer open bug in iOS Safari (#804) @dermotduffy
- Drawer handle shouldn't activate card actions (#803) @dermotduffy
- Fix issue with image timers being created recursively (#795) @dermotduffy
- Refactor media load events to add unload support (#794) @dermotduffy
- Fetch thumbnails for next/previous controls. (#787) @dermotduffy
- Fix carousel forgetting its position in certain circumstances. (#776) @dermotduffy
- Restore correct image after browser tab becomes visible (#774) @dermotduffy
🐎 Performance
- Update homeAssistantWSRequest to accept passthrough JSON (#796) @uvjustin
- Embed thumbnails to take advantage of cache (#785) @uvjustin
🚨 Testing
- Use a higher port number for devcontainer rollup (#768) @dermotduffy
- Refresh the devcontainer (#756) @felipecrs
📚 Documentation
- Add new screenshots for PTZ and media layout (#813) @dermotduffy
- Various documentation improvements (#769) @dermotduffy
🔨 Refactoring
- Refactor media load events to add unload support (#794) @dermotduffy
- Reduce boilerplate associated with lit tasks (#788) @dermotduffy
- Complete carousel code refactor (#767) @dermotduffy
💄 Style
- Rework the error message when entity is unavailable (#773) @dermotduffy
- Move scan mode pulsing border to the outer ha-card (#770) @dermotduffy
- Vertically center the progress indicator (#754) @dermotduffy
📦 Dependencies
- Bump version to v4.0.0-rc.3 . (#814) @dermotduffy