Skip to content

feat(multi_lang): add English and Swedish translations for viomi.vacuum.v18#1747

Open
Johan-Claesson wants to merge 1 commit into
XiaoMi:mainfrom
Johan-Claesson:feat/multi-lang-viomi-vacuum-v18
Open

feat(multi_lang): add English and Swedish translations for viomi.vacuum.v18#1747
Johan-Claesson wants to merge 1 commit into
XiaoMi:mainfrom
Johan-Claesson:feat/multi-lang-viomi-vacuum-v18

Conversation

@Johan-Claesson

Copy link
Copy Markdown

Summary

Adds full English (en) and Swedish (sv) translations in multi_lang.json
for the Viomi S9 robot vacuum (viomi.vacuum.v18).

Previously three vendor-specific services were displayed with their original
Chinese names in Home Assistant:

  • 扫地机Robot Cleaner / Robotdammsugare
  • 地图相关Map / Karta
  • 声音相关Voice / Röst

Value-list values (status, fault, mode, etc.) were also shown as raw integers
instead of readable text.

Changes

  • New entry urn:miot-spec-v2:device:vacuum:0000A006:viomi-v18 in
    custom_components/xiaomi_home/miot/specs/multi_lang.json
  • Covers 7 services, ~80 properties, ~25 actions, 5 events
  • Full value-list translations for: status, fault, sweep-type,
    wdr-mode, door-state, mop-state, suction-grade, water-grade,
    mop-route, direction, clean-mode, clean-way, and more
  • Result: enum sensors like Status and Error now render human-readable
    text (e.g. Charging, Dust Bin Full, Please Empty) instead of raw integers

Note on sv (Swedish)

Swedish is currently not in the integration's UI language list. The sv
block is included preemptively — happy to move it to a separate PR or drop
it if maintainers prefer. Please let me know your preference!

Verification

Tested locally on Home Assistant Core with a physical Viomi S9
(firmware 1.6.5_2254). Entities now render with human-readable names and
enum sensors display text values in the Home Assistant UI.

CLA

I have read and agree to the CLA.

…um.v18

Signed-off-by: Johan Claesson <81742448+Johan-Claesson@users.noreply.github.com>
@CLAassistant

CLAassistant commented Jul 4, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants