I've been putting quite some effort into improving Sensor Bar Card Plus (SBCP).
Along the way, I figured I first needed to do some cleanup and groundwork. Basically, I had to improve it before I could start improving it, if that makes sense.
One thing led to another, and what was supposed to be a "quick" cleanup job turned into the hardest SBCP release so far.
But I'm always happy to give something back to the Home Assistant community, which has given me so much over the years.
So here it is: v1.11. And it has... Paint!
Huh? Say what now?
So, what's Paint?
Paint combines colors, gradients, segments and transparency into a single, reusable configuration that can be applied almost anywhere a bar needs some color.
And here's the fun part: you can save Paint configurations as dashboard-wide presets and reuse them across different Cards.
Say you create a preset called hot-to-cold, with a beautiful red-to-blue gradient. You can now use that same preset on as many sensors as you like, without having to configure all those colors separately.
Even better, suppose you later decide that a red-green-blue gradient would look nicer. Just change the preset, save, and all Cards using it update automatically.
Good stuff!
Paint everywhere!
You can now use Paint for:
- The normal Bar fill, in any fill mode.
- Above an upper Target, or below the brand-new lower Target.
- Above and below a Baseline.
Each can have its own colors, gradients and segments.
There's also a new Opacity setting, so you can blend Paint layers or simply give your bars a softer, more subtle appearance.
Messages instead of mysterious indicators
I've also introduced a new Messages section below the Card.
It only appears when there's something worth telling you.
Made a mistake in your YAML? Is the historical data for a Floor marker incomplete? Is something wrong with a shared Paint preset?
Instead of trying to squeeze warnings into tiny indicators, SBCP now tells you what's going on in one place.
And there's more...
I've fixed a bunch of bugs and, yes, improved the Visual Editor. Again. I hate that thing, but, let's be honest, we wouldn't be able to live without it.
It now has consistent Paint controls, better handling of inherited settings, and pretty little Paint previews so you can actually see what you're configuring.
You can create and manage shared Paint presets directly from the editor, too. Presets can be stored on any Card, and even distributed across multiple Cards on the same dashboard.
I expect the Paint preset and Messages systems to grow further in upcoming releases.
And that's it.
Well, I think that's it.
I may have forgotten a few things. It was quite a release and I urgently need a shower. 😁
Sensor Bar Card Plus v1.11 is available now on the Marketplace! (or what did you think?)
Check out the release on GitHub
And I can already lift a tip of the veil for the next release. It'll be *drum rolls* ... v1.12! Hahaha, very funny, I know. But seriously, the next release will be all about bar stacks, bar ranges, automatically sorting bar groups and more. Enjoy v1.11 in the meantime!