Skip to content

Commit

Permalink
lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tinuva committed Dec 12, 2024
1 parent c948ad1 commit 3725623
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/cleaning/dreame_vacuum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

# {# ----------------- PROVIDE YOUR OWN ENTITY ID AND ROOM COUNT HERE ----------------- #}
# {% set vacuum_entity = "vacuum.xiaomi_robot_vacuum_x20" %}
# {# ------------------- DO NOT CHANGE ANYTHING BELOW ------------------- #}
# {# ------------------- DO NOT CHANGE ANYTHING BELOW ------------------- #}
# {%- set vacuum_name = states[vacuum_entity].entity_id.replace('vacuum.', '') %}
# {%- set mop_pad = ('mop_pad_humidity' in states[vacuum_entity].attributes)|bool %}
# {%- set mop_pad = ('mop_pad_humidity' in states[vacuum_entity].attributes)|bool %}
# {% set rooms = namespace(list=[]) %}
# {%- if 'rooms' in states[vacuum_entity].attributes %}
# {%- for map in states[vacuum_entity].attributes.rooms.values() %}
Expand Down
1 change: 1 addition & 0 deletions packages/cleaning/dreame_vacuum_automations.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
automation:
- alias: "Dreame Vacuum: Done Cleaning"
description: "Turn off all helper entities when vacuum is done cleaning"
Expand Down
9 changes: 5 additions & 4 deletions packages/cleaning/dreame_vacuum_helpers.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
input_boolean:
# Andre bedroom
xiaomi_robot_vacuum_x20_mopping_1:
name: Andre Bedroom Mopping
xiaomi_robot_vacuum_x20_vacuuming_1:
name: Andre Bedroom Vacuuming

# Main bedroom
xiaomi_robot_vacuum_x20_mopping_2:
name: Main Bedroom Mopping
Expand All @@ -16,7 +17,7 @@ input_boolean:
name: Amy Bedroom Mopping
xiaomi_robot_vacuum_x20_vacuuming_3:
name: Amy Bedroom Vacuuming

# Hallways
xiaomi_robot_vacuum_x20_mopping_4:
name: Hallway NE Mopping
Expand All @@ -26,7 +27,7 @@ input_boolean:
name: Hallway NW Mopping
xiaomi_robot_vacuum_x20_vacuuming_5:
name: Hallway NW Vacuuming

# Bathrooms
xiaomi_robot_vacuum_x20_mopping_7:
name: Main Bathroom Mopping
Expand All @@ -40,7 +41,7 @@ input_boolean:
name: Braai Bathroom Mopping
xiaomi_robot_vacuum_x20_vacuuming_16:
name: Braai Bathroom Vacuuming

# Living areas
xiaomi_robot_vacuum_x20_mopping_11:
name: Kitchen Mopping
Expand Down

0 comments on commit 3725623

Please sign in to comment.