AalianKhan / mushroom-strategy

A strategy to automatically generate a dashboard using mushroom cards
MIT License
371 stars 37 forks source link

Can't change area icon #37

Closed cmerkle closed 1 year ago

cmerkle commented 1 year ago

I am trying to change the icons for the different areas in the mushroom strategy dashboard, however after editing the config per the README I am getting and error that states:

""" Error loading the dashboard strategy:

TypeError: strategyOptions.areas is not iterable """

My configuration is below:

strategy:
  type: custom:mushroom-strategy
  options:
    areas:
      living_room_id:
        name: Living Room
        icon: mdi:sofa
        icon_color: green
    entity_config:
      - entity: camera.living_room_camera
        type: picture-entity
      - entity: camera.front_yard_camera
        type: picture-entity
      - entity: camera.kitchen_camera
        type: picture-entity
      - entity: camera.backyard_camera
        type: picture-entity
      - entity: camera.garage_camera
        type: picture-entity
      - entity: camera.driveway_camera
        type: picture-entity
      - entity: camera.raspberrypi_logitech_c920
        type: picture-entity
      - entity: camera.raspberrypi_thumbnail
        type: picture-entity
views: []

image

DigiLive commented 1 year ago

Which version of the strategy do you use?

cmerkle commented 1 year ago

0.15. I switched to the alpha release and it works now!