Releases: artem-sedykh/mini-humidifier
Releases · artem-sedykh/mini-humidifier
v1.0.8
v1.0.8
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 frommdi:water-outline
tomdi:water
depth:icon
changed default icon frommdi:beaker-outline
tomdi:tray-full
v1.0.7
v1.0.6
v1.0.6
ADDED
- Added ability to set third-party data sources for temperature and humidity see more in README, example:
# Display temperature and humidity using sensor
- type: custom:mini-humidifier
entity: fan.xiaomi_miio_device
temperature:
source:
entity: sensor.temperature
humidity:
source:
entity: sensor.humidity
-
Added ability to configure fan_mode_button source, for operating modes added the following options:
name
,value
,hide
,order
see more in README -
Added a short entry form to override the led_button drop-down list option name, example:
- type: custom:mini-humidifier
entity: fan.xiaomi_miio_device
led_button:
type: dropdown
source:
bright: 'Bright'
dim: 'Dim'
'off': 'Off'