Skip to content

hamadfayyad/wave-level-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

wave-level-card

A custom Lovelace card for Home Assistant that displays a beautiful animated wave-style level indicator. Perfect for sensors like soil moisture, water tanks, humidity, or any percentage-based entity.

🌊 Wave Level Card for Home Assistant

A custom Lovelace card for Home Assistant that visualizes sensor values with an animated wave-style level indicator inside a circle.
Useful for entities that represent percentage values such as soil moisture, water tank levels, humidity, battery, etc.

Wave Level Card Example


✨ Features

  • 🎨 Beautiful animated water wave
  • πŸ”’ Supports any percentage-based entity
  • βš™οΈ Configurable min/max range
  • πŸ“ Adjustable circle size
  • 🎨 Customizable colors (background, wave, crest, text)
  • πŸ–₯️ Works on mobile & desktop (no iframe needed)

πŸ“¦ Installation

  1. Download the file
    Save wave-level-card.js into your Home Assistant config/www/community/wave-level-card-main/ folder:

  2. Add as a Resource
    Go to Home Assistant UI β†’ Settings β†’ Dashboards β†’ Resources β†’ + Add Resource

  • URL: /hacsfiles/wave-level-card-main/wave-level-card.js
  • Type: JavaScript Module

⚠️ If you don’t see "Resources", enable Advanced Mode in your user profile.

  1. Clear cache / reload resources
    Press CTRL+F5 (browser) or reload from HA β†’ Developer Tools β†’ Restart frontend.

πŸ“· Example

πŸ› οΈ Usage

Add the card to your dashboard using YAML:

type: custom:wave-level-card
entity: sensor.d1waterpumb_soil_moisture_wemos
name: Soil Moisture
min: 0
max: 100
size: 280   # diameter of the circle in pixels

# Optional colors
fg: "#4d6de3"     # wave color
crest: "#c7eeff"  # crest wave color
bg: "#020438"     # background circle color
text: "#ffffff"   # text color

About

A custom Lovelace card for Home Assistant that displays a beautiful animated wave-style level indicator. Perfect for sensors like soil moisture, water tanks, humidity, or any percentage-based entity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors