2024.8: Beautiful badges!

and that is very nice indeed!

I managed the following settings in my theme

    ha-badge-border-radius: var(--ha-card-border-radius)
    ha-badge-size: 48px

I had hoped the badge-size change to also influence the badge items, mainly to have the pictogram (icon/picture) adapt to that size, but that does not happen.

in fact, it only changes the container, and nothing else. is the supposed to be like that?
and if so, can we not (yet…) change the size of those pictograms via a theme variable?

Thank you for your feedback. That sounds good. Will your mushroom chips become obsolete at some point? I hope not, I would have to rebuild a lot of things.

I see 2024.9.0 released. I can see the blog but where the community comments?

update - sorry I found it

Is there any way to alter the layout, so the name and state appears stacked under the icon? So similar to the old badges, which took up way less width on the the dashboard.

These wider badge formats have made many of my dashboards appear quite untidy on the companion app, where 1 neat row of badges has now become 1 and a bit. So also pushes down the cards below.

Thanks

Use the old badges.

How do I revert?

Read the thread.

1 Like

very helpful…

I don’t want to downgrade. I see there’s a few others here with the similar feedback, so I hope the devs will take notice and roll out an improvement in the near future.

I am not your Google, or your finder. I do know the answer of how to use the old badges without downgrading HA is here, but as didn’t note the exact post, and don’t use badges that much, I didn’t note the details. As I say read. You will find.

3 Likes

I just noticed there is no prompt, “Are you sure you want to delete this badge?” when deleting a badge.

Hello. I am starting to rename my automation service → to action and came across this automation. How to??

- alias: slack_webhook
  triggers:
    - trigger: webhook
      webhook_id: !secret slack_webhook
      allowed_methods:
      - POST
      local_only: false
  conditions:
    - condition: template
      value_template: >
        {% set payload = trigger.data.payload | from_json %}
        {{ (payload.token == states('input_text.slack_app_verification_token')) and (payload.type == 'interactive_message') }}
  action:
    - service_template: >
        {%- set payload = trigger.data.payload | from_json -%}
        script.{{ payload.callback_id }}
      data_template:
        payload: '{{ trigger.data.payload }}'

Since there is another change in 2024.10 regarding the trigger → triggers. Shouldn’t the action also be plural as well?

- alias: 'turn on appletv netflix'
  triggers:
    - trigger: state
      entity_id: input_boolean.appletv_netflix
      from: 'off'
      to: 'on'
  actions:
    - action: script.appletv_netflix
    - action: input_boolean.toggle
      entity_id: input_boolean.appletv_netflix

service_template and data_template have been unnecessary for at least 4 years - I think that was dealt with in the first WTH month. You could have just been using service and data all this time. So just use action and data there now if you want to bring it in line with the latest syntax.

Yes!. But only if you are really bothered about updating all your automation YAML syntax. The legacy format would still work as before.

I’m sure you know this, but remember to do backups before making changes, and then Developer Tools > YAML > Check Configuration afterwards - the logs should let you know if anything is broken at that point.

1 Like

Thx. Made the changes on one of the yam file with service_template and data_template and it seems to be working still. Also, I had over looked the actions was also changed in the 2024.10 release.Thank heaven for notepad++.

So, you don’t have to change anything.

yea I know, but it will just confuses more later on down the road when I create an automation and had to look back on my previous one and see 2 different versions. I am still a yaml user. Have not touched the ui…yet.

Is it just me or starting from this release the some element dimensions on mobile is now smaller than desktop? I’m having a hard time getting tile heights to match up between the two.

I missed some releases, so really late in the game. Therefor most probably stupid question:

Is it possible to habe two badge rows or a line brake? I would like to set some further buttons centrered over my dashboard.

If not possible via additional badge rows, somehow possible to have a section full span but content centered as in the badge row?

Possible by a bit hacked card-mod ))))

Yes, I assume. :wink:

Was more interested in a standard way, overseen by me till now. Thought that it is perhaps not that special requirement.

@madelena it’s been a couple of months now and it was said that there will some iterations to come. I haven’t seen any updates despite many suggestions and feedback. Are there still plans to further improve badges?