Skip to content

⚙️ Basic Setup#

If you haven't already done so, create a new dashboard, following the instructions in the Home Assistant documentation.

To apply the Mushroom Strategy to a dashboard:

  1. In the UI of the dashboard, select in the top right corner.
  2. If not taken to a Raw Configuration editor:
    1. Click the three-dot menu in the top right corner.
    2. Select Raw configuration editor.
  3. Empty the current configuration and add the following lines:

    strategy:
      type: custom:mushroom-strategy
      options: {}
    
  4. Click Save and exit the edit mode.
    You should now see the Mushroom Strategy applied to your dashboard.

Warning

You may see the following error:

 Error loading the dashboard strategy:
     Error: Timeout waiting for strategy
     element ||-strategy-mushroom-strategy to
     be registered

This is mainly because of cache issues or HACS didn't create a reference.
Try clearing the cache of your client and/or re-downloading the strategy from HACS.

If it still doesn't work, please consult guide How to solve: Error loading the dashboard strategy.