benct / lovelace-xiaomi-vacuum-card

Simple card for various robot vacuums in Home Assistant's Lovelace UI
MIT License
264 stars 37 forks source link

Sensors are unavailable #92

Closed perseus177 closed 2 years ago

perseus177 commented 2 years ago
Software | Version -- | -- Home Assistant | core-2021.12.7 lovelace-xiaomi-vacuum-card | 4.4.0 HACS | 1.18.0

UI Lovelace

      - type: custom:xiaomi-vacuum-card    
        entity: vacuum.xiaomi_vacuum_cleaner
        image: /local/img/vacuum.png
        name: Robo
        vendor: xiaomi

I see buttons but, Sensors are unavailable

image

image

achagaev commented 2 years ago

It sounds similar to previous issue https://github.com/benct/lovelace-xiaomi-vacuum-card/issues/91

Try to check that all your entities mentioned in 'Diagnostic' part are in alignment with name of your device. As example, you should have 'DnD end' like below: sensor.roborock_vacuum_s5_dnd_end

perseus177 commented 2 years ago

Screenshot_20220103-191733_Home Assistant Screenshot_20220103-191717_Home Assistant

perseus177 commented 2 years ago

I change side brush like you wrote, but still it is not working Screenshot_20220103-192244_Home Assistant

achagaev commented 2 years ago

here is working solution on my environment: https://github.com/benct/lovelace-xiaomi-vacuum-card/issues/91#issuecomment-1004204655 don't forget to clean cache before verification.

perseus177 commented 2 years ago

Fixed, thanks Entity should be: sensor.xiaomi_vacuum_cleaner_main_brush_left

perseus177 commented 2 years ago

@achagaev it is working on web-browser but it is not working in mobile application. I tried also reload application and also logout/login. But still it is not working

achagaev commented 2 years ago

check how to clean cache on your mobile app based on your OS and try it

perseus177 commented 2 years ago

@achagaev thanks, it helps How to clear cache: https://community.home-assistant.io/t/does-anyone-know-how-to-flush-android-app-cache-to-avoid-unexpected-frontend-version-in-hacs/281952