Hallo
Ich würde gerne das Icon bei abgeschlossen rot ist und bei offen grün. Also genau umgekehrt als es jetzt standartmäßig ist.
Kann mir wer den Coder dafür sagen?
- type: custom:mushroom-lock-card
entity: lock.haustur
name: Haustür
Hat hier niemand eine Idee? Muss doch möglich sein die Farbe zu ändern. Ich hab probiert aber nichts davon funktioniert
Schau mal hier in der Doku der Karte unter dem Punkt " Override theme variables"
# Lock card
![Lock light](../images/lock-light.png)
![Lock dark](../images/lock-dark.png)
## Description
A lock card allows you to control a lock entity.
## Configuration variables
All the options are available in the lovelace editor but you can use `yaml` if you want.
| Name | Type | Default | Description |
| :------------------ | :-------------------------------------------------- | :---------- | :---------------------------------------------------------------------------------- |
| `entity` | string | Required | Lock entity |
| `icon` | string | Optional | Custom icon |
| `name` | string | Optional | Custom name |
| `layout` | string | Optional | Layout of the card. Vertical, horizontal and default layout are supported |
| `fill_container` | boolean | `false` | Fill container or not. Useful when card is in a grid, vertical or horizontal layout |
Diese Datei wurde abgeschnitten. Original zeigen
MelleD
14. Juni 2024 um 11:40
4
Und hier ne ganze nette Sammlung was man so mit card mod alles machen kann
This topic is technically a cross post from a reply to the Mushroom Card Topic found here: Part 1. But it was suggested in a comment to post it here as a guide instead. Below info is true as of Mushroom Version 3.6.4 and Card Mod Version 3.4.3 ...
Reading time: 249 mins 🕑
Likes: 661 ❤
Alternativ kannst du bestimmt auch nen Mushroom Template nehmen.