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

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

Open
KoalaMontana opened this issue Aug 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@KoalaMontana
Copy link

KoalaMontana commented Aug 20, 2024

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.

@AlexxIT AlexxIT added the bug Something isn't working label Sep 2, 2024
@AlexxIT AlexxIT self-assigned this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants