Commit Graph

21 Commits (5bba9a63a5b6de101858a2537835aabf63417faf)

Author SHA1 Message Date
Pascal Vizeli 1719d88602 Bugfix default values to timedelta (#5193)
* Bugfix default values to timedelta

* fix unittests
2017-01-06 00:16:12 +01:00
Erik Eriksson b08b376aa7 eliqonline lib upgrade (#4948) 2016-12-17 12:14:04 -08:00
Fabian Affolter b02b008fe5 Migrate to voluptuous (#3144)
🐬
2016-09-03 20:36:21 -06:00
Erik Eriksson cc202b886b ELIQ Online platform cleanup (#1942) 2016-04-28 17:33:33 +02:00
Fabian Affolter 8bff97083c Fix PEPE257 issues 2016-03-08 16:46:34 +01:00
Fabian Affolter 60d579af84 Update/add docstrings (PEP257) 2016-02-23 06:23:04 +01:00
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Erik 44a39636b1 improve error handling 2016-02-16 18:23:08 +01:00
Erik 5576649d60 Update eliqonline.py 2016-01-04 21:36:39 +01:00
Erik 82cd2f4ed6 Update eliqonline.py 2016-01-04 21:31:42 +01:00
Erik 66f12afbb1 don't fail if error
don't fail if request for updated data raises exception in underlying library
2016-01-04 21:12:10 +01:00
Erik a174a06e5c No need to call update() here
This also fixes a problem where the sensor is left uninitialized when the energy meter temporarily has lost connection with the hub. This caused the ELIQ Online server to return HTTP error 400: "user have no current power data", which in turn caused the used eliq library to fail during JSON parsing (issue reported).
2016-01-04 19:25:52 +01:00
Erik f3db4306c2 added icon 2015-12-25 18:50:35 +01:00
Fabian Affolter 5dabba3941 Move config to docs 2015-12-17 19:44:18 +01:00
Erik 0075752c06 better error message 2015-12-16 18:11:44 +01:00
Erik 14056951c7 lint 2015-12-16 16:41:34 +01:00
Erik e76defe035 proper access_token check 2015-12-16 16:36:56 +01:00
Erik 3b8c5d6833 disable throttling for now 2015-12-16 16:36:04 +01:00
Erik 956a6418cc let the user supply the sensor name 2015-12-16 16:35:35 +01:00
Erik a764817ee9 lint ok 2015-12-15 22:05:55 +01:00
Erik dade33187f added support for eliq online energy sensor 2015-12-15 21:48:42 +01:00