PiotrMachowski / Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor

This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.
MIT License
1.13k stars 122 forks source link

Platform error #473

Closed Sakynet closed 10 months ago

Sakynet commented 10 months ago

Checklist

The problem

Hi,

I am trying to set up Roborock S50 to HA, and I am getting this error:

"Configuration invalid! Platform error camera.xiaomi_cloud_map_extractor - Integration 'xiaomi_cloud_map_extractor' not found."

In the configuration file, I input the data needed:

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

(with correct info in secret.yaml)

Please, help me to understand what i wrong in my configuration.

Thank you for your development.

What version of an integration has described problem?

v2.2.1

What was the last working version of an integration?

No response

What vacuum model do you have problems with?

roborock.vacuum.s5

What version of Home Assistant do you use?

Supervisor 2023.10.0

What type of installation are you running?

Home Assistant Supervised

Camera's configuration

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

Errors shown in the HA logs (if applicable)

Platform error camera.xiaomi_cloud_map_extractor - Integration 'xiaomi_cloud_map_extractor' not found.

Additional information

No response

PiotrMachowski commented 10 months ago

It looks like you haven't installed the integration, try reinstalling it and checking again

Sakynet commented 10 months ago

My bed. I skiiped a step: If you have a problem with configuration validation you have to remove camera from configuration.yaml, restart Home Assistant, add camera config and restart HA again.

Thank you for your help