mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
[Xiaomi Miio] Add example for vacuum segment clean with repetition (#16776)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
a910742724
commit
6d01d7260f
@ -1371,6 +1371,22 @@ automation:
|
|||||||
segments: 1
|
segments: 1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The original app for Xiaomi vacuum has a nice feature of room cleaning with repetition, you can achieve the same result with repeating segments:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
automation:
|
||||||
|
- alias: "Vacuum kitchen"
|
||||||
|
trigger:
|
||||||
|
- event: start
|
||||||
|
platform: homeassistant
|
||||||
|
action:
|
||||||
|
- service: xiaomi_miio.vacuum_clean_segment
|
||||||
|
target:
|
||||||
|
entity_id: vacuum.xiaomi_vacuum
|
||||||
|
data:
|
||||||
|
segments: [1, 1]
|
||||||
|
```
|
||||||
|
|
||||||
### Attributes
|
### Attributes
|
||||||
|
|
||||||
In addition to [all of the attributes provided by the `vacuum` component](/integrations/vacuum/#attributes),
|
In addition to [all of the attributes provided by the `vacuum` component](/integrations/vacuum/#attributes),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user