Open X1pheR opened 1 year ago
This would be awesome, although it seems the repo is abandoned :(
So sad when such cool devices don't have proper support from HA, since the official integration developers also doesn't seem to bother with those scenarios: https://github.com/home-assistant/core/issues/27268#issuecomment-921155610
However, now that I'm paying more attention to your post... I do have consumables statistics. I'm using a heavily configured
custom:vacuum-card
, check below the full config (sorry for the portuguese names! haha)custom:vacuum-card
type: custom:vacuum-card image: /local/photos/vacuum/r2d2-icon.png map: camera.mapa_do_aspirador compact_view: false show_name: false stats: default: - attribute: main_brush_left subtitle: Escovão unit: '%' value_template: '{{ (value/360*100) | round }}' - attribute: side_brush_left unit: '%' value_template: '{{ (value/180*100) | round }}' subtitle: Escovinha - attribute: mop_left unit: '%' value_template: '{{ (value/180*100) | round }}' subtitle: Pano - attribute: filter_left unit: '%' value_template: '{{ (value/180*100) | round }}' subtitle: Filtro - subtitle: Pano? attribute: mop_attached value_template: '{{ "Com" if (value) else "N" }}' cleaning: - attribute: cleaned_area unit: m² subtitle: Área limpa - attribute: cleaning_time unit: min subtitle: Tempo limpando shortcuts: - name: Tudo icon: mdi:home-circle service: script.aspirar_tudo - name: Áreas principais (sala/cozinha/escritório/varanda) icon: mdi:rug service: script.aspirar_criticos - name: Sala + Jantar service: script.aspirar_sala_toda icon: mdi:sofa - name: Escritório icon: mdi:chair-rolling service: script.aspirar_escritorio - name: Quarto icon: mdi:bed-empty service: script.aspirar_quarto show_toolbar: true show_status: true entity: vacuum.r2d2
I have the global (china) version of the Mi Robot Vacuum-Mop P. On the back it says the model is STYTJ02YM and in the Xiaomi Home app it displays as viomi.vacuum.v7. Firmware is 3.5.3_0047.
With another forked repo which doesn't work (anymore) I had a lot more attributes. Could these be added? Especially the consumables (for support in the lovelace vacuum card) and box_type (for automations notifying of emptying container) are of interest. https://github.com/l-j/home-assistant-vacuum-styj02ym
The full list of attributes I got with the other repo: