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

Zoom out not working in chrome/brave #438

Open
3 tasks done
idogrf opened this issue Jul 18, 2022 · 8 comments
Open
3 tasks done

Zoom out not working in chrome/brave #438

idogrf opened this issue Jul 18, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@idogrf
Copy link

idogrf commented Jul 18, 2022

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

This is a really minor issue

Zooming out of the map using the mouse scroll wheel doesn't work.
I've tried using chrome and brave, both on latest version and it doesn't zoom out.
Zoom in does work... weird

Tried the same on edge browser and it does work.

What version of a card has described problem?

v2.0.11

What was the last working version card?

No response

What vacuum model do you have problems with?

xiaomi mi robot (1st gen)

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

https://www.home-assistant.io/integrations/xiaomi_miio

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

Chrome/Brave

What version of Home Assistant do you use?

docker

What type of installation are you running?

Home Assistant Container

Card's configuration

type: custom:xiaomi-vacuum-map-card
entity: vacuum.xiaomi_vacuum_cleaner
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
map_modes:
  - template: vacuum_clean_zone_predefined
    predefined_selections:
      - zones: input_text.zone_kitchen
      - zones: input_text.zone_dinning_room
      - zones: input_text.zone_living_room
      - zones: input_text.zone_office
      - zones: input_text.zone_bedroom
      - zones: input_text.zone_hall
      - zones: input_text.zone_toilet
  - template: vacuum_clean_zone
  - template: vacuum_goto

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

No response

Additional information

No response

@idogrf idogrf added the bug Something isn't working label Jul 18, 2022
@PiotrMachowski
Copy link
Owner

PiotrMachowski commented Jul 18, 2022

O.o Is there anything in browser's console?

Can you try if it is still broken in incognito mode?

@idogrf
Copy link
Author

idogrf commented Jul 18, 2022

Don't see anything out of the ordinary in the console or the logs
Same behavior in incognito

Tried switching to a different mouse to see if it's something with Logitech's control software, same behavior

Also tried opening on another laptop, and it seems to be working as expected there
So I'm guessing the problem is local on the laptop I'm using... very weird

In any case, this isn't worth a lot of investigating, especially since it seems to only affect my local environment

@PiotrMachowski
Copy link
Owner

Do you have it wrapped inside a different card, or it's directly in a dashboard? Which version of Chrome do you have?

@idogrf
Copy link
Author

idogrf commented Jul 18, 2022

no, it's not wrapped, it's directly on the dashboard -

  - title: Vacuum
    path: vacuum
    icon: mdi:broom
    badges: []
    cards:
      - type: custom:xiaomi-vacuum-map-card
        entity: vacuum.xiaomi_vacuum_cleaner
        map_source:
          camera: camera.xiaomi_cloud_map_extractor
        calibration_source:
          camera: true
        map_modes:
          - template: vacuum_clean_zone_predefined
            predefined_selections:
              - zones: input_text.zone_kitchen
              - zones: input_text.zone_dinning_room
              - zones: input_text.zone_living_room
              - zones: input_text.zone_office
              - zones: input_text.zone_bedroom
              - zones: input_text.zone_hall
              - zones: input_text.zone_toilet
          - template: vacuum_clean_zone
          - template: vacuum_goto
      - type: entities
        entities:
          - entity: input_boolean.vacuum_full
          - entity: input_number.vacuum_days_since_full_clean
            name: Days since full clean
          - entity: input_number.vacuum_days_since_office_clean
            name: Days since office clean
      - type: grid
        cards:
          - show_name: true
            show_icon: true
            type: button
            tap_action:
              action: call-service
              service: pyscript.vacuum_map_house
              service_data: {}
              target: {}
            icon: mdi:warehouse
            show_state: false
            name: Map House

chrome version - 103.0.5060.114

@PiotrMachowski
Copy link
Owner

Do +/-/reset buttons still work?

@idogrf
Copy link
Author

idogrf commented Jul 18, 2022

yes

@PiotrMachowski
Copy link
Owner

Does the problem still exist in v2.2.0?

@idogrf
Copy link
Author

idogrf commented Jun 3, 2023

yea, still have the same issue

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