Alan Fischer
39d33c97ff
Added Vera scenes ( #10424 )
...
* Added Vera scenes
* Fixed flake8 issues
* Fixed comments
* Moved vera to use hass.data
* Made requested changes
2017-12-07 07:47:19 +01:00
Fabian Affolter
4d52b0ecd5
Update docstrings ( #7405 )
...
* Update docstrings
* Fix lint issues
* Update docstrings
2017-05-02 22:47:20 +02:00
Greg Dowling
dcbc0b490c
WIP - Fix bug in state handling in Vera Switch and Light ( #6931 )
...
* Fix bug in state handling.
* Tidy.
2017-04-04 12:02:09 +02:00
Greg Dowling
acf75b5253
Revise power and energy units and property names. ( #6212 )
...
* 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. ( #6523 )
...
* 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
Paulus Schoutsen
f006b00dc1
Fix spelling schedule_update_ha_state ( #4415 )
2016-11-16 08:26:29 -08:00
Pascal Vizeli
41aaeb715a
Convert switch to AsnycIO ( #4382 )
...
* Convert switch to AsnycIO
* Move update entity to service
* use time better for faster handling
* Change to suggestion from paulus
* Use new shedule_update_ha_state
* fix lint
* minimize executor calls
2016-11-15 21:06:50 -08:00
Fabian Affolter
9f2aae1357
Maintenance 2nd ( #4106 )
...
* Add link to docs
* Fix link
* Update line breaks
* Update ordering
* Align vera platofrm to only use add_devices
(instead od add_devices_callback)
* Remove line break
* Use consts
* Update ordering
* Update ordering
* Use const, create default name, use string formatting
* Update ordering
* Use const
* Update import style
* Update ordering and line breaks
* update line breaks
* Set default port
* Set defaults and update ordering
* Update ordering
* Minor style updates
* Update ordering, defaults, line breaks, and readability
* Use constants
* Add line breaks
* use string formatting
* Update line breaks
* Update logger
2016-10-30 09:58:34 +01:00
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