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

Attributes on Valetudo 2021.03.0 #72

Open
micdis opened this issue Mar 31, 2021 · 7 comments
Open

Attributes on Valetudo 2021.03.0 #72

micdis opened this issue Mar 31, 2021 · 7 comments
Labels
question Further information is requested

Comments

@micdis
Copy link

micdis commented Mar 31, 2021

Hi!
since I updated my Valetudos to 2021.03.0 I don't see the attributes anymore.
They come over MQTT (sensor.main_brush), but in the Lovelace Card I only see N/A

Am I doing something wrong?

entity: vacuum.rockrobo
type: 'custom:xiaomi-vacuum-card'
vendor: valetudo
name: false
attributes:
  main_brush:
    key: sensor.main_brush
@Dinth
Copy link

Dinth commented Apr 20, 2021

Same issue here. Before Valetudo was posting brushes status as attributes to vacuum.* entity, now it posts that data as separate entities and i cannot get them to show in the card

@dckiller51
Copy link

Hello,
You can put the valutedo re. no problem with.
https://github.com/rand256/valetudo

@cnopix
Copy link

cnopix commented Jun 9, 2021

Hello,

i have the same error :(

how can i resolve without change to valetudo RE ?

Cnopix.

@matejzero
Copy link

This seems to be changed in Valetudo 2021.04.0 with the rework of MQTT to better support Homie integration.

Is there any chance to add support to read state from custom sensor and not only attributes?

@benct
Copy link
Owner

benct commented Nov 7, 2021

Support for default sensor data has been added to version 4.4.0, but only tested for xiaomi vacuums. Let me know if it works for you or not.

@benct benct added the question Further information is requested label Nov 7, 2021
@cnopix
Copy link

cnopix commented Nov 8, 2021

@benct
For me it doesn't work :'(

i need to change something ?

@gervaso
Copy link

gervaso commented Nov 20, 2021

Hi,
it works, you just need to rename the keys in the following way.

type: custom:xiaomi-vacuum-card
entity: vacuum.cinesino
vendor: valetudo
attributes:
  main_brush:
    key: main_brush
    unit: ' m'
  side_brush:
    key: right_brush
    unit: ' m'
  filter:
    key: main_filter
    unit: ' m'
  sensor:
    key: sensor_cleaning
    unit: ' m'

My sensors are named "sensor.cinesino_main_brush", "sensor.cinesino_right_brush" and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants