Commit graph

22 commits

Author SHA1 Message Date
Greg Dowling
1925748f61 Add vera power meter. ()
* Add vera power meter.

* Use W for power.
2017-04-18 12:01:23 +02:00
Greg Dowling
5b9d9954c5 Update vera cover refresh logic ()
* Update cover update logic to fix compatibility bug. Bump vera library.

* Tidy.

* Add missed file.
2017-04-03 22:44:52 -07:00
Greg Dowling
acf75b5253 Revise power and energy units and property names. ()
* Revise power and energy units and property names.

* Add change for new wemo parameter.
2017-03-19 22:02:11 +01:00
Greg Dowling
10f5e9744b Append vera device id to entity id - but not name. ()
* Append vera device id to entity id - but not name.

* Tidy.

* Tidy.

* Tidy after review.

* Re-order.
2017-03-11 10:06:46 -08:00
arjenfvellinga
d7db3aba36 Prevent duplicate names on Vera devices by appending the device id ()
* Prevent duplicate names by prepending device id to it.

* Always append device id, not conditionally.

* Moved naming of devices

* flake8
2017-02-27 18:57:39 +00:00
pavoni
757813411d Fix vera thermostat mode set bug 2017-02-27 10:18:22 +00:00
Greg Dowling
74989f7941 Bump pyvera version (add RFX device support) () 2017-01-21 12:26:57 -08:00
Sean Dague
b8e462cf5b Bump pyvera to 0.2.21
pyvera 0.2.21 fixes the fact that use of requests.get was not using a
timeout. Some times (after a few days of use) the pyvera poll loop
would hang indefinitely on a requests.get of the event interface. This
would cause the pyvera thread to hang completely. It would also
prevent graceful shutdown, as pyvera does a thread join.

The new version uses a timeout, so that we won't lock up any more.
2016-11-21 06:06:17 -05:00
Paulus Schoutsen
0f59bb208c Migrate callbacks to use schedule_update_ha_state ()
* Migrate callbacks to use schedule_update_ha_state

* Migrate MQTT sensor callback to async

* Migrate wemo to not update inside schedule_update_ha_state

* Make MQTT switch async

* Fix nx584 test

* Migrate tellstick callback

* Migrate vera callback

* Alarm control panel - manual: use async callbacks

* Run the switch rest tests that work
2016-11-17 07:34:46 -08:00
Fabian Affolter
be272ac64a Disable too-many-* ()
* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Greg Dowling
0a6f496425 Add support for Vera covers. () 2016-09-15 20:47:03 +02:00
Rob Johnson
7528da455c Vera Thermostat Support ()
* vera thermostat & climate support

* disable abstract

* code review changes

* fix

* fix build

* remove old method
2016-09-13 21:36:49 -07:00
pavoni
c0cd2d749f Tidy. 2016-08-20 15:43:07 +01:00
pavoni
712f1498ae Add voluptuous to Vera. 2016-08-19 22:43:40 +01:00
Greg Dowling
e34bfb7381 Tidy / Refactor Vera ()
* Add power attribute to switch.

* Move device_state_attributes into base class.

* Fix imports following refactor.

* Bump pyvera version - should add contributed support for older (UI5) version dimmers and locks.

* Refactor device lookup to be based on vera classes, push category back into library.

* Add generic power attribute, fix inherited class order bug.

* Tidy.
2016-07-19 19:13:33 -07:00
rhooper
48b3c98646 bump pyvera version to 0.2.13 () 2016-07-01 18:47:55 -07:00
rhooper
5cce02ab62 vera lock support ()
* vera lock support

* fix formatting
2016-06-29 17:28:20 -07:00
Paulus Schoutsen
a65a122464 Fix discovery () 2016-06-14 22:51:46 -07:00
Paulus Schoutsen
30f74bb3ca Migrate to generic discovery method ()
* Migrate to generic discovery method

* Add tests for discovery
2016-06-11 17:43:13 -07:00
Greg Dowling
f5227e1de0 Fix vera breaking component loading order. () 2016-04-08 11:38:02 -07:00
pavoni
6ee086c0bb Fix thread termination on exit. 2016-04-01 15:36:33 +01:00
pavoni
9fc73fa644 Refactor vera into a platform. 2016-03-16 09:03:56 +00:00