Entity Card with 4 Buttons

I have finally been able to integrate my Cherubini roller shutters into HA using the RFXCOM module.

The shutters are all set as “cover.” entity, so the standard “Up” / “Down” and “Stop” functions work accordingly.

image

The entity tile then also looks as usual with the three buttons.

However, with the original Cherubini remote controls I can move the shutters to a center position with a long press of ~2 seconds. I currently use this position as a sunshade and then also have it raised time-controlled in summer.

How do I get 4 buttons into the tiles? Or how can I add a button that imitates a long keystroke of 2 seconds?

My attempts so far have not been very promising. I would like to have the 4 buttons in a row, I could at least add an additional button in two rows. But my dashboard is screwing that up…

If the RFX cannot send a long keystroke, I would create a script somehow.
“Down” after time x seconds ”Stop”

A small adjustment to my question:

How can I create a tile with four buttons?
I can’t get any further with custom:button-card etc.

Buttons:

  1. call script “XYZ” (for middle position)
  2. on “cover.open_cover”
  3. stop “cover.stop_cover”
  4. close “cover.close_cover”

Buttons 2 - 4 come from the “cover.” entity of the roller shutter.

Yes but I’d suggest looking at Mushroom Template cards