Skip to content

Commit

Permalink
add additional dreame L20-Ultra options
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjaeger committed Jun 24, 2024
1 parent 0a30a1f commit 73fc2bf
Showing 1 changed file with 126 additions and 0 deletions.
126 changes: 126 additions & 0 deletions src/model/generators/platform_templates/Tasshack_dreame-vacuum.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,90 @@
"label": "tile.total_cleaned_area.label",
"icon": "mdi:set-square",
"unit": "unit.meter_squared_shortcut"
},
{
"tile_id": "cleaning_mode",
"attribute": "cleaning_mode",
"label": "tile.cleaning_mode.label",
"icon": "mdi:vacuum",
"translation_keys": [
"sweeping",
"mopping",
"sweeping and mopping",
"mopping after sweeping"
]
},
{
"tile_id": "suction_level",
"attribute": "suction_level",
"label": "tile.suction_level.label",
"icon": "mdi:mdi:fan",
"translation_keys": [
"quiet",
"standard",
"strong",
"turbo"
]
},
{
"tile_id": "tight_mopping",
"attribute": "tight_mopping",
"label": "tile.tight_mopping.label",
"icon": "mdi:heating-coil",
"translation_keys": [
"true",
"false"
]
},
{
"tile_id": "wetness_level",
"attribute": "wetness_level",
"label": "tile.wetness_level.label",
"icon": "mdi:water-opacity"
},
{
"tile_id": "mop_wash_level",
"attribute": "mop_wash_level",
"label": "tile.mop_wash_level.label",
"icon": "mdi:water-opacity",
"translation_keys": [
"deep",
"daily",
"water saving"
]
},
{
"tile_id": "auto_empty_mode",
"attribute": "auto_empty_mode",
"label": "tile.auto_empty_mode.label",
"icon": "mdi:delete-empty-outline",
"translation_keys": [
"off",
"standard",
"high frequency",
"low frequency"
]
},
{
"tile_id": "cleaning_route",
"attribute": "cleaning_route",
"label": "tile.cleaning_route.label",
"icon": "mdi:routes",
"translation_keys": [
"quick",
"standard"
]
},
{
"tile_id": "cleangenius",
"attribute": "cleangenius",
"label": "tile.cleangenius.label",
"icon": "mdi:auto-mode",
"translation_keys": [
"off",
"routine cleaning",
"deep cleaning"
]
}
]
},
Expand Down Expand Up @@ -234,6 +318,48 @@
"entity_id": "[[entity_id]]"
}
}
},
{
"type": "menu",
"menu_id": "suction_level",
"icon_id": "suction_level",
"unique_id_regex": "suction_level",
"available_values_attribute": "options",
"icon": "mdi:water-off",
"icon_mapping": {
"quiet": "mdi:fan-speed-1",
"standard": "mdi:fan-speed-2",
"strong": "mdi:fan-speed-3",
"turbo": "mdi:weather-windy"
},
"tap_action": {
"action": "call-service",
"service": "select.select_option",
"service_data": {
"option": "[[value]]",
"entity_id": "[[entity_id]]"
}
}
},
{
"type": "menu",
"menu_id": "cleaning_mode",
"icon_id": "cleaning_mode",
"unique_id_regex": "cleaning_mode",
"available_values_attribute": "options",
"icon": "mdi:hydro-power",
"icon_mapping": {
"sweeping": "mdi:broom",
"mopping": "mdi:cup-water"
},
"tap_action": {
"action": "call-service",
"service": "select.select_option",
"service_data": {
"option": "[[value]]",
"entity_id": "[[entity_id]]"
}
}
}
]
}

0 comments on commit 73fc2bf

Please sign in to comment.