44 lines
1.1 KiB
YAML
Executable File
44 lines
1.1 KiB
YAML
Executable File
---
|
|
camera:
|
|
- platform: xiaomi_cloud_map_extractor
|
|
host: !secret xiaomi_vacuum_host
|
|
token: !secret xiaomi_vacuum_token
|
|
username: !secret xiaomi_cloud_username
|
|
password: !secret xiaomi_cloud_password
|
|
draw: ["all"]
|
|
attributes:
|
|
- calibration_points
|
|
- rooms
|
|
- map_name
|
|
- no_go_areas
|
|
- no_mopping_areas
|
|
room_colors:
|
|
16: [240, 178, 122]
|
|
17: [133, 193, 233]
|
|
18: [217, 136, 128]
|
|
|
|
- platform: xiaomi_cloud_map_extractor
|
|
host: !secret xiaomi_vacuum_host
|
|
token: !secret xiaomi_vacuum_token
|
|
username: !secret xiaomi_cloud_username
|
|
password: !secret xiaomi_cloud_password
|
|
draw: ["all"]
|
|
attributes:
|
|
- calibration_points
|
|
- rooms
|
|
- map_name
|
|
- no_go_areas
|
|
- no_mopping_areas
|
|
room_colors:
|
|
16: [240, 178, 122]
|
|
17: [133, 193, 233]
|
|
18: [217, 136, 128]
|
|
|
|
# sensor:
|
|
# - platform: rest
|
|
# name: roborock_rooms
|
|
# resource: http://homeassistant.local:8123/local/roborooms.json
|
|
# value_template: "{{ now() }}"
|
|
# json_attributes:
|
|
# - rooms
|