Skip to content

Conversation

@Lash-L
Copy link
Collaborator

@Lash-L Lash-L commented Apr 5, 2023

@humbertogontijo Want your opinion.

the command get_room_mapping returns a list of [room_name_id, segment_id]

In order to use that data I need the HomeDataRoom which has room_name_id, room_name

What's the best way to handle that?

Do it in the coordinator?

Pass home data into RoborockClient? Then access room on the homeData object?

Something else?

What are your thoughts?

@humbertogontijo
Copy link
Collaborator

I will create an entity to share states between vacuum and camera entities for the next release. You can use this new entity that will be created in the init.py

@Lash-L
Copy link
Collaborator Author

Lash-L commented Apr 5, 2023

I will create an entity to share states between vacuum and camera entities for the next release. You can use this new entity that will be created in the init.py

Awesome - let me know when it is up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants