AmoebeLabs / swiss-army-knife-card

The versatile custom Swiss Army Knife card for Home Assistant allows you to create your unique visualization using several graphical tools, styling options and animations.
236 stars 20 forks source link

Add a simple format option for a state to convert brightness #159

Closed AmoebeLabs closed 1 year ago

AmoebeLabs commented 2 years ago

The Problem To Be Solved

Currently, one needs a derived_entity and some javascript to convert the brightness to a 0..100% range.

That can be done easier from a user point of view, yes?

Additional background:

Related Issues (if any)

(Optional): Suggested Solution

Support the 'format : brightness' option for an entity to just do that. Much easier!! Less YAML, and could be used for future additions!

(Optional): Alternative Solutions

AmoebeLabs commented 1 year ago

Was implemented in rc-4. Forgot to link this issue...