Comments (1)
Find an alternative:
Use card_mod on your vacuum map card
Code
card_mod:
style: |
#map-image {
transform: rotate(270deg);
}
EXAMPLE (You have to edit x,y coordinates of label and icons)
type: custom:xiaomi-vacuum-map-card
entity: vacuum.viomi_se
preset_name: Downstairs
map_source:
camera: camera.xiaomi_cloud_map_extractor
crop:
top: 435
bottom: 280
left: 490
right: 160
calibration_source:
camera: true
clean_selection_on_start: true
map_locked: true
two_finger_pan: true
icons: []
tiles: []
map_modes:
- selection_type: ROOM
name: Room Cleaning
icon: mdi:floor-plan
max_selections: 5
repeats_type: NONE
predefined_selections:
- id: 10
label:
text: Kitchen
x: 10.3
'y': -0.9
icon:
name: mdi:water-plus
x: 10.3
'y': -1.5
- id: 11
label:
text: Living Room
x: 3.7
'y': -2.1
icon:
name: mdi:water-plus
x: 3.7
'y': -2.7
- id: 12
label:
text: Hallway
x: 9.7
'y': -3.7
icon:
name: mdi:water-plus
x: 9.7
'y': -4.2
- id: 13
label:
text: Guest Room
x: 12.1
'y': -5.8
icon:
name: mdi:water-plus
x: 12.1
'y': -6.3
- id: 15
label:
text: Staircase
x: 8.3
'y': -5.2
icon:
name: mdi:water-plus
x: 8.3
'y': -5.7
service_call_schema:
service: xiaomi_miot.call_action
service_data:
entity_id: vacuum.viomi_v13
siid: 4
aiid: 15
params:
- piid: 21
value: 0
- piid: 22
value: 1
- piid: 20
value: '[[selection_unwrapped]]'
force_params: true
- template: vacuum_clean_zone
name: Zone Cleaning
- template: vacuum_clean_point
name: Point Cleaning
vacuum_platform: marotoweb/viomise
card_mod:
style: |
ha-card {
--map-card-room-label-color: rgb(255, 255, 255);
--map-card-room-label-color-selected: rgb(255, 255, 255);
--map-card-room-icon-wrapper-size: 18px;
--map-card-room-icon-size: 14px;
}
#map-image {
transform: rotate(270deg);
}
from home-assistant-custom-components-xiaomi-cloud-map-extractor.
Related Issues (20)
- SUPPORT_ON_OFF is deprecated HOT 4
- The map is not displayed
- Add two cameras on configuration.yaml HOT 1
- Support for xiaomi.vacuum.c103
- Time out error HOT 6
- Missing Python module after HASS update HOT 2
- Xiaomi Vacuum s10 (ijai.vacuum.v17) HOT 1
- Error: Failed to retreive map from vacuum. Was working flawlesly, stopped working without any updates HOT 7
- Deprecated supported features values HOT 2
- problem ViomiV3 (ViomiV13) HOT 2
- Xiaomi Rovot vaccum and mop 2 HOT 1
- Request new Vacuum Mijia Robot Vacuum M30 Pro HOT 2
- Failed to retrieve device HOT 3
- Record details (WARNING) HOT 1
- Entity camera.xiaomi_cloud_map_extractor (<class 'custom_components.xiaomi_cloud_map_extractor.camera.VacuumCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1 HOT 1
- Found an unsupported model 'roborock.vacuum.a38' for class 'RoborockVacuum'
- Request for Xiaomi Vacuum B106 BK / Xiaomi Robot Vacum T12 HOT 3
- Request for support of Xiaomi Robot Vacuum X20+ Robot Cleaner HOT 22
- 404 image HOT 1
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 home-assistant-custom-components-xiaomi-cloud-map-extractor.