Skip to content

v1.0.8

Compare
Choose a tag to compare
@artem-sedykh artem-sedykh released this 20 May 19:50
8a7c77c

v1.0.8

Downloads

ADDED

  • Added humidity: icon_template icon template for humidity indicator, a simple template engine is used jinja-js
  • Added target_humidity: icon_template icon template for target_humidity indicator, a simple template engine is used jinja-js
  • Added temperature: icon_template icon template for temperature indicator, a simple template engine is used jinja-js
  • Added depth: icon_template icon template for temperature indicator, a simple template engine is used jinja-js

#####Example

- type: custom:mini-humidifier
  entity: fan.xiaomi_miio_device
  depth:
    icon_template: >
      {% if depth < 10 %}
        <ha-icon class='state__value_icon' icon='mdi:tray-alert' style='color: #bd1c1c;'></ha-icon>
      {% elseif depth < 45 %}
        <ha-icon class='state__value_icon' icon='mdi:tray-minus'></ha-icon>
      {% else %}
        <ha-icon class='state__value_icon' icon='mdi:tray-full'></ha-icon>
      {% endif %}

CHANGED

  • styles
  • humidity:icon changed default icon from mdi:water-outline to mdi:water
  • depth:icon changed default icon from mdi:beaker-outline to mdi:tray-full