Thanks for that great work. I really love these cards. With the light cards i have a small problem.
If i try to control one of my Philips Hue lights it works in general. But i am missing the saturation level. I am able to control the bightness, the color, the temprature, but not the saturation level. Ich i use the standard lovelace light card in the color wheels the saturation level is there.
Do i miss something or is saturation really not available?
the slider looks so good though. just trying to get it to look more like the fan (when the fan is off, “off” is shown. when the fan is on, percentage is shown).
No big changes for this release but some improvements and bug fixes.
You can now customize icon, control and badge sizes using themes variables . You can find the full list of themes variables in Mushroom Themes documentation. If you want bigger icons or smaller slider. It’s now possible
Well, for me this IS a BIG change. Hurray!!!
Thanks @piitaya. This is very helpful.
I created a sensor to keep track of the energy production/consumption of our household. The sensor is adding up the production/consumption from the 3 phases. I would like to have a chips card indicating the total energy production/consumption and additionally I would like to color the icon green when we are injecting energy in the grid and red when consumed.
I have tried many things but it doesn’t work out for me with the template card. Could someone guide me in the right direction?
This is my piece of code.
- type: template
entity: sensor.power_total
icon: |
{% set state=states('sensor.power_total') %}
{% if state < 0 %}
mdi:transmission-tower-import
{% elif state > 0 %}
mdi:transmission-tower-export
{% else %}
mdi:transmission-tower
{% endif %}
icon_color: |-
{% set state=states('sensor.power_total') %}
{% if state < 0 %}
green
{% elif state > 0 %}
red
{% else %}
orange
{% endif %}
content: '{{ sensor.power_total }}'
Anyone know if it’s possible to add the ‘?’ indicator from the image to a template chip? - I’d like to use it to contain a number to show how many doors, windows etc are open.