Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem adding the map to my floor-plan #144

Open
johabak opened this issue May 25, 2023 · 1 comment
Open

Problem adding the map to my floor-plan #144

johabak opened this issue May 25, 2023 · 1 comment

Comments

@johabak
Copy link

johabak commented May 25, 2023

I try to add it to the floor-plan by using this config. I get the picture of the floor-plan and the element, but instead of showing the vaccum, there is an error "Entity not available". Any ideas whats wrong?

type: picture-elements
image: /local/floor-plan/myfloorplan.png
elements:

  • type: custom:valetudo-map-card
    entity: camera.<PREFIX_IDENTIFIER>_map_data
    show_floor: false
    background_color: transparent
    min_height: 1.4144w
    map_scale: 3
    crop: null
    top: 0
    bottom: 0
    left: 25
    right: -70
    segment_opacity: 0
    path_color: '#00FF00'
    path_opacity: 0.4
    wall_opacity: 1
    show_no_go_areas: false
    style:
    top: 0%
    left: 35%
@BrianLanghoor
Copy link

A bit late but try replacing "entity: camera.<PREFIX_IDENTIFIER>_map_data" by "vacuum: <PREFIX_IDENTIFIER>"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants