ljmerza / light-entity-card

Control any light or switch entity
MIT License
237 stars 40 forks source link

Future request: Add speed & intensity entities #80

Open Qusse opened 2 years ago

Qusse commented 2 years ago

Hi

Would it be possible to add speed & intensity entities to the card?

These entities are found in the wled entities.

image

ljmerza commented 2 years ago

wouldnt intensity be brightness?

Qusse commented 2 years ago

wouldnt intensity be brightness?

Hi. Thank you for taking your time to respond. intensity in WLED, is defined as how many LEDs are affected in a certain effect. See my examples below, where the mdi:fire icon is controlling the intensity.

Example with low intensity, the LEDs are longer and spaced further apart from each other.

image

Example with higher intensity, where the LEDs are shorter and spaced closer to each other.

image

ljmerza commented 2 years ago

can you show me an example of the attributes?

ljmerza commented 2 years ago

i dont have wled setup so i guessed what it would look like in v4.6.0 ill need the attributes list on an wled entity to see

Qusse commented 2 years ago

i dont have wled setup so i guessed what it would look like in v4.6.0 ill need the attributes list on an wled entity to see

The entities are called the following, where wled_1 is the device name:

number.wled_1_intensity number.wled_1_speed

The full attributes list is the following:

effect_list:
  - Android
  - Blink
  - Blink Rainbow
  - Bouncing Balls
  - Bpm
  - Breathe
  - Candle
  - Chase
  - Chase Flash
  - Chase Flash Rnd
  - Chase Rainbow
  - Chase Random
  - Circus
  - Colorful
  - Colorloop
  - Colortwinkles
  - Colorwaves
  - Dissolve
  - Dissolve Rnd
  - Drip
  - Dynamic
  - Fade
  - Fill Noise
  - Fire 2012
  - Fire Flicker
  - Fireworks
  - Fireworks 1D
  - Fireworks Starburst
  - Glitter
  - Gradient
  - Halloween
  - Halloween Eyes
  - Heartbeat
  - ICU
  - Juggle
  - Lake
  - Lighthouse
  - Lightning
  - Loading
  - Merry Christmas
  - Meteor
  - Meteor Smooth
  - Multi Comet
  - Noise 1
  - Noise 2
  - Noise 3
  - Noise 4
  - Oscillate
  - Palette
  - Percent
  - Plasma
  - Police
  - Police All
  - Popcorn
  - Pride 2015
  - Railway
  - Rain
  - Rainbow
  - Rainbow Runner
  - Random Colors
  - Red & Blue
  - Ripple
  - Ripple Rainbow
  - Running
  - Running 2
  - Saw
  - Scan
  - Scan Dual
  - Scanner
  - Scanner Dual
  - Sinelon
  - Sinelon Dual
  - Sinelon Rainbow
  - Solid
  - Solid Pattern
  - Solid Pattern Tri
  - Sparkle
  - Sparkle Dark
  - Sparkle+
  - Spots
  - Spots Fade
  - Stream
  - Stream 2
  - Strobe
  - Strobe Mega
  - Strobe Rainbow
  - Sweep
  - Sweep Random
  - Theater
  - Theater Rainbow
  - Traffic Light
  - Tri Chase
  - Tri Fade
  - Tri Wipe
  - Twinkle
  - Twinklecat
  - Twinklefox
  - Two Areas
  - Two Dots
  - Wipe
  - Wipe Random
supported_color_modes:
  - rgb
color_mode: rgb
brightness: 253
hs_color:
  - 300
  - 100
rgb_color:
  - 255
  - 0
  - 255
xy_color:
  - 0.385
  - 0.155
effect: Fireworks 1D
icon: mdi:led-strip-variant
friendly_name: ledstrip_1
supported_features: 36