Commit Graph

50 Commits (d79f89e168badb5b483aa8504936370a4247cc31)

Author SHA1 Message Date
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 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
Pascal Vizeli bde7176b3c Migrate light component to async (#4635) 2016-11-30 13:33:38 -08:00
Fabian Affolter c028e1fc6f Update ordering, constants, and callback name (light.*) (#3339)
* Extend schema

* Update ordering

* Add line breaks

* Align callback name with other platforms

* ALign callbackname with other platforms

* Update callback name to match other platforms

* Update callback name

* Update callback name
2016-09-12 15:52:22 +02:00
Assaf Inbal 72ad1d8d7c Added support for exposing light features (#2828) 2016-08-15 23:07:07 -07: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 7e8e91ef3c Fix PEP257 issues 2016-03-07 22:08:21 +01:00
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
pavoni ac0dc10377 Refactor VeraLight to inherit from Light, rather then VeraSwitch. 2016-02-07 21:45:15 +00: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 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 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 ae0dbbcfa5 Added support for event subscriptions 2015-12-30 19:44:02 +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
pavoni 6ef0d089ea Add VeraLight class based on VeraSwitch - add dimmer support 2015-10-27 23:18:46 +00:00
pavoni 49f4d92c62 Add dimmer as switch 2015-10-26 10:51:23 +00:00
Fabian Affolter 72ad1387f0 Move configuration details to docs 2015-10-20 22:20:58 +02:00
Paulus Schoutsen 89bdead44c Remove latest git submodules 2015-09-08 20:11:25 -07:00
Fabian Affolter e824bc4c55 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:21:33 +02:00
Fabian Affolter 2289d3e826 upadte header 2015-08-11 19:12:32 +02: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
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 38fbc3595a Added spcific exception type for failure to communicate with Vera controller 2015-03-09 07:46:26 +11:00
jamespcole 6dc18ba603 removed the VeraLight class and just switched it to using VeraSwitch instead 2015-03-09 07:24:34 +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 8dfc91a502 Added vera components and added __pycache__ to gitignore 2015-03-02 22:05:03 +11:00
jamespcole 3449b3d1d7 vera device types 2015-03-02 21:09:00 +11:00