Releases: nervetattoo/banner-card
Release 0.7.0
Better errors
If an entity is not ready or missing the rest of the card will still render as usual instead of just display one big error
Extended map_state support
You can now use map_state to override all facets of an entity.
Render input_boolean as a toggle
All changes
- Fix config for release-it (a400dbb)
- Support input_boolean as toggle + render all toggleable domains the same (cabe5ce)
- Dont err out the entire card on one missing entity. Fixes #17 (0205f9c)
- Support full objects passed to map_state value. Fixes #33 (6438b1e)
- Add links to theming docs + tutorial in README (54cece3)
Release 0.6.0
Automated heading color
Based on the color you set as background the card will automatically use a dark or light text color to provide good enough contrast. For now this just supports hex colors but at least rgb should be ok to add later.
Updated CSS vars for theming
The CSS theming support is fixed and new CSS var names are now used.
Alignment bug when setting entity size fixed
See #35
All changes
- Update all the deps (fa2195d)
- Update CSS theming var names and docs (54ae53b)
- Merge pull request #35 from snjoetw/master (6df897e)
- Attempt CI via actions (a1761b6)
-
- fixed misalignment when row_size is 3 and entity size is 2 (95ce927)
- Bump dev dependencies (39d9e7f)
- Also minify tagged template literals and shave of a few more bytes (00bd959)
- Automatically pick readable heading color (light or dark) based on background color (b474ef0)
- Remove custom_updater instructions (4d98699)
Release 0.5.0
Image entities
If the rendered state is an image url you can now set image: true
to display it as an image.
Support for basic "buttons"
Using entity.action
you can now configure custom handling for an entity service call. Use cases can be running a script, but also simplified stuff like just a stop button for a media_player or a light toggle with a specific color.
Support to filter entity based on state/attributes
Using entity.when
you can now limit an entity to only show under certain circumstances.
For example only showing a playing
media_player.
All changes
- Why not (fe37bb8)
- Add entity.action to configure simple buttons. Fixes #12 (aa4f203)
- Document CSS vars, ref #7 (26910b5)
- Add support for rendering entity as an image ref #7 (e17f422)
- Update documentation with entity.when details (1ed347d)
- Better support for cards with no entities (7a2afcb)
- Implements support for
entity.when
(3839df0) - Merge pull request #8 from l0ghan/master (45bc247)
- Fix map_state example in docs (1fe1e9a)
- Update index.js (d1ec18f)
- Update screenshots in README (59cb96e)
- Format examples for storage mode not yaml mode (c694100)
Release 0.4.0
Support for more domains
switch
, cover
and media_player
domains now get interactive controls.
Support is intentionally very limited and minimal, but you get (what I believe) to be the most important interactions.
Thanks @l0ghan for contributions!
Configurable entity grid
You can now control how many entity cells the grid contains as well as how many cells a single entity will take up. This can allow you to both squeeze more items in but also spread less items out in a better way.
row_size: 4
entities:
- entity: cover.living_room
- entity: media_player.living_room
size: 3
Separators between cells
Readability could become low in some combinations so I opted for adding cell separators as you can see in the screenshot above
Full changelog
- Update docs with new features + set entity size upper bound to be row_size (3a2a730)
- Refactor media_player buttons and click handlers for switch + cover (571dbd5)
- Gitignore yarn-error + nvmrc (80a4cc9)
- Add support for controlling entity grids with configuration (1f0ddd4)
- Merge pull request #5 (3b5f391)
- Update index.js (e2a946f)
- Update index.js (a05ad73)
- Update index.js (09036dc)
- Update index.js (1eb9a96)
- Merge pull request #2 from royto/master (fb4fe5e)
- fix card name in manual installation (2f135d4)
Release 0.3.0
Release 0.2.0
- Use CSS vars on :host, better docs and shave a few bytes with removal of currently unused template stuff (e6e5047)
Release 0.1.0
Release 0.1.0