Skip to content

randrcomputers/ha-pool-light-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pool Light Card

Lovelace card for any RGB light entity — fixture artwork, color presets, brightness slider, power toggle, and a BLE-style connectivity badge (same look as the Pool Cleaner Card).

Works with iPool Light (v0.1.3+ for the effect dropdown). Other RGB lights can use colors only.

Effect dropdown (iPool / LedBle)

Requires integration v0.1.3 (ipool_light.set_rgb_effect service). The card shows a dropdown (jump, gradient, flash) like the iPool app — no extra HA entities, so it does not break the light integration.

The built-in HA light more-info dialog (power / brightness / color wheel) does not include effects; use this card on your dashboard for animations.

The card can animate the lens glow to match the selected effect (seven-color and tricolor use stepped color cycles; single-color gradients use a hue sweep). The integration stores ipool_effect and ipool_effect_speed on the light entity so the dropdown and speed slider stay in sync after refresh or power on/off.

Requires integration v0.1.7+ (ipool_light.set_rgb_effect, ipool_light.set_effect_speed).

image image image

Install

  1. HACSFrontendCustom repositories → add https://github.com/randrcomputers/ha-pool-light-card
  2. FrontendPool Light CardDownload
  3. SettingsDashboardsReload resources, then refresh the browser (Ctrl+F5)

Pictures on Home Assistant

Copy files from the repo folder pool_card/ into config/www/pool_card/ on your HA host.

File to copy Example URL
pool_light_fixture.png (fixture, light on) /local/pool_card/pool_light_fixture.png
light_control_box.png (control box, light off) /local/pool_card/light_control_box.png
ipool_light.png (your product photo) /local/pool_card/ipool_light.png

See pool_card/README.md for all bundled images.

If the colored glow does not line up with your lens, adjust Lens glow — top / left / size % in the card editor. If the color is hard to see when the light is on, raise Lens glow — brightness % (default 140; try up to 200).

Add the card

Pick your Light entity in the UI, or YAML:

type: custom:pool-light-card
entity: light.ipool_light
image: /local/pool_card/pool_light_fixture.png
image_control_box: /local/pool_card/light_control_box.png
show_fixture_when: auto

Auto shows the fixture while the light is on and the control box when off (like the pool cleaner robot / PSU swap).

Optional Connected binary sensor lights the BLE badge when on.


Requirements: Home Assistant 2024.1+ and a light entity with rgb color mode.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors