Logic begind card arrangement?

Hi, I’m using HA since 2018 and absolutely love it but I still can’t comprehend the logic begind card arrangement, and the up/down arrows. I thought it had something to do with vertical sorting but so far I just don’t see the logic.

For example, I’m 100% unable to swap these two cards.

Seems simple, but it isn’t, I gave it half an hour and then gave up. The card with the cartoon mole just goes off on its own, traveling all over the dashboard. I don’t want to create an all-custom Lovelace layout because this is more than good enough for me, but the seemingly arbitrary nature of the card placement just rubs me off.

Any tips? Thanks!

There is some custom card that does s grid.

I personally use a 4 vertical stack cards per tab. Within those vertical stacks then use horizontal stacks, if I want more things next to other.
This way, nothing moves anymore.

See the pic, red are vertical stack cards, blue are horizontal stacks inside.

1 Like

Thanks, this is probably what I’ll do, yeah.

So, and now, please tell me, how dit you get The Mole there, I really need to know :wink:

It’s a simple Picture entity (in a Horizontal stack) with a PNG :slight_smile: it runs a script that turns on a Samsung TV, sets the input to Kodi, and plays a cartoon playlist :slight_smile: I just press this button or tell Alexa to “play cartoons” :slight_smile: what I struggle with is random episode playback. Sometimes it plays randomly, other times it starts at the first episode, no idea why.

Nevertheless, it’s a great little helper for placating my 2yo :slight_smile:

1 Like

Děkuji mnohokrát - thank you very much, I will try to find, how to make picture entities, never played with it.

1 Like

Also, I’d like to scale it down with some kind of padding, hadn’t been able to do it yet. It’ll probably need card_mod. Or maybe editing the PNG with some transparent pixels.

Není zač, this is the code:

type: picture-entity
entity: script.turn_on_tv_and_kodi
image: /local/user_images/krtek.png
name: Krkek?
tap_action:
  action: call-service
  service: script.turn_on_tv_and_kodi
  service_data: {}
  target: {}
show_state: false
show_name: false
aspect_ratio: '1'

The 2yo calls him “Krkek”, hence the typo :slight_smile: Ask away if you want to.

Well, that’s easier, then it looked… :smiley:

Zdravím z Amsterdamu - greetings from Amsterdam :wink:

1 Like

####### offtopic
Byl jsem tam před měsícem, pršelo :slight_smile: Čech v Amstru nebo Holanďan, co umí česky? :slight_smile:

1 Like

Czech living in NL for 27 years now…

1 Like