Greg Dowling
e34bfb7381
Tidy / Refactor Vera ( #2569 )
...
* 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
Paulus Schoutsen
68d92c3196
Use standardised datetime format
2016-04-16 01:46:50 -07:00
pavoni
9fc73fa644
Refactor vera into a platform.
2016-03-16 09:03:56 +00:00
Fabian Affolter
49ebc6d0b0
Fix PEP257 issues
2016-03-08 13:35:39 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
f08b77dc4c
Clean up state_attributes vs device_state_attributes
2016-02-06 22:34:24 -08:00
MartinHjelmare
d773ad1ecb
Fix mysensors version errors
...
* The application of the version check in unit_of_measurement was
messed up after the last refactor. Fix that again.
* An error could occur in device_state_attributes if there was a
mismatch between used value_type in the device and mysensors
version in config. Add try... except to handle that.
Bump pyvera version.
Bump pywemo version.
Add unavailable status before properly initialised for maker and insight.
2016-02-07 00:28:12 +00:00
pavoni
be23c6c86d
Bump pywemo version.
2016-01-16 11:35:17 +00:00
pavoni
c2f5eb3073
Missed change.
2016-01-15 21:42:51 +00:00
pavoni
541b268721
Update to use refactored pyvera, fixes subscription issues - esp sensors.
2016-01-15 21:30:58 +00:00
pavoni
4fd79afa42
Bump pyvera version.
2016-01-15 11:45:17 +00:00
pavoni
4bc33d0352
Bump pyvera version.
2016-01-15 10:34:14 +00:00
pavoni
fca8ad5b0b
Tidy.
2016-01-10 12:48:36 +00:00
pavoni
4b4fb038e3
Update for new library, slightly revise switch logic.
2016-01-10 12:30:47 +00:00
pavoni
af21f72d17
Update pyvera version.
2016-01-09 22:58:28 +00:00
pavoni
b64680e4a8
Revise to depend on vera subscription data updates, rather than talking to device.
2016-01-09 21:13:34 +00:00
pavoni
d61eb93c03
Remove throttle doesn't play well with subscriptions.
2016-01-09 16:16:41 +00:00
pavoni
5f8dd65acf
Bump pyvera version
2016-01-04 11:24:24 +00:00
pavoni
f8e5df237b
Remove '#'' from requirements
2015-12-31 18:58:12 +00:00
pavoni
5f89b34831
Bump pyvera version
2015-12-31 16:09:05 +00:00
pavoni
a8bb75d070
Update sensor with subscription code, change to use pyvera library
2015-12-31 12:16:03 +00:00
pavoni
d82859b6ea
Turn off poll
2015-12-31 10:57:54 +00:00
pavoni
ae0dbbcfa5
Added support for event subscriptions
2015-12-30 19:44:02 +00:00
pavoni
7204bc018f
Add exception handler for vera timeout
2015-11-27 11:43:43 +00:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
pavoni
0269be5813
Update pyvera version
2015-10-30 09:39:30 +00:00
pavoni
031d5ce255
Fix style issues, update pyvera version.
2015-10-30 09:37:16 +00:00
Fabian Affolter
f945a3a692
Move configuration details to docs
2015-10-20 22:20:58 +02:00
pavoni
e7320fe969
Default dict if parent class returned None
2015-09-27 17:06:49 +01:00
Paulus Schoutsen
89bdead44c
Remove latest git submodules
2015-09-08 20:11:25 -07:00
Fabian Affolter
78a555faf5
Update docstring (config file) and attempt to honor PEP0257
2015-09-07 19:39:16 +02:00
Fabian Affolter
6268a9f5b2
update header
2015-08-08 19:09:37 +02:00
jamespcole
dba9f8854f
Removed conversion to local time from UTC for last_tripped_time for vera sensors and switches
2015-05-19 00:31:59 +10:00
jamespcole
1c47ade641
Updated with new switch category for UI7 firmware update and fixed excpetion when trippable sensor has never been tripped
2015-05-18 18:54:25 +10:00
Paulus Schoutsen
a9324ba9d4
Update components to use Entity instead of Device
2015-03-21 19:16:13 -07:00
jamespcole
06c3087310
Fixed variable scoping
2015-03-09 15:16:02 +11:00
jamespcole
56622596e7
Changed exception logging, and updated excluded device logic
2015-03-09 09:11:59 +11:00
jamespcole
7ee37648d8
Updated exception type for errors when connecting to vera
2015-03-09 08:45:20 +11:00
jamespcole
95852db18d
Changed the configuration to use hashes instead of searching array
2015-03-09 08:34:06 +11:00
jamespcole
7dc3198320
Added constants for armed, tripped and tripped time
2015-03-09 08:10:31 +11:00
jamespcole
38fbc3595a
Added spcific exception type for failure to communicate with Vera controller
2015-03-09 07:46:26 +11:00
jamespcole
7772d5af62
moved setting name to constructor
2015-03-09 07:15:41 +11:00
jamespcole
a2f438c6ef
now using ATTR_BATTERY_LEVEL
2015-03-09 07:11:35 +11:00
jamespcole
1b29d61562
Made exception handling more specific
2015-03-09 07:03:56 +11:00
jamespcole
7a21e8a3fb
Fixed flake8 comment warning
2015-03-09 02:08:46 +11:00
jamespcole
50ff26ea20
Fixed flake8 errors
2015-03-09 01:58:11 +11:00
jamespcole
42dc973ccc
Fixed up linting errors
2015-03-09 01:14:44 +11:00
jamespcole
dc8147c46d
Changed vera components over to new config file format
2015-03-08 23:52:50 +11:00
jamespcole
250f35c2a5
Added documentation for proposed format of YAML config
2015-03-07 14:49:20 +11:00
jamespcole
fceac45ddd
Updated vera switch and sensor to the new architecture
2015-03-07 12:59:13 +11:00