home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.04k stars 2.77k forks source link

Tile Card Vacuum is not showing Start/Pause on the UI #14613

Closed MichaelStruck closed 1 year ago

MichaelStruck commented 1 year ago

Checklist

Describe the issue you are experiencing

When adding a vacuum entity to the dashboard, the card shows correctly, however, the start/pause and stop buttons are greyed out. Opening the control, however, the built in controls to start stop are displayed properly: image

image

For clarity, this is a Neato Vacuum.

When using the HACS custom Mushroom card, this works properly: image

Describe the behavior you expected

Using the Mushroom vacuum tile I would think the controls would be usable (which they were).

Steps to reproduce the issue

  1. Add vacuum to the interface. Add vacuum controls
  2. Find that controls are greyed out (disabled).
  3. ...

What version of Home Assistant Core has the issue?

2022.12.0

What was the last working version of Home Assistant Core?

Unknown...feature was introduced in 2022.12.0

In which browser are you experiencing the issue with?

Microsoft Edge

Which operating system are you using to run this browser?

Operating System 9.3

State of relevant entities

battery_level: 99
battery_icon: mdi:battery-charging-100
status: Docked
clean_start: 2022-10-28T16:08:42Z
clean_stop: 2022-10-28T17:07:13Z
clean_area: 59.0672
clean_suspension_count: 0
clean_suspension_time: 0
clean_pause_time: 0
clean_error_time: 0
battery_level_at_clean_start: 98
battery_level_at_clean_end: 23
launched_from: app
icon: mdi:robot-vacuum-variant
friendly_name: Downstairs Vacuum
supported_features: 15964

Problem-relevant frontend configuration

type: tile
entity: vacuum.downstairs_vacuum
features:
  - type: vacuum-commands
    commands:
      - start_pause
      - stop
      - return_home

Javascript errors shown in your browser console/inspector

N/A

Additional information

Neato Vacuum,

Cleared my cache

Tried Incognito Mode

LexNastin commented 1 year ago

Same problem, can anybody help? I tried it on my phone too, I have the first Xiaomi Roborock, which I'm using through the Xiaomi MioT Integration from the HACS store. I can start and stop it using the native Home Assistant controls. Thanks for any help in advance!

MichaelStruck commented 1 year ago

Hey @spacegaier ...it is unclear if this was supposed to be in 2022.12.1, but just loaded that and the isssue still remains. Will it be in a specific release?

spacegaier commented 1 year ago

Hey @spacegaier ...it is unclear if this was supposed to be in 2022.12.1, but just loaded that and the isssue still remains. Will it be in a specific release?

The fix shipped as part of 2022.12.1. Did you force a browser cache refresh?

MichaelStruck commented 1 year ago

Rookie move on my part....you are correct and this is fixed! Thank you for your work on this!