Comments (10)
I'm pretty sure that's what the custom actions
are for. You could make a script that does that, and have it call that.
from vacuum-card.
You're free to open a PR if you need that feature. I'll gladly review that PR.
Unfortunately, I don't have enough time to work on everything.
from vacuum-card.
No problem, I totally get it. If only I know anything about coding in python, I would definitely add that feature :)
from vacuum-card.
@fi-sch FYI, this card is 100% in JS.
from vacuum-card.
Thanks. Doesn't matter much to me as I'm no coder at all :/
from vacuum-card.
I'm fine to add that feature, can you give an example service call?
from vacuum-card.
I'm fine to add that feature, can you give an example service call?
It would be something like example below – 'repeats' parameter is available when using 'xiaomi_miio.vacuum_clean_zone' service. [source: https://www.home-assistant.io/integrations/xiaomi_miio/#xiaomi-mi-robot-vacuum]
- service: xiaomi_miio.vacuum_clean_zone
data:
entity_id: vacuum.xiaomi_vacuum
repeats: '{{states('input_number.vacuum_passes')|int}}'
zone: [[30914,26007,35514,28807], [20232,22496,26032,26496]]
from vacuum-card.
Hmm. Is there a way to tell it to clean all zones? Is zoning already built in?
from vacuum-card.
Zoning seems to be built into the card and I would use repeat feature with zones. I don't use "clean all zones" at all.
I assume that if you would like to use 'repeat' parameter with "clean all" use-case, you would need to pass all the zones into the 'zone' parameter. I suppose that there's no 'repeat' for simple "clean (all)" command, because if you would tell your vacuum to clean a whole apartment multiple times, it would run out of battery before finishing the task.
from vacuum-card.
You can pass the number of repeats in the service data.
from vacuum-card.
Related Issues (20)
- Shortcuts will not display HOT 2
- value template not used after values get updated HOT 6
- Incorrect battery status HOT 7
- State is not centered HOT 6
- Cannot find plugin in HACS 1.33.0 HOT 2
- Add support for Taurus HomeLand Gyro HOT 4
- value_template not working on Chrome HOT 8
- Support for Xiaomi Mi Robot Vacuum SDJQR01RR / SDJQR02RR (First generation) HOT 2
- Card not shown with official Ecovacs integration HOT 1
- Action Buttons Not Showing HOT 1
- After updating to 2024.2.4 is the card empty HOT 26
- Vacuum starts when changing fan speed HOT 1
- Card no longer displays HOT 7
- Make the vacuum-card translucent
- Question about connect with my own built vacuum robot HOT 2
- Also support mowers HOT 2
- Chinese translation doesn't work. HOT 2
- Support Yeedi Vac 2 Pro HOT 3
- support state value templates HOT 2
- Visual editor toggles have no effect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vacuum-card.