Điểm qua piitaya/lovelace-mushroom: 5.1k sao trên GitHub, viết chủ yếu bằng TypeScript. Build a beautiful Home Assistant dashboard easily
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Mushroom is a collection of cards for Home Assistant Dashboard UI.
Mushroom mission is to propose easy to use components to build your Home Assistant dashboard.
Features
🛠 Editor for all cards and and all options (no need to edit yaml)
😍 Icon picker
🖌 Color picker
🚀 0 dependencies : no need to install another card.
🌈 Based on Material UI colors
🌓 Light and dark theme support
🎨 Optional theme customization
🌎 Internationalization
The goal of Mushroom is not to provide custom card for deep customization. You can use the excellent UI Lovelace Minimalist and Button card plugins for this.
Installation
HACS
Mushroom is available in HACS (Home Assistant Community Store).
Use this link to directly go to the repository in HACS
or
Install HACS if you don't have it already
Open HACS in Home Assistant
Search for "Mushroom"
Click the download button. ⬇️
Manual
Download mushroom.js file from the latest release.
Put mushroom.js file into your config/www folder.
Add reference to mushroom.js in Dashboard. There's two way to do that:
Using UI:Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url as /local/mushroom.js → Set Resource type as JavaScript 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 lovelace section.
resources:
- url: /local/mushroom.js
type: module
Usage
All the Mushroom cards can be configured using Dashboard UI editor.
In Dashboard UI, click 3 dots in top right corner.
Click Edit Dashboard.
Click Plus button to add a new card.
Find one of the Custom: Mushroom card in the list.
Cards
Different cards are available for differents entities :
🚨 Alarm card
🔔 Chips card
🌡 Climate card
🪟 Cover card
🪄 Entity card
🕳 Empty card
💨 Fan card
💧 Humidifier card
💡 Light card
🔒 Lock card
📺 Media card
🔢 Number card
🙋 Person card
📑 Select card
🛠 Template card
✏️ Title card
📦 Update card
🧹 Vacuum card
Legacy cards
Some cards are considered as legacy, are not available in the card picker but you can still use them :
🛠 Legacy Template card
Badges
A template badge is available if you're using at least Home Assistant 2024.8.
Theme customization
Mushroom works without theme but you can add a theme for better experience by installing the Mushroom Themes. If you want more information about themes, check out the official Home Assistant documentation about themes.
Development server
Home assistant demo
You can run a demo instance of Home Assistant with docker by running:
npm run start:hass
Once it's done, go to Home Assistant instance http://localhost:8123 and start configuration.
Windows Users
If you are on Windows, either run the above command in Powershell, or use the below if using Command Prompt:
npm run start:hass-cmd
Development
In another terminal, install dependencies and run development server:
npm install
npm start
Server will start on port 4000.
Build
You can build the mushroom.js file in dist folder by running the build command.
npm run build
Translations
If you want to help translating Mushroom, you can translate it directly from your browser using Weblate.
Maintainer steps to add a new language
To be compatible with Home Assistant, language tags have to follow BCP 47. A list of most language tags can be found here: IANA subtag registry. Examples: fr, fr-CA, zh-Hans.
Create a new file {language_code}.json with your language code in the translation folder. Examples: fr.json.
Import your file into the localize.ts file and add your language in the languages record.
Don't forget to test locally with the development server by choosing the language with the Home Assistant UI in your profile.
Troubleshooting
I don't see the last changes
Check that your Home Assistant version is the latest. Some new Mushroom features can only be visible for the latest Home Assistant version.
Check that you have the latest Mushroom version on HACS
Check that you have the latest Mushroom version by checking the browser console
piitaya/lovelace-mushroom có 5.1k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/piitaya/lovelace-mushroom. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
piitaya/lovelace-mushroom có những chủ đề gì?
GitHub topics của piitaya/lovelace-mushroom: "card", "hacktoberfest", "hacs", "home-assistant", "lovelace", "mushroom". TopGit xếp repo vào nhóm mã nguồn mở.
piitaya/lovelace-mushroom còn đang phát triển không?
Commit gần nhất trên piitaya/lovelace-mushroom là 23 ngày trước (theo timestamp GitHub). Repo có 435 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
piitaya/lovelace-mushroom là gì?
piitaya/lovelace-mushroom (piitaya/lovelace-mushroom) là dự án TypeScript trên GitHub. Theo mô tả gốc: Build a beautiful Home Assistant dashboard easily
piitaya/lovelace-mushroom viết bằng ngôn ngữ gì?
piitaya/lovelace-mushroom chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
lovelace-mushroom có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về lovelace-mushroom.