Fix typo in xiaomi_miio cloud_login_error string (#54661)

* fix(xiaomi_miio): Fix typo in cloud_login_error string

* fixup! fix(xiaomi_miio): Fix typo in cloud_login_error string

Restore translation files
This commit is contained in:
Nikolaos Stamatopoulos 2021-08-15 22:56:30 +02:00 committed by GitHub
parent d0cebe911c
commit 61412db119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class ConnectXiaomiGateway:
miio_cloud = MiCloud(self._cloud_username, self._cloud_password) miio_cloud = MiCloud(self._cloud_username, self._cloud_password)
if not miio_cloud.login(): if not miio_cloud.login():
raise ConfigEntryAuthFailed( raise ConfigEntryAuthFailed(
"Could not login to Xioami Miio Cloud, check the credentials" "Could not login to Xiaomi Miio Cloud, check the credentials"
) )
devices_raw = miio_cloud.get_devices(self._cloud_country) devices_raw = miio_cloud.get_devices(self._cloud_country)
self._gateway_device.get_devices_from_dict(devices_raw) self._gateway_device.get_devices_from_dict(devices_raw)

View File

@ -12,7 +12,7 @@
"unknown_device": "The device model is not known, not able to setup the device using config flow.", "unknown_device": "The device model is not known, not able to setup the device using config flow.",
"cloud_no_devices": "No devices found in this Xiaomi Miio cloud account.", "cloud_no_devices": "No devices found in this Xiaomi Miio cloud account.",
"cloud_credentials_incomplete": "Cloud credentials incomplete, please fill in username, password and country", "cloud_credentials_incomplete": "Cloud credentials incomplete, please fill in username, password and country",
"cloud_login_error": "Could not login to Xioami Miio Cloud, check the credentials." "cloud_login_error": "Could not login to Xiaomi Miio Cloud, check the credentials."
}, },
"flow_title": "{name}", "flow_title": "{name}",
"step": { "step": {