forked from DigiLive/mushroom-strategy
4a96b82c4a0eb9b67ec4fcc8ad497d313e389bf2
Mushroom dashboard strategy
What is Mushroom dashboard strategy ?
Mushroom dashboard strategy provides a strategy for Home assistant to automatically create a dashboard using Mushroom cards, the area configuration and entity configuration.
My goal is to propose a way to create powerful dashaboards without the need of spending hours manualy creating them.
Features
- 🛠 Automatically create dashboard with 3 lines of yaml
- 😍 Built-in Views for device specific controls
- 🎨 Many options to customize to your needs
Installation
HACS
Mushroom dashboard strategy is available in HACS (Home Assistant Community Store).
- Install HACS if you don't have it already
- Open HACS in Home Assistant
- Go to "Frontend" section
- Click button with "+" icon
- Search for "Mushroom strategy"
Manual
- Download
mushroom-strategy.jsfile from the [latest-release]. - Put
mushroom-strategy.jsfile into yourconfig/wwwfolder. - Add reference to
mushroom-strategy.jsin Dashboard. There's two way to do that:- Using UI: Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url as
/local/mushroom-strategy.js→ Set Resource type asJavaScript Module. Note: If you do not see the Resources menu, you will need to enable Advanced Mode in your User Profile - Using YAML: Add following code to
lovelacesection.resources: - url: /local/mushroom-strategy.js type: module
- Using UI: Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url as
Preresquisites
You need to install these cards first before using this strategy
Usage
All the Rounded cards can be configured using Dashboard UI editor.
- In Dashboard UI, click 3 dots in top right corner.
- Click Edit Dashboard.
- Click 3 dots again
- Click
Raw configuration editor - Add these lines
strategy:
type: custom:mushroom-strategy
views: []
Credits
- The cards used are from Mushroom, Mini graph card and Web RTC
- Took inspiration from Balloob battery strategy
Languages
TypeScript
100%


