Hi,
Is there window tilt icons?
I’d like to see if a window is closed, opened or tilted.
Regards,
Hi,
Is there window tilt icons?
I’d like to see if a window is closed, opened or tilted.
Regards,
Here you can check if something fitting your needs is available - this is complete library of icons integrated into HA. Please note that HA is always a bit behind, so if you find some ineteresting icon there it dos not mean it is already available in HA - then wait intil next release.
Also, since your post is FR - you should rather request addition of new icon on Pictogrammers site.
I’m using mdi:angle-accute for this.
Looks like stupid material design forbids perspective:
Unless someone has a design idea without perspective.
I came to this, as multiple-entity-row doesn’t always update the icon properly:
- entity: binary_sensor.capteur_fenetre_chambre_door_state_simple
type: custom:multiple-entity-row
show_state: true
state_header: état
state_color: true
secondary_info:
attribute: last-updated
card_mod:
style: |
:host {
{% if states('binary_sensor.capteur_fenetre_chambre_door_state_simple') == 'on' %}
{% if states('binary_sensor.capteur_fenetre_chambre_tilt') == 'on' %}
--card-mod-icon: mdi:angle-acute;
{% else %}
--card-mod-icon: mdi:window-open-variant;
{% endif %}
{% else %}
--card-mod-icon: mdi:window-closed-variant;
{% endif %}
}
entities:
- entity: sensor.capteur_fenetre_chambre_battery_level
name: "batt\_%"
unit: false
state_color: true
- entity: binary_sensor.capteur_fenetre_chambre_cover_status
name: boîtier
state_color: true
- entity: binary_sensor.capteur_fenetre_chambre_tilt
name: tilt
unit: false
state_color: true