Good evening to all of you!
It took a little longer than the promised āfew daysā, but as it turned out, it was a little more work, than expected. But nonetheless, if I may present to you
To be honest, as most developers, Iām not sure if everything is ready and working flawless, but here we are. There has to be a release at some point. And here it is!
So whatās new you ask?
- We implemented a new structure for the files - easier maintainance and updates
- While at it, a few bugs were fixed, and some code needed to be re-written, to fit the new structure
- The new structure was necessary, among other things, to accomodate the development and use of
custom_cards
. Now everybody can develop a custom_card
and it can easily be added by copying a folder or using the generator. At the moment we have around five custom_cards
ready for use, five waiting for a review, but both already included in the download.
- The implementation of
custom_cards
had a nice little side effect: you can now extend the main template with your own code, without disturbing updates to the main āthemeā
- It is now possible to use
language variables
. So all strings, that wonāt get delivered from HA can be changed to your language. This works as well in custom_cards
, so authors can provide you with your own language, too.
- A few new cards, not known from the thread here, like a collapsable light-slider, a horizontal light-slider or a welcome card, that can be configured to deliver you news and notifications from your HA installation.
- There is now a dedicated Github repository for the āthemeā and the wiki page (a Jekyll page, take a look at the repo)
- The most noteable (at least the most time consuming) part is our new wiki. First planned as an enhanced readme, it grew in the last weeks from a Github hosted wiki to now a hosted (thanks Netlify!) wiki page with 21 pages. You can find there:
- Installation guides (
UI
- and yaml
-mode)
- An example page (this unfortunately is not ready yet, input is always welcome!)
- Guides to setup your first page, update, upgrade from a previous version and more
- Developer corner to support the development of this āthemeā (eg. custom_cards)
What you can as well find in the new wiki, are our CodeGenerators. These are mainly for people, who use or want to use UI
-mode for their installation. UI
-mode is not our first choice, as it is harder to handle in the long run, but thatās entirely your choice! Our main templates without language variables and custom-cards
are already 1500 lines longā¦ But thatās the point, donāt let that worry you, thatās why we have our generators.
In the first one you can configure which language you want to use, which custom-cards
you want to install and at the push of a button you get your code, ready to copy and paste it into your raw-config-editor. Always with the newest code from the repo automatically added.
With the second one you can configure which cards you want to see as a code example and the generator brings it to you. This is not a complete generation of code, ready to use and fitting your system. But it will give you a nice start into the use of this āthemeā.
Let me add a short disclaimer here: this is a beta version for a reason. Everything is tested and looked ok, but you never know, especially with a first public release. And thatās why we havenāt made this a stable release. There will be issues and errors, and we will try our best to resolve these in a timely manner, but we canāt rule these out upfront. So please bear with us! Better help by trying things out and report issues here or at Github.
This is only a start, and if I havenāt miscounted, there are around ten or twelve cards in this thread already, that need to be included (permission preconditioned). I personally would love to see this āthemeā in HACS for an even easier install, lovelace-gen is another thing to think about and I sincerely hope people like what has already been done here in the mindset of open-source and contribute and add to this fantastic work @Tben
started! On the top of my list is a little code cleaning as well, these 1500 lines need to (and will) get smaller!
All input is welcome, the repo is ready for you to fork and work on it, or just leave a post here in this thread, if you have something great to share. It is always appreciated!
And now, after a long introduction speech, here are the links for you to explore:
The new Github repository: GitHub - UI-Lovelace-Minimalist/UI: UI-Lovelace-Minimalist is a "theme" for HomeAssistant
And here is the wiki page: https://ui-lovelace-minimalist.netlify.app/