v1.1.0
FIXED
- Smoothness of change of the set temperature.
CHANGED
- Automatic calculation max-width entity name #6
ADDED
- When you click on the button, it instantly changes its state, but if the actual state has not changed after
action_timeout
it returns to the previous state, default value2000 milliseconds
- type: custom:mini-climate
entity: climate.dahatsu
buttons:
turbo:
icon: mdi:weather-hurricane
topic: 'dahatsu/turbo/set'
state:
attribute: turbo
mapper: "(state, entity) => state ? 'on': 'off'"
action_timeout: 2000
toggle_action: >
(state) => this.call_service('mqtt', 'publish', { payload: this.toggle_state(state), topic: this.topic, retain: false, qos: 1 })
- indicator
tap_action
configuration, see readme with detailed configuration #5
- type: custom:mini-climate
entity: climate.dahatsu
indicators:
humidity:
icon: mdi:water
unit: '%'
source:
entity: sensor.humidity
tap_action: more-info
# or
# tap_action:
# action: more-info
- Added configuration for secondary_info supported types
[last-changed, fan-mode, hvac-mode]
, default typefan-mode
- type: custom:mini-climate
entity: climate.dahatsu
secondary_info: last-changed
- type: custom:mini-climate
entity: climate.dahatsu
secondary_info:
type: fan-mode
icon: 'mdi:fan'
- type: custom:mini-climate
entity: climate.dahatsu
secondary_info: hvac-mode