Commit Graph

32 Commits (bd352b99507fd95159ca6b60e47d47da13c67dd1)

Author SHA1 Message Date
Erik Eriksson 004179775c Updated ELIQ Online sensor to async API (#19248)
* Updated ELIQ Online sensor to async API

* Remove use of STATE_UNKNOWN
2018-12-14 13:25:28 +01:00
Paulus Schoutsen 994b829cb4
add_devices -> add_entities (#16171)
* add_devices -> add_entities

* Lint

* PyLint

* Revert external method in scsgate
2018-08-24 16:37:30 +02:00
Erik Eriksson 4ecce2598a Re-enable eliqonline requirement (#14265) 2018-05-03 19:54:37 +02:00
Paulus Schoutsen fd038b6de9
Disable eliqonline requirement (#14156)
* Disable eliqonline requirement

* Disable pylint import error
2018-04-28 20:15:00 -04:00
Erik Eriksson 8ceaa72ba3 Update eliqonline.py (#10914)
Channel id is now required (change in API)
2017-12-03 16:48:07 +01:00
Erik Eriksson 4bb78097a7 eliqonline: channel id is an integer (#9072) 2017-08-21 21:57:12 +02:00
Fabian Affolter d8ca04a4bc Do not call update() in constructor (#8859) 2017-08-06 10:21:55 -07:00
Erik Eriksson f2feabcf0b Update eliqonline.py (#7977)
Print error
2017-06-10 10:12:30 +02:00
Fabian Affolter a4f1f6e724 Update docstrings (#7374)
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstring

* Update docstrings

* Update docstrings

* Fix lint issues

* Update docstrings

* Revert changes in dict
2017-05-02 09:18:47 -07:00
Erik 2487d27c45 sensor.eliqonline: Change icon 2017-02-25 12:51:48 +01:00
Erik Eriksson 0d06454a94 eliqonline lib upgrade (#6021) 2017-02-15 19:02:58 +01:00
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