really interesting, but my skills are so limited that I still donāt understand things and I canāt finish my cards. For the light having to choose between only two icons and two colors all solved. But now for the temperature on the card next to it, I wanted 3 icons and three colors, so I donāt understand how to write it. I tried but I donāt think entering the second option is correct.
I posted all the code because there are actually two problems:
just explained that I would like three icons and three colors, but something isnāt working
the second thermometer icon next to it does not show me the temperature
Thank you very much if you can give me some help this time too
I have a problem with conditional chips, both with light.tavolo on and off it always shows me the icon. I emptied the cash, uninstalled and installed mushroom but nothing seems to be the conditions are not working
I solved a problem 2 myself, and Iām writing it in case it might be useful to someone:
I got the logic wrong write correct āstatesā and āsensorā
wrong: ā{{stastes.sensore_ingresso_device_temperature.state}} Ā°Cā
correct:ā{{states.sensor.sensore_ingresso_device_temperature.state}} Ā°Cā
the first problem remains and I have to figure out how to solve it: How can I set three different colors?
I am facing a challenge showing the icon of an entity that depends on its state. When it is closed, it works on a pc but not on the iPhone HA app. It does not work when it is open on both PC and iPhone. Here are the screen shots:
Thank you for sharing your person card, great job. Mine, for some reason not showing for some reason address where I am located right now. Here is a template, which I put in my templates file:
#####Full Address for Person Card#######
- name: My Address
unique_id: 692d4852-2d29-4c24-80bc-0d35ecc245ef
state: >
{% set full_address = state_attr('sensor.sm_s918u_geocoded_location', 'Name') %}
{% if full_address %}
{% set address_parts = full_address.split(' ') %}
{% set street_address = address_parts[:2] %}
{{ street_address | join(' ') }}
{% else %}
'Unknown'
{% endif %}
correct. attributes are all meant to be lower case. @Zenia if you have an integration that provides an attribute in upper case you should file a bug report on that integration.
{% set full_address = state_attr('sensor.sm_s918u_geocoded_location', 'name') %}
, restart HA, but still itās shows me AWAY (which is correct) and Unknown location (nothing changed). Please help me to make it right and understand how and where I am wrong.
Thank you, everyone