Advertisement
314ma

vacuum.baba

Apr 24th, 2025
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.81 KB | None | 0 0
  1. type: custom:xiaomi-vacuum-map-card
  2. map_source:
  3.   camera: camera.xiaomi_cloud_map_extractor
  4. calibration_source:
  5.   camera: true
  6. entity: vacuum.baba
  7. vacuum_platform: tykarol/viomi-vacuum-v8
  8. map_modes:
  9.   - template: vacuum_clean_segment
  10.     predefined_selections:
  11.       - id: "10"
  12.         icon:
  13.           name: mdi:toy-brick
  14.           x: 0.75
  15.           "y": 2.2
  16.         label:
  17.           text: Pokój dzieci
  18.           x: 0.75
  19.           "y": 2.2
  20.           offset_y: 30
  21.         outline:
  22.          - - 2.9
  23.             - 0.55
  24.           - - 2.9
  25.             - 3.8
  26.           - - -1.3
  27.             - 3.8
  28.           - - -1.3
  29.             - 0.8
  30.           - - 1.8
  31.             - 0.8
  32.           - - 2.9
  33.             - 0.55
  34.       - id: "11"
  35.         icon:
  36.           name: mdi:shower
  37.           x: 3.6500000000000004
  38.           "y": 2.35
  39.         label:
  40.           text: Łazienka
  41.           x: 3.6500000000000004
  42.           "y": 2.35
  43.           offset_y: 30
  44.         outline:
  45.          - - 2.9
  46.             - 1.45
  47.           - - 3.85
  48.             - 1.45
  49.           - - 3.85
  50.             - 1.65
  51.           - - 4.45
  52.             - 1.65
  53.           - - 4.45
  54.             - 3.1
  55.           - - 2.9
  56.             - 3.1
  57.           - - 2.9
  58.             - 1.45
  59.       - id: "12"
  60.         icon:
  61.           name: mdi:bed
  62.           x: 7.774999999999999
  63.           "y": 2.125
  64.         label:
  65.           text: Sypialnia
  66.           x: 7.774999999999999
  67.           "y": 2.125
  68.           offset_y: 30
  69.         outline:
  70.          - - 5.7
  71.             - 0.6
  72.           - - 7
  73.             - 0.6
  74.           - - 7
  75.             - 0.85
  76.           - - 9.45
  77.             - 0.85
  78.           - - 9.45
  79.             - 3.25
  80.           - - 7.1
  81.             - 3.25
  82.           - - 6.45
  83.             - 3.25
  84.           - - 6.45
  85.             - 1.8
  86.           - - 5.8
  87.             - 1.8
  88.           - - 5.8
  89.             - 1.35
  90.           - - 5.7
  91.             - 1.35
  92.           - - 5.7
  93.             - 0.6
  94.       - id: "13"
  95.         icon:
  96.           name: mdi:exit-run
  97.           x: 4.25
  98.           "y": 1.1
  99.         label:
  100.           text: Przedpokój 2
  101.           x: 4.25
  102.           "y": 1.1
  103.           offset_y: 30
  104.         outline:
  105.          - - 5.6
  106.             - 0.4
  107.           - - 5.6
  108.             - 0.6
  109.           - - 5.7
  110.             - 0.6
  111.           - - 5.7
  112.             - 1.35
  113.           - - 5.55
  114.             - 1.35
  115.           - - 5.55
  116.             - 1.45
  117.           - - 2.9
  118.             - 1.45
  119.           - - 2.9
  120.             - 0.4
  121.           - - 5.6
  122.             - 0.4
  123.       - id: "14"
  124.         icon:
  125.           name: mdi:pot-steam
  126.           x: 6.275
  127.           "y": -3.1500000000000004
  128.         label:
  129.           text: Kuchnia
  130.           x: 6.275
  131.           "y": -3.1500000000000004
  132.           offset_y: 30
  133.         outline:
  134.          - - 4.85
  135.             - -2.5
  136.           - - 4.85
  137.             - -4.2
  138.           - - 5.15
  139.             - -4.2
  140.           - - 5.15
  141.             - -4.35
  142.           - - 7.75
  143.             - -4.35
  144.           - - 7.75
  145.             - -1.9
  146.           - - 6.1
  147.             - -1.9
  148.           - - 6.1
  149.             - -2.2
  150.           - - 5.8
  151.             - -2.2
  152.           - - 5.8
  153.             - -2.65
  154.           - - 5.65
  155.             - -2.65
  156.           - - 5.65
  157.             - -2.5
  158.           - - 4.85
  159.             - -2.5
  160.       - id: "15"
  161.         icon:
  162.           name: mdi:exit-run
  163.           x: 5.925
  164.           "y": -1.025
  165.         label:
  166.           text: Przedpokój 1
  167.           x: 5.925
  168.           "y": -1.025
  169.           offset_y: 30
  170.         outline:
  171.          - - 3.9
  172.             - -1.65
  173.           - - 3.9
  174.             - -2.4
  175.           - - 4.85
  176.             - -2.4
  177.           - - 4.85
  178.             - -2.5
  179.           - - 5.65
  180.             - -2.5
  181.           - - 5.65
  182.             - -1.75
  183.           - - 7.35
  184.             - -1.75
  185.           - - 7.35
  186.             - -1
  187.           - - 7.7
  188.             - -1
  189.           - - 7.7
  190.             - -0.2
  191.           - - 5.6
  192.             - -0.2
  193.           - - 5.6
  194.             - 0.4
  195.           - - 4.75
  196.             - 0.4
  197.           - - 4.75
  198.             - -1.4
  199.           - - 4.15
  200.             - -1.4
  201.           - - 4.15
  202.             - -1.65
  203.           - - 3.9
  204.             - -1.65
  205.       - id: "16"
  206.         icon:
  207.           name: mdi:sofa
  208.           x: 1.8499999999999999
  209.           "y": -2.225
  210.         label:
  211.           text: Salon
  212.           x: 1.8499999999999999
  213.           "y": -2.225
  214.           offset_y: 30
  215.         outline:
  216.          - - -0.2
  217.             - 0
  218.           - - -0.2
  219.             - -4.2
  220.           - - 2.6
  221.             - -4.2
  222.           - - 2.6
  223.             - -3.3
  224.           - - 3.9
  225.             - -3.3
  226.           - - 3.9
  227.             - -0.3
  228.           - - 0.2
  229.             - -0.3
  230.           - - 0.2
  231.             - 0
  232.           - - -0.2
  233.             - 0
  234.   - template: vacuum_clean_point
  235.   - template: vacuum_clean_zone
  236. map_locked: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement