Customize Order of Sensors on Front End

Is there anyway to order the sensors? Looks like they are mainly alphabetical, but I want all of the weather sensors together. I know i could put them on their own tab, but i want them on this main homepage. Kind of annoying when looking for the next couple days forecast and having to hunt them down my name of the day alphabetically.

What’s your config like?
I just list the entities I want to keep, in the order I want them displayed:

Media:
  view: yes
  icon: mdi:library-music
  entities:
    - device_tracker.ha_lolos_iphone
    - device_tracker.ha_div_iphone
    - sensor.dark_sky_temperature
    - sensor.dark_sky_daily_low_temperature
    - sensor.dark_sky_daily_high_temperature
    - sensor.pws_precip_1d
    - sensor.home_to_verint
    - sensor.lolo_to_home
    - sensor.sunset_time

image

1 Like

You should use groups.

When you put the sensors in a group you can specify the order of them and they’ll show up grouped in a card instead of a badge at the top of your frontend. The link above has examples of how to use it and what it looks like when you put your entities in groups. If you have questions about this let me know and I’d be happy to help out.