Folding Group Entity Row Card

Using Thomas’ Fold Entity Row.

Have an All Automations folding Entity Row and now in 0.90.0b0 with a new frontend, it’s showing a toggle for all automations like this:

image

This is new I believe… It used to show like this:


As per Thomas’ github.
Tried setting show_header_toggle: false but it ignores it.

@thomasloven is there any way to prevent the toggle showing? On a related note, my All Scenes fold entity row shows unknown as well. Any way for it to just show a dropdown button for both of these?

Correct. This behavior is new to the beta.

The toggle may disappear if you use type: custom:hui-text-entity-row for the head.

1 Like

Instead of the group I want it to show? Or in addition…??

head:
  type: custom:hui-text-entity-row
  entity: group.all_automations

I haven’t tested it, though.

Edit: I just checked the code again. That will probably give you an empty list…

ah ok… Is that one of yours? Looking on your github don’t see it…

No. It’s built-in. You don’t need to do anything but change the config.

but then I don’t get the down button to open it up
Edit… not an empty list, no list…

It works on the latest dev branch.

- type: custom:fold-entity-row
  head: group.all_lights
- type: custom:fold-entity-row
  head:
    type: custom:hui-text-entity-row
    entity: group.all_lights

group%20head

ah… lemme try that…

OK yeah that fixed it!

Anyway to stop scenes showing unknown as per the above screenshot?

Thanks for the quick response/fix too.

I’m not sure if this is the right place but since updating to 0.90 today I’m not able to get any kind of tap action on any entity when using the fold entity row card.
Did something change?
Instead of the hand cursor when hovering over it I’m getting the “text mark” cursor.

Nevermind.

I updated all other cards like card-fodder and card-tools and now it works.

Looks like the card “type: custom:fold-entity-row” is rendering strangely. Any ideas why the fold-entity-row card don’t have the normal layoutt?

Closed:
image
Open:
image

type: 'custom:fold-entity-row'
head:
  type: section
  label: Water Sensor Automation
items:
  - automation.water_sensor_leakage_loft
  - automation.water_sensor_burglar_loft

Using a enteties card gives this:


(System: Home Assistant 0.91.4 / Hass.io supervisor 162 / HassOS 2.11)

The fold-entity-row dose not seem to support automation entities:

entities:
  - group_config:
      toggle: true
      type: 'custom:slider-entity-row'
    head:
      label: Expand
      type: section
    items:
      - entity: automation.hass_startup
      - entity: automation.hass_shutdown
      - entity: automation.set_light_theme_at_sunrise
      - entity: automation.set_dark_theme_at_sunset
      - entity: automation.daily_backup_at_1_am
      - entity: automation.daily_snapshot_clean_up
      - entity: automation.speedtest_peak_time_check
    type: 'custom:fold-entity-row'
show_header_toggle: false
title: Automations - Sysyem
type: entities

It does. I’m using it for that. It might be the space is wrong (before automation). I’ll check when I’m back on my pc.

              - type: custom:fold-entity-row
                open: false
                head: 
                  type: section
                  label: Lights & Switches
                items:
                  - automation.coffee_maker_on
                  - automation.coffee_maker_off
                  - automation.toothbrush_on
                  - automation.toothbrush_off
                  - automation.turn_lounge_light_on_elevation_25deg_after_4pm

Yeah you have the wrong format.

1 Like

Thanks daivid.

Looks like I forgot to delete entity: for each item when copy / pasting from the old config. And I forgot to delete the group config that is not applicable to automations.

1 Like

is there a way i can style the section label?

You mean this?

head:
  label: Expand

You could try card mod.

Hi, great custom:fold-entity-row. However how to set last-changed to only the entity on head, and not on the entities collapsed? Thx!