Comments (7)
Sorry completely overseen your issue. Does it still exist?
from docs.
Hi there, jub still existing :D sorry, i was away last week
and i really dont know what im doing different act. as a test i even renamend my Deebot to Susi as well, so i literally copied your code ;-) still starting at Nr. 2
from docs.
hi @GerryCrooked, I have the exact same issue. I managed to copy the code from the Advanced UI and sort out all the icons and stuff, but when I clicked on the rooms (to select which rooms to start cleaning), the number starts with 2 instead of 1. I am trying to figure out why that is such a case but cant find anything..
Running HA 2023.6.1
from docs.
Found it @GerryCrooked ...
state: >
{% set room_name = "living_room" %}
{% set queue = trigger.to_state.state.split(",") %}
{{ queue.index(room_name)+1 if room_name in queue else 0 }}
you need ti create the above under template: for each room_name
I changed mine to this and it worked, started from 1
state: >
{% set room_name = "living_room" %}
{% set queue = trigger.to_state.state.split(",") %}
{{ queue.index(room_name) if room_name in queue else 0 }} #<--- took out the + 1 in this statement
from docs.
@mohamadfarhanmelb Please don't delete the +1
, because it is required
I think both of you have some value (ex. a value from setting up) in the input_text
entity. Can you please open the developer tools and verify that your input_text
entity is empty (no ,
or any value), if no room is selected
from docs.
@edenhaus yeah a mistake there.... the array input_text.xxxxxxx already has "unknown" as its first entry.
Any new button that I clicked after that will be added on to the list, for example, "nknown,laundry".
Any idea what could have caused this?
Also, out of the blye, wondering how can I create a specific queue for multiple area of the same type.
For example...
rooms:
bedroom:
- 1
- 13
I have classified 2 area as of type bedroom in my Ecovacs app.
How do I create a qeuue specficially for bedroom1 and bedroom13?
- unique_id: deebot_dobby_queue_bedroom1
name: deebot_dobby_queue_bedroom1
state: >
{% set room_name = "bedroom" %} <---- what do I put the room_name as for bedroom1
{% set queue = trigger.to_state.state.split(",") %}
{{ queue.index(room_name)+1 if room_name in queue else 0 }} - unique_id: deebot_dobby_queue_bedroom13
name: deebot_dobby_queue_bedroom13
state: >
{% set room_name = "bedroom" %} <---- what do I put the room_name as for bedroom13
{% set queue = trigger.to_state.state.split(",") %}
{{ queue.index(room_name)+1 if room_name in queue else 0 }}
from docs.
Use the developer tools to set the input_text
entity to an empty state (in other words to delete/clear the state). Afterwards the count should start with 1
I have classified 2 area as of type bedroom in my Ecovacs app.
How do I create a qeuue specficially for bedroom1 and bedroom13?
This is not possible with the current example, but you can extend it to support this functionality. Feel free to open a PR to update the example
from docs.
Related Issues (20)
- userinfo HOT 4
- Status is not updating HOT 1
- Have to keep reloading integration? HOT 1
- Advanced UI with two DeeBots HOT 5
- Casting video HOT 1
- Deebot N10 map support HOT 2
- HomeKit support?
- Deebot T10 map support HOT 3
- Taking a snapshot of the new 'Image' entity? HOT 3
- No 'rooms' attribute HOT 2
- Advanced UI Deebot N8 HOT 9
- Selected rooms buttons do not change in color HOT 5
- number clean_count entity HOT 3
- 能否支持DEEBOT DD37非常期待! HOT 2
- Llooking forward to supporting DEEBOT DD37! Hope to support the control of DEEBOT DD37 Thank you! HOT 1
- Return to home button HOT 1
- Deebot X2 Omni Support HOT 1
- Maybe it's a bug in the function “spot_area” HOT 3
- ignored cleanings and amount params
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 docs.