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

Dropdown menu problem with State-switch #665

Open
3 tasks done
NanouMu opened this issue Oct 10, 2023 · 0 comments
Open
3 tasks done

Dropdown menu problem with State-switch #665

NanouMu opened this issue Oct 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@NanouMu
Copy link

NanouMu commented Oct 10, 2023

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

Hi,
I use the Vacuum Map Card inside a state-switch card from thomasloven
Inside a state-switch card, all dropdown menus of the map card are offset. (no problem without state-switch)
screenshot
The offset is proportional to viewport. (larger is the viewport, bigger is the offset)

Thank you for this great card

What version of a card has described problem?

v2.2.2

What was the last working version card?

No response

What vacuum model do you have problems with?

vacuum.roborock_s8_pro_ultra

Which integration do you use to control your vacuum (link)?

https://github.com/humbertogontijo/homeassistant-roborock

What browser (browsers/apps) does have this problem?

Chrome

What version of Home Assistant do you use?

2023.10.1

What type of installation are you running?

Home Assistant OS

Card's configuration

type: custom:state-switch
entity: hash
default: vacuum
transition: slide-left
transition_time: 300
states:
  vacuum:
    type: custom:xiaomi-vacuum-map-card
    map_source:
      camera: camera.roborock_s8_pro_ultra_map
    calibration_source:
      camera: true
    entity: vacuum.roborock_s8_pro_ultra
    vacuum_platform: default

Javascript errors shown in the browser's console (if applicable)

No response

Additional information

No response

@NanouMu NanouMu added the bug Something isn't working label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants