Newer
Older
homeassistant_config / camera / vacuum.yaml
@Rolf Bagge Rolf Bagge on 14 Dec 2022 808 bytes Updates
- platform: xiaomi_cloud_map_extractor
  host: 10.0.1.103
  token: !secret xiao_ming_token
  username: !secret xiaomi_user
  password: !secret xiaomi_password
  country: de
  draw: ["all"]
  scan_interval: 10
  colors:
    color_map_outside: [19, 87, 148]
    color_grey_wall: [19, 87, 148]
  room_colors:
    #Outside rooms:26,1,19
    1: [19, 87, 148]
    19: [19, 87, 148]
    26: [19, 87, 148]
    #Room numbers: 18,23,22,20,16,24,25,21,17
    18: [240, 178, 122]
    23: [133, 193, 233]
    22: [217, 136, 128]
    20: [52, 152, 219]
    16: [205, 97, 85]
    24: [243, 156, 18]
    25: [88, 214, 141]
    21: [245, 176, 65]
    17: [252, 212, 81]
  map_transformation:
    trim:
      top: 20
      bottom: 22
      left: 15
      right: 17
  attributes:
    - calibration_points
    - vacuum_position