Add native ESPHome API component (#19334)
* Create esphomelib component * Update requirements * Remove python 2 string literals * MVP * Remove config flow * Remove config flow translations * Use dispatcher more * Use data classes * Type Hints * Cleanup on remove * Use helper and cleanup * Fix HA stop listener cleanup * Add config flow * Fix SyntaxError for Py3.5 * Update * Lint * Re-do tests * ✨ Rename to ESPHome * Better error message for resolve errors * Fix tests when aioesphomeapi not installed * Refactor mock * Update requirements * Add strings.json * 🍵 100% config flow test coverage
This commit is contained in:
1 parent
f9c02889b2
commit
a08bab7b18
11 files changed
+888
No files matched your search
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"config": {
|
||||
"abort": {
|
||||
"already_configured": "ESP is already configured"
|
||||
},
|
||||
"error": {
|
||||
"resolve_error": "Can't resolve address of the ESP. If this error persists, please set a static IP address: https://esphomelib.com/esphomeyaml/components/wifi.html#manual-ips",
|
||||
"connection_error": "Can't connect to ESP. Please make sure your YAML file contains an 'api:' line.",
|
||||
"invalid_password": "Invalid password!"
|
||||
},
|
||||
"step": {
|
||||
"user": {
|
||||
"data": {
|
||||
"host": "Host",
|
||||
"port": "Port"
|
||||
},
|
||||
"description": "Please enter connection settings of your [ESPHome](https://esphomelib.com/) node.",
|
||||
"title": "ESPHome"
|
||||
},
|
||||
"authenticate": {
|
||||
"data": {
|
||||
"password": "Password"
|
||||
},
|
||||
"description": "Please enter the password you set in your configuration.",
|
||||
"title": "Enter Password"
|
||||
}
|
||||
},
|
||||
"title": "ESPHome"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user