Hi! Does anyone know how to properly implement bold fonts for the Title Card’s primary font? I have tried multiple different implementations I’ve seen on this forum and none of them appear to display my desired results. Thanks!
secondary: |-
{% if states('input_number.dishwasher_pod_add') | float == 0 %}
{% if states('input_number.washing_pods_add') | float == 0 %}
Aaah both are 0 what do i do!
{% else %}
Dishwasher is 0, but washing is {{states('input_number.washing_pods_add') | float}}.
{% endif %}
{% else %}
{% if states('input_number.washing_pods_add') | float != 0 %}
What!? neither are equal to 0?? dishwasher is {{states('input_number.dishwasher_pod_add') | float }} and washing is {{states('input_number.washing_pods_add') | float }}
{% else %}
Washing is 0, but dishwasher is {{states('input_number.dishwasher_pod_add') | float }}
{% endif %}
{% endif %}
Or even simpler this:
secondary: |-
{% if states('input_number.dishwasher_pod_add') | float == 0 and states('input_number.washing_pods_add') | float == 0 %}
Aaah both are 0 what do i do!
{% elif states('input_number.dishwasher_pod_add') | float != 0 and states('input_number.washing_pods_add') | float != 0 %}
What!? neither are equal to 0?? dishwasher is {{states('input_number.dishwasher_pod_add') | float }} and washing is {{states('input_number.washing_pods_add') | float }}
{% elif states('input_number.dishwasher_pod_add') | float != 0 and states('input_number.washing_pods_add') | float == 0 %}
Washing is 0, but dishwasher is {{states('input_number.dishwasher_pod_add') | float }}
{% elif states('input_number.dishwasher_pod_add') | float == 0 and states('input_number.washing_pods_add') | float != 0 %}
Dishwasher is 0, but washing is {{states('input_number.washing_pods_add') | float }}
{% endif %}
Of course these are just to illustrate the point, feel free to remove my junk commentary
Will convert a value such as 9.9 to 9. The (0) just refers to a default value you are giving if the state of the entity is not a number. Like unknown, unavailable, or None, etc.
| round(0)
Converts a value like 9.9 to 10, as it does proper rounding. But it may still display as 10.0 depending on the use. The (0) here does Not refer to a default, but rather the decimals to round to.
I’m having an issue with the animations in my Mushroom Cards. The cards display correctly, but the animations no longer work. I was using the templates from rhysb. Link to his Part
Does anyone have any idea what might be causing this or how I can fix the problem?
I am working on my first dashboard and wanted to use some features from both the mushroom light card as well as the custom room card made by Everything Smart Home for Minimalist.
Essentially what I want is to merge features from both cards. I would like the slider and brightness/temp/color slider and controls to be at the same row as the Bedroom text (like the default minimalist light card) but then also be able to add a label showing temperature and more buttons at the bottom row for things like heating etc.
I can’t seem to find any yaml templates for mushroom to use as a base for adding more items and I have no idea where to get started if I want to port the slider and temp/brightness/colour functionality over to minimalist so I’m pretty stuck.
Here’s a crappy drawing of what I want to do the bottom buttons are just examples of buttons.