Use camera.roborock_s7_pro_ultra_map - map_flag in Automation as condition #206
Fuchschr11
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I do not find a way to check in an automation on which floor "map_flag" the vacuum currently sits.
I can set the map_flag with:
service: roborock.camera_load_multi_map data: map_flag: 0 target: entity_id: camera.roborock_s7_pro_ultra_map
but I can not check in a condition, if map_flag=0.
The problem:
I have a curtain in one room, which needs to be opened, when vacuum cleans this room. My idea is to check if the vacuum enters a specific room "vacuum room = X" the curtain will open and Close if vacuum leaves the room. This should only happen, if the vacuum is on the correct floor. (thats why I need to check map_flag).
Furhtermore the vacuum sits in the same room (id=20) as the curtain, so "vacuum room" has the value 20 when vacuum is docked. So when it cleans the kitchen (id=18) the curtain does not be opened.
Any ideas?
Thanks
Christian
Beta Was this translation helpful? Give feedback.
All reactions