Glances config flow (#27221)

* Glances Integration with config flow

* Glances Integration with config flow

* fix description texts

* Glances Integration with config flow

* Glances Integration with config flow

* fix description texts

* update .coverage.py

* add codeowner

* add test_options

* Fixed typos, Added import, fixed tests

* sort imports

* remove commented code
This commit is contained in:
Rami Mosleh authored and Fabian Affolter committed 2019-10-21 10:17:21 +02:00
1 parent 09acbc211c
commit 09f9875ccf
13 files changed
+569 -130

No files matched your search

@@ -0,0 +1,37 @@
{
"config": {
"title": "Glances",
"step": {
"user": {
"title": "Setup Glances",
"data": {
"name": "Name",
"host": "Host",
"username": "Username",
"password": "Password",
"port": "Port",
"version": "Glances API Version (2 or 3)",
"ssl": "Use SSL/TLS to connect to the Glances system",
"verify_ssl": "Verify the certification of the system"
}
}
},
"error": {
"cannot_connect": "Unable to connect to host",
"wrong_version": "Version not supported (2 or 3 only)"
},
"abort": {
"already_configured": "Host is already configured."
}
},
"options": {
"step": {
"init": {
"description": "Configure options for Glances",
"data": {
"scan_interval": "Update frequency"
}
}
}
}
}