Advertisement
dykandDK

HA - YAML - Vacuum Automation Requirements

Jan 9th, 2021
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.05 KB | None | 0 0
  1. ################################################################################
  2. # The following are the requriements for using my Node-RED automation for
  3. # control of a Roborock vacuum cleaner integrated in Home Assistant.
  4. #
  5. # Link to Node-RED automation: https://pastebin.com/raw/EqH7yXFy
  6. ################################################################################
  7.  
  8. ################################################################################
  9. # Sections below should be added to configuration.yaml file
  10. ################################################################################
  11.  
  12. #───────────────────────────────────────────────────────────────────────────────
  13. # Enable IOS Actionable Notifications
  14. #───────────────────────────────────────────────────────────────────────────────
  15. ios:
  16.   push:
  17.     categories: !include ios_push_categories.yaml
  18.  
  19. #───────────────────────────────────────────────────────────────────────────────
  20. # Input booleans used for room selection for vaccum cleaner
  21. #
  22. # NOTE: The digits in the names must corresond to the room numbers in the
  23. #        Mi Home app.
  24. #
  25. #        See link below for instructions on how to find the room numbers:
  26. #
  27. #         https://community.home-assistant.io/t/xiaomi-vacuum-s1-s60-t60-s61-t61-room-cleaning-by-room-name/122315/63
  28. #
  29. #───────────────────────────────────────────────────────────────────────────────
  30. input_boolean:
  31.   clean_room_01:
  32.     name: Gæstetoilet
  33.     icon: mdi:paper-roll
  34.   clean_room_16:
  35.     name: Kontor
  36.     icon: mdi:laptop
  37.   clean_room_17:
  38.     name: Køkken/alrum
  39.     icon: mdi:silverware-fork-knife
  40.   clean_room_19:
  41.     name: Børneværelse 1
  42.     icon: mdi:unicorn-variant
  43.   clean_room_20:
  44.     name: Soveværelse
  45.     icon: mdi:sleep
  46.   clean_room_21:
  47.     name: Stort badeværelse
  48.     icon: mdi:shower
  49.   clean_room_22:
  50.     name: Gang
  51.     icon: mdi:hanger
  52.   clean_room_23:
  53.     name: Børneværelse 2
  54.     icon: mdi:crown
  55.   clean_room_24:
  56.     name: Bryggers
  57.     icon: mdi:tumble-dryer
  58.   clean_room_26:
  59.     name: Stue
  60.     icon: mdi:sofa
  61.  
  62. ################################################################################
  63. # Sections below should be added to the ios_push_categories.yaml file
  64. ################################################################################
  65.  
  66. #───────────────────────────────────────────────────────────────────────────────
  67. # Ask to start full vacuum clean or room clean when away
  68. #───────────────────────────────────────────────────────────────────────────────
  69. - name: Vacuum_Notification
  70.   identifier: "vacuum_notification"
  71.   actions:
  72.     - identifier: "VACUUM_FULL_CLEAN"
  73.       title: "Ja, tak"
  74.       activationMode: "background"
  75.       authenticationRequired: no
  76.       destructive: no
  77.     - identifier: "VACUUM_ROOM_CLEAN"
  78.       title: "Kun i valgte rum"
  79.       activationMode: "background"
  80.       authenticationRequired: no
  81.       destructive: no
  82.     - identifier: "VACUUM_POSTPONE"
  83.       title: "Udsæt til i morgen"
  84.       activationMode: "background"
  85.       authenticationRequired: no
  86.       destructive: no
  87.     - identifier: "VACUUM_ASK_LATER"
  88.       title: "Spørg mig igen lidt senere"
  89.       activationMode: "background"
  90.       authenticationRequired: no
  91.       destructive: no
  92.  
  93. #───────────────────────────────────────────────────────────────────────────────
  94. # Ask to empty vacuum
  95. #───────────────────────────────────────────────────────────────────────────────
  96. - name: Vacuum_Empty_Notification
  97.   identifier: "vacuum_empty_notification"
  98.   actions:
  99.     - identifier: "VACUUM_EMPTY_YES"
  100.       title: "Ja, lad os gøre det!"
  101.       activationMode: "background"
  102.       authenticationRequired: no
  103.       destructive: no
  104.     - identifier: "VACUUM_EMPTY_ASK_LATER"
  105.       title: "Spørg mig igen lidt senere"
  106.       activationMode: "background"
  107.       authenticationRequired: no
  108.       destructive: no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement