Use reference strings in Tuya (#41236)
This commit is contained in:
1 parent
d6fff02b11
commit
cf5c99d2a9
3 files changed
+9
-9
No files matched your search
@@ -22,8 +22,8 @@ DATA_SCHEMA_USER = vol.Schema(
|
||||
}
|
||||
)
|
||||
|
||||
RESULT_AUTH_FAILED = "auth_failed"
|
||||
RESULT_CONN_ERROR = "conn_error"
|
||||
RESULT_AUTH_FAILED = "invalid_auth"
|
||||
RESULT_CONN_ERROR = "cannot_connect"
|
||||
RESULT_SUCCESS = "success"
|
||||
|
||||
RESULT_LOG_MESSAGE = {
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
}
|
||||
},
|
||||
"abort": {
|
||||
"auth_failed": "[%key:common::config_flow::error::invalid_auth%]",
|
||||
"conn_error": "[%key:common::config_flow::error::cannot_connect%]",
|
||||
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
||||
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]"
|
||||
},
|
||||
"error": {
|
||||
"auth_failed": "[%key:common::config_flow::error::invalid_auth%]"
|
||||
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user