Comments (3)
Hey there @JeffResc, @funkybunch, mind taking a look at this issue as it has been labeled with an integration (sharkiq
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of sharkiq
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign sharkiq
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
sharkiq documentation
sharkiq source
(message by IssueLinks)
from core.
I now see that there was a lot of discourse in #89350 about this already.
Have you considered simply checking if the area name is in the rooms list if the area id is not found
Something like
async def async_clean_room(self, rooms: list[str], **kwargs: Any) -> None:
"""Clean specific rooms."""
areas = AreaRegistry(self.hass)
rooms_to_clean = []
valid_rooms = self.available_rooms or []
for room in rooms:
if room in valid_rooms:
rooms_to_clean.append(room)
continue
# Check if area name matches
if room_area := areas.async_get_area(room):
if room_area.name in valid_rooms:
rooms_to_clean.append(room)
continue
raise ServiceValidationError(
translation_domain=DOMAIN,
translation_key="invalid_room",
translation_placeholders={"room": room},
)
LOGGER.debug("Cleaning room(s): %s", rooms_to_clean)
await self.sharkiq.async_clean_rooms(rooms_to_clean)
await self.coordinator.async_refresh()
Not sure if it actually works, but can take it further if there is interest to support this.
from core.
Im having a similar issue, but I am unable to change the names in the Shark app, it simply provides me with pre-created labels, so I am unable to get rooms to work at all
from core.
Related Issues (20)
- Add warning when requesting user for code from TVs about the screen staying on. HOT 2
- Ecowitt Water temperature sensor WN34L not showing up in home assistant. HOT 1
- Roborock Setup Failed HOT 2
- Settings -> Repairs -> Integration startup time is shown as negative HOT 9
- Error when trying to enable Bluetooth Tracker HOT 2
- analytics insights fails to create HOT 2
- NWS integration fails to populate 11 sensor entities. HOT 2
- Make iBeacon unavailable timeout configurable
- Some times core fails to restart and I have to use SSH to fix
- Jandy iAqualink error with eXO devices HOT 4
- Inkbird integration not seeing valid P01B sensor HOT 1
- Homeassistant crashes and restarts
- New schedules in Plugwise Adam are not available in HA HOT 3
- Unifi Integration needs higher timeout for logging in because of MFA HOT 2
- Tuya PIR Motion Detector with Light measurement - no light entity
- Unable to add a new Gardena Water Computer HOT 1
- Missing info/image from HA Green Board on hardware tab HOT 2
- Signal Messanger - Add Markdown support HOT 2
- Signal Messanger - can't recieve messages Websockets support needed. HOT 1
- HomeWizard gas values/sensors not available anymore HOT 2
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 core.