Unlock New Dashboard Features with Mushroom v2.0.0 for Home Assistant

Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.

Building on the recent customizability added to the Mushroom Template Card, Mushroom v2.0.0 enables you to create a more distinctive Home Assistant Dashboard. This update not only enhances the user experience but also includes a major code refactoring, paving the way for easier and more frequent updates.

Contents

Mushroom Cards Overview

Mushroom Cards come in various types, each tailored to display different kinds of information or control-specific devices. Some of the most popular Mushroom cards include:

Each card type can be easily configured using a visual editor, making it accessible even for those who are not familiar with coding. This flexibility enables users to create a tailored smart home dashboard that meets their specific needs, whether it's monitoring energy consumption, controlling smart devices, or keeping an eye on security systems.

Primary and Secondary Information Options for All Mushroom Cards

Previously, only the Mushroom Entity Card could display secondary information alongside primary information. With Mushroom v2.0.0, all cards now offer this option. A dropdown menu allows you to easily select the information you want to display. The available options are:

These new options replace the deprecated hide_name and hide_state options. Instead of using these, you can simply select none from the dropdown. Your Dashboard will remain intact after updating, thanks to the developer's inclusion of backwards compatibility.

However, if you use deprecated options, you will see a warning and lose the ability to use the visual editor when editing those cards. For example, if you previously used the hide_state option, removing that line from the code will restore the visual editor's functionality.

Screenshot of the Home Assistant Mushroom v2.0.0 interface displaying the configuration settings for an entity. The entity is identified as “light.office_ceiling_lamp.” The fields shown include “Name” set to “Ceiling lamp,” an “Icon” selection field with a bell icon displayed, and layout options set to “Default layout” with a toggle switch for “Fill container” set to off. Additionally, there are dropdown menus for “Primary information” and “Secondary information,” both set to “Default information.”
The screenshot of the Home Assistant Mushroom v2.0.0 dashboard displays various entity cards with different icons, names, states, and controls. The top card shows an entity with a bell icon, last updated 15 minutes ago, labelled “Office lights.” It includes a horizontal bar indicating the state, with a thermometer icon on the right. The middle left card features an entity with a bell icon, last updated 4 minutes ago, showing a state of 63%. This card also includes a horizontal bar indicating the state and a thermometer icon on the right. The middle right card displays an entity with a light bulb icon, showing a state of 63%, accompanied by a horizontal bar indicating the state, a thermometer icon, and a palette icon for additional controls. The bottom card displays another entity with a horizontal bar indicating the state and a thermometer icon on the right. These cards illustrate the enhanced customization options available in Mushroom v2.0.0, including icons, state indicators, and additional controls for each entity.

Add Icons or Pictures to Any Entity in Mushroom v2.0.0

The method for selecting icons or pictures has also been streamlined and unified. You can now choose between:

Additionally, the Template Card now allows you to use both Material Design Icons (MDI) and images. When you select an image, whether from the web or uploaded locally, the icon will automatically be disabled.

Screenshot of the Home Assistant Mushroom v2.0.0 interface showing three input fields for customizing an entity. The fields are labelled “Badge icon,” “Badge color,” and “Picture (will replace the icon),” each with a default value of “1.” These fields allow users to configure the visual representation of an entity by selecting an icon, setting a color for the badge, or uploading a picture that will override the icon.

Icon Option

The Icon option allows you to display a symbolic representation of an entity using Material Design Icons (MDI). These icons are vector-based graphics designed to represent various functions visually, states, or types of entities within Home Assistant. Here are some key points about the Icon option:

Entity Picture Option

The Entity Picture option enables you to display a custom image or photo associated with an entity. This can be an image from the web or one you have uploaded locally. Here are the main aspects of the Entity Picture option:

Practical Example

Imagine you have a smart light in your living room. Using the Icon option, you might choose a light bulb icon to represent the light's state (on or off). This icon is straightforward and functional, making it easy to quickly identify the light's status at a glance.

On the other hand, if you select the Entity Picture option, you could use an actual photo of the light fixture or the living room. This provides a more personalized touch and can be particularly useful if you have multiple similar entities, as the image gives a clear visual cue about which specific light or room is being referenced.

Less Code Means Faster Development

This update goes beyond visual enhancements. By unifying the appearance configuration across all cards, there is less duplicate code for the developer to maintain. This means future updates will require fewer code checks, resulting in faster release cycles.

Summary

Mushroom v2.0.0 brings enhanced customizability and streamlined development to Home Assistant Dashboards. Key updates include:

These improvements make it easier than ever to create a unique and functional Home Assistant Dashboard.

A portrait photo oif Liam Alexander Colman, the author, creator, and owner of Home Assistant Guide wearing a suit.

About Liam Alexander Colman

is an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container.
With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.

Leave a comment

Share to...