Clean up goalzero (#40817)

* cleanup goalzero code

* more cleanup

* mroe cleanup

* log defined exception to error

* return None if not configured

* return False if not configured
This commit is contained in:
tkdrob authored and GitHub committed 2020-10-01 16:15:24 +02:00
1 parent 7554c8d6c5
commit 6627ffff39
6 files changed
+19 -50

No files matched your search

@@ -12,7 +12,7 @@
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"invalid_host": "This is not the Yeti you are looking for",
"invalid_host": "Invalid host provided",
"unknown": "Unknown Error"
},
"abort": {