Ekman / home-assistant-pure-i9

Electrolux Pure i9 robot vacuum integration for Home Assistant.
MIT License
25 stars 5 forks source link

Add send_command functionality to allow cleaning specific zones only #56

Closed Phype closed 8 months ago

Phype commented 9 months ago

This allows to send the robot to specific zones, if they have been created in the electrolux app. See #50

Test in home assistant via service call:

service: vacuum.send_command
data:
  command: clean_zones
  params:
    map: <name of the map of your apartment>
    zones:
      - <name of the zone you created in the electrolux app>
target:
  entity_id: vacuum.<your vacuum entity name>

@Ekman I'm unsure about code quality considerations, maybe you can have a look.

Ekman commented 9 months ago

Hi! I appreciate the PR. I'll look into it this weekend.

mhitkax commented 8 months ago

@Ekman @Phype I tested this with my Pure i9.2 and works like a charm, exactly what I needed, thanks to both of you. Any help needed to get this merged?

Ekman commented 8 months ago

Thanks for the contribution @Phype. Merging and will create a new version shortly.