Release v1.9.0
I have listened to you guys
I collected some feature requests and made a big update for them.
Let me summarize the changes.
Localization
The localization of the card has been completely redone.
All texts in the card now support translations. Well… except for the UI editor.
A lot of translations have been re-used from HA, to reduce the mainteannce (and size!) of the localization files.
The remainder has been restructurized for making things more maintainable.
A big request to those who have helped translating:
Could you please take a look at the new localization files, and help me with the migration?
Furthermore, the card should now detect automatically:
- The time format in your country (24 hours vs 12 hours format). The
am_pm
setting is dropped.
- The first day of the week. The
first_weekday
setting is dropped.
- The names of the weekdays.
Hope it works fluently for all, let me know if there are troubles!
Group entities
It is now finally possible to create schedules for group
entities.
And by group, I mean group (not the ones that categorize the entities).
It was a bit of a puzzle, because you can place virtually any mix of entities in a group, and the group will allow you to call almost every service for them.
The card will check which entities are contained by the group
, see if they have any actions in common, and make those available for you.
It wyou try anything fancy (like combining climate + cover + light) entities in a group, there’s a good change that the card doesn’t know what you want to do with them.
Ofcourse you can customize
your own action, but don’t expect that set_temperature will make your lamps become more orange (use at your own risk).
As with every new addition: suggestions are very welcome!
Display options
I heard you In HA everything should be possible. That’s what makes HA so awesome.
Since it will be very hard to combine everyone’s preferences, I decided to make things configurable.
Check out the new display options configuration.
I hope it will give everyone the possibility to change things to their liking. Let me know if you miss anything.
Improved customization
With special thanks to @Motti_Bazar for his patience in helping me improving this.
First of all, the hiding of actions:
There is now the exclude_actions
property, which may help you to hide unwanted actions from your the card. It was already introduced in the previous release, but it was still buggy. I think it works better now
You can simply provide a list of names of actions (as they are displayed, so e.g.: ‘heat’) to make them disappear.
Then the more specific customizations:
There were definitely some quirks in the card here.
In v1.8.0 I mixed quite some stuff up internally. And now I mixed stuff up again. But hopefully for the better
The idea is that the standard config and your customization will be merged, so you only have to provide the changes you want to do on top of the standard configuration.
So in case you want to change the timestep for the set_temperature
action, you can do this:
customize:
climate:
actions:
- service: set_temperature
variable:
field: temperature
step: 1
While the other properties (name, icon, min / max / unit etc.) will be kept as they are.
Other changes
In v1.80, suddenly everyone was getting big yellow boxes with warnings of schedules that were not included in their config.
I got a nice tip from @tom_l:
And that’s exactly what I did. Looks very discrete, think its a keeper
Done!
Well that wraps it up pretty good.
Maybe I missed some more changes, but I guess you will find out yourself!
PS: Good chance that there will be (as always) some new issues in the card (also the 0.117 HA update messed some things up). Let me know, I will try to fix them in the next couple of days.