-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from artem-sedykh/dev
version 2.1.1
- Loading branch information
Showing
18 changed files
with
401 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
## v2.1.1 | ||
[![Downloads](https://img.shields.io/github/downloads/artem-sedykh/mini-humidifier/v2.1.1/total.svg)](https://github.com/artem-sedykh/mini-humidifier/releases/tag/v2.1.1) | ||
|
||
### ADDED | ||
- Added configuration for secondary_info, supported types `[last-changed, mode]`, default type `mode` | ||
```yaml | ||
- type: custom:mini-humidifier | ||
entity: fan.xiaomi_miio_device | ||
secondary_info: last-changed | ||
|
||
- type: custom:mini-humidifier | ||
entity: fan.xiaomi_miio_device | ||
secondary_info: #default type mode, changing icon | ||
icon: 'mdi:fan' | ||
``` | ||
- Added indicator `tap_action` configuration, #21 | ||
```yaml | ||
- type: custom:mini-humidifier | ||
entity: fan.xiaomi_miio_device | ||
indicators: | ||
temperature: | ||
source: | ||
entity: sensor.temperature | ||
tap_action: more-info | ||
humidity: | ||
source: | ||
entity: sensor.humidity | ||
tap_action: more-info | ||
``` | ||
- 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 value `3500 milliseconds` | ||
```yaml | ||
- type: custom:mini-humidifier | ||
entity: fan.xiaomi_miio_device | ||
buttons: | ||
dry: | ||
action_timeout: 2000 | ||
led: | ||
action_timeout: 2000 | ||
``` | ||
|
||
- The default configuration settings for buttons and indicators are placed in a separate file, | ||
now you can send a pull request or throw issue so that I would add your humidifier model an example for [zhimi.humidifier.cb1](https://github.com/artem-sedykh/mini-humidifier/blob/master/src/configurations/zhimi_humidifier_cb1.js) | ||
default model `zhimi.humidifier.cb1` | ||
with this approach, the configuration in the yml file will be cleaner, and individual parameters can be redefined | ||
|
||
```yaml | ||
- type: custom:mini-humidifier | ||
entity: fan.xiaomi_miio_device | ||
model: 'zhimi.humidifier.cb1' | ||
indicators: | ||
depth: | ||
type: liters | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.