tips on making these scrips:
Finding which number corresponds to which room is trial and error.
It is easier if it is based on a new map, then the numbers are likely to be sequential.
the room numbers begin at “0”
In case it helps someone. Room ids are sequential starting at 0, but note the space between the dash and the number!
Save this as a homeassistant script
alias: Hoover X8 room clean
sequence:
- service: vacuum.send_command
metadata: {}
data:
command: roomClean
params:
roomIds:
- 1
- 2
count: 1
target:
device_id: your x8 device id here
mode: single
Hello, I’m trying to add an L60 SES to the integration.
GoodFoodPixels HACS integration started but the logs kick out the following error:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File “/config/custom_components/robovac/vacuum.py”, line 116, in async_setup_entry
entity = RoboVacEntity(item)
^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/robovac/vacuum.py”, line 284, in init
self._attr_supported_features = self.vacuum.getHomeAssistantFeatures()
^^^^^^^^^^^
AttributeError: ‘RoboVacEntity’ object has no attribute ‘vacuum’
I’ve added the model to (T2277) to the Robovac.py file, but unsure where else to plug holes.
I posted this a while back (link below), the parameter you are looking for is “count”
This can either be a fixed number (1,2or 3) or linked to an input_number. I have set up my input_number so it cycles though the numbers 1,2,3 based on click of a dashboard icon.
I have just a script for every room. The roomId being the only thing that varies between scripts.
Through trial and error (stating at “0” and going up incrementally) I found which roomId relates to which physical room. I then give each script the name of the room. I can then call the scripts from icons on my dashboard or even expose them to Amazon/Google assistants and call them via routines set up in the Alexa/Google home apps respectively.