DeebotUniverse / Deebot-4-Home-Assistant

Home Assistant integration for deebot vacuums
https://deebot.readthedocs.io/integrations/home-assistant/
GNU General Public License v3.0
179 stars 37 forks source link

Getting Autoempty status after migration #525

Open arifroni opened 4 months ago

arifroni commented 4 months ago

Question

I used to have this sensor to check the status of the auto empty.

  - trigger:
      - platform: event
        event_type: deebot_custom_command
    sensor:
      - name: deebot_auto_empty
        state: "{{ trigger.event.data.response.body.data.enable }}"

It doesn't work anymore. Is there any alternative method to use or am I doing wrong now?

Additional information

No response

edenhaus commented 4 months ago

Please add this functionality directly to the library :) You know which command needs to be sent and what values are expected :)

I'm happy to review your PR :)

MVladislav commented 4 months ago

Is auto empty the functionality which was added here: https://github.com/DeebotUniverse/client.py/pull/349 ? If yes, than the function still exists. It would be only needed to add it into new core ecovacs.