benct / lovelace-xiaomi-vacuum-card

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

Ecovacs Deebot - State is stored in a different way #96

Closed illuzn closed 9 months ago

illuzn commented 2 years ago

I have an Ecovacs Deebot Ozmo 920.

This device stores is current state directly in the state of vacuum.vacuum name e.g.

image

I'm a complete noob so I am probably missing something but I'm not sure how to configure this card so this works.

benct commented 2 years ago

Does your vacuum entity have any attributes? (see <your-ha-url>/developer-tools/state) Have you enabled sensors from the vacuum integration? (check entities under the integration on /config/integrations) Check that you have followed the HA docs for your specific vacuum integration, etc.

SmartHomeNewbie commented 2 years ago

Hello, i seem to be having the same issue. The vaccum entity does not have brush, filter and sensors attributes, they have their own entity. "sensor.robotski_life_span_brush" is my main brush. vacuum

EDIT: let me add that i have an Ecovacs Deebot T8 Aivi

alberanid commented 2 years ago

can confirm for an Ecovacs OZMO 920: Screenshot from 2022-05-15 18-27-59

On the development page:

State: cleaning (while running)

State attributes:

fan_speed_list:
  - quiet
  - normal
  - max
  - max+
battery_level: 67
battery_icon: mdi:battery-70
fan_speed: max
rooms:
  laundry: 0
  lounge: 1
  bedroom: 2
  bathroom: 3
  study: 10
last_error: 'NoError: Robot is operational (0)'
friendly_name: vacuum
supported_features: 15228

All sensors are enabled.

I'm using this integration: https://github.com/DeebotUniverse/Deebot-4-Home-Assistant

My card configuration:

type: custom:xiaomi-vacuum-card
entity: vacuum.my_vacuum
vendor: ecovacs
attributes:
  main_brush: false
  side_brush: false
  filter: false
  sensor: false
buttons:
  spot: false
loryanstrant commented 1 year ago

It would be good if for the key values we could supply other sensors. I thought of trying to create my own sensor and adding the other sensors attributes, but I figured that would just create other problems. It's a shame, I really wanted to use this card.