Lovelace Fluid Level Background Card by @swingerman
A card that wraps other card or cards and renders a fluid level background behind them.
The fluid effect is an improved version of @aarcorcaci's fluid-meter, improved and ported to typescript.
type: custom:fluid-level-background-card
card:
type: glance
entities:
- entity: person.john_doe
entity: sensor.battery_level
fill_entity: binary_sensor.charging
level_color:
- 68
- 115
- 159
Install it using HACS:
- Add custom repository: https://github.com/swingerman/lovelace-fluid-level-background-card
- Reload lovelace
Note: This card is a wrapper. This means that it's designed to wrap other existing lovelace cards, so you welcome to use any card (including grid and stack cards)
- Add this card using the UI (serach for fluid level background card)
- Select the card you would like to render for your entities
- Select the level entity - this will control the level
- select a fill state entity - this will enable bubbles while on
- set the dsired color for the fluid level
- set actions. Note: as this card is a wrapper only set actions if you aim to interact with the level entity, otherwise set actions to none.
Hey dude! Help me out for a couple of 🍻 or a ☕!