#`type: home` or `type: home-main`

1 messages · Page 1 of 1 (latest)

celest garnet
#

Home is the view strategy, not a section strategy

#

there is no section strategy for the group of summary cards

plush dust
#

so we can not set that in a manual view, and have the same view also show other stuff?
as in: the view strategy has child strategies for the other categories, and auto merges the common-controls?

celest garnet
#

If you want it in a manual view, you would just instance 4 home-summary cards in a manual section.

#

there's just not a section strategy that wraps those, they're just hardcoded in the view strategy

plush dust
#

what I was looking for was the new combined favorites/cmmon-controls.

#

right now, I have the common-controls, even with some additional icons and heading, but not the favorites

celest garnet
#

yes that's just common-controls with include_entities

plush dust
#

that would be a nice feature, I figured to set with type: home.....

celest garnet
#
    strategy:
      type: common-controls
      include_entities:
        - sun.sun

try something like that

plush dust
#

I have this

    strategy:
      type: common-controls
      card_mod: !include /config/dashboard/card_mods/strategy_style.yaml
      title: Veel gebruikt
      icon: mdi:gesture-double-tap
      limit: 12
      hide_empty: false
      included_entities:
        - switch.espresso_keuken
        - light.bureau_marijn_lampen

but the included entities dont show

modest badger
#

include_entities not included_entities

plush dust
#

yes, that works!

#

and what about that automatic title in the Home experimental

#

is that also set in the view strategy? I mean, Its easy enough to add a separate card, but just for understanding how this works

#

btw, it is a bit odd that the those entities are called favorite_entities in the UI, and now use include_entities

{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace.home_experimental",
  "data": {
    "config": {
      "strategy": {
        "type": "home",
        "favorite_entities": [
          "switch.espresso_keuken",
          "light.bureau_marijn_lampen"
        ]
      }
    }
  }
}```