VacuumZones icon indicating copy to clipboard operation
VacuumZones copied to clipboard

Failed to perform action vacuum/start. 'dict' object has no attribute 'actions'

Open KoalaMontana opened this issue 1 year ago • 1 comments

Hello! I have the following problem "Failed to perform action vacuum/start. 'dict' object has no attribute 'actions'" when trying to start cleaning in any zone. Apparently I missed something in the configuration. My config:

vacuum_zones:
  entity_id: vacuum.viomi_v38_150f_robot_cleaner
  zones:
    Спальня: 
      sequence:
      - service: xiaomi_miot.call_action
        data:
            entity_id: vacuum.viomi_v38_150f_robot_cleaner 
            siid: 18
            aiid: 1
            params:
                - piid: 1
                  value: 19
                - piid: 21
                  value: '{"selects":[[1,1,1,1]]}'
            force_params: true  
    Кухня:
      sequence:
      - service: xiaomi_miot.call_action
        data:
            entity_id: vacuum.viomi_v38_150f_robot_cleaner 
            siid: 18
            aiid: 1
            params:
                - piid: 1
                  value: 19
                - piid: 21
                  value: '{"selects":[[3,1,1,1]]}'
            force_params: true
    Прихожая:
      sequence:
      - service: xiaomi_miot.call_action
        data:
            entity_id: vacuum.viomi_v38_150f_robot_cleaner 
            siid: 18
            aiid: 1
            params:
                - piid: 1
                  value: 19
                - piid: 21
                  value: '{"selects":[[4,1,3,1]]}'
            force_params: true
    Санузел:
      sequence:
      - service: xiaomi_miot.call_action
        data:
            entity_id: vacuum.viomi_v38_150f_robot_cleaner 
            siid: 18
            aiid: 1
            params:
                - piid: 1
                  value: 19
                - piid: 21
                  value: '{"selects":[[2,1,1,2]]}'
            force_params: true
    Дом:  
      sequence: 
      - service: persistent_notification.create
        data:
          message: Начало уборки везде
      sequence:
      - service: xiaomi_miot.call_action
        data:
            entity_id: vacuum.viomi_v38_150f_robot_cleaner 
            siid: 18
            aiid: 1
            params:
                - piid: 1
                  value: 19
                - piid: 21
                  value: '{"selects":[[1,1,1,1],[3,1,1,1],[4,1,3,1],[2,1,1,2]]}'
            force_params: true

I took siid, aiid, piid from Map Extractor, from the card everything works correctly and cleaning is started by zones/rooms.

KoalaMontana avatar Aug 20 '24 09:08 KoalaMontana

I'm not sure if this is related to this integration. Try to run same from developer tools first.

AlexxIT avatar Dec 07 '24 14:12 AlexxIT