Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-sedykh committed Jun 6, 2020
1 parent d02ef10 commit 744a2c8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ Inspired by [mini media player](https://github.com/kalkih/mini-media-player).
| buttons: `name:toggle_action` | function | optional | v2.0.1 | for type `button`
| buttons: `name:style` | function | optional | v2.0.1 | styles
| scale | number | optional | v1.0.3 | UI scale modifier, default is `1`.
| model | string | optional | v2.1.1 | default configuration for a specific humidifier model, default value `zhimi.humidifier.cb1`
| tap_action | [action object](#action-object-options) | true | v1.0.4 | Action on click/tap, [examples](#action-object-options-examples).

#### Action object options
Expand Down Expand Up @@ -177,6 +178,18 @@ Can be specified by color name, hexadecimal, rgb, rgba, hsl, hsla, basically any
1. Read the documentation
2. See an example for [zhimi.humidifier.cb1](https://github.com/artem-sedykh/mini-humidifier/blob/master/src/configurations/zhimi_humidifier_cb1.js)
3. Create a pull request or issue with the configuration file.

#### Available default configurations
`zhimi_humidifier_cb1`

> Using the default configuration for a specific model

```yaml
- type: custom:mini-humidifier
entity: fan.xiaomi_miio_device
# zhimi.humidifier.cb1 default value may be omitted, added for example.
model: 'zhimi.humidifier.cb1'
```

#### target humidity

Expand Down

0 comments on commit 744a2c8

Please sign in to comment.