Commit Graph

14 Commits (47e31dc9ee4a7d5bbc38b06d4436c3ae20328d6f)

Author SHA1 Message Date
Anders Melchiorsen 8267a21bfe Lazy loading of service descriptions ()
* Lazy loading of service descriptions

* Fix tests

* Load YAML in executor

* Return a copy of available services to allow mutations

* Remove lint

* Add zha/services.yaml

* Only cache descriptions for known services

* Remove lint

* Remove description loading during service registration

* Remove description parameter from async_register

* Test async_get_all_descriptions

* Remove lint

* Fix typos from multi-edit

* Remove unused arguments

* Remove unused import os

* Remove unused import os, part 2

* Remove unneeded coroutine decorator

* Only use executor for loading files

* Cleanups suggested in review

* Increase test coverage

* Fix races in existing tests
2018-01-07 14:54:16 -08:00
Mister Wil 07f073361f Bump to 0.12.2 to fix urllib3 dependency () 2017-11-07 01:39:13 +01:00
Fabian Affolter 834d0e489e Move 'lights' to const.py () 2017-10-18 18:41:14 +02:00
Mister Wil a5a839e72a Abode Temp, Humidity, and Light Sensor ()
* Update to 0.12.1 and sensor implementation.

* Removing unnecessary dict gets.

* Added name property to actually use the _name variable.

* Update docstring
2017-10-07 10:25:53 +02:00
Mister Wil 0aa22d9d91 Bump abode to 0.11.9 () 2017-10-02 22:55:26 +02:00
Mister Wil 5e35beb41a Update AbodePy to 0.11.8 ()
* Update requirements_all.txt

* Update abode.py
2017-09-22 22:37:16 +02:00
Vignesh Venkat 2e66898bec abode: Set device_type in state attributes ()
This gets displayed when clicking on the binary sensors. It is
useful to distinguish different devices with the same name (e.g.
the room name) but different types.
2017-09-20 20:51:09 +02:00
Vignesh Venkat 2531d54515 abode: Bump abodepy dependency to 0.11.7 ()
* abode: Bump abodepy dependency to 0.11.7

Fixes cases where one's abode account has a nest thermostat
linked (https://github.com/MisterWil/abodepy/pull/17).

* abode: Bump abodepy dependency to 0.11.7

Fixes cases where one's abode account has a nest thermostat
linked (https://github.com/MisterWil/abodepy/pull/17).

* update requirements_all.txt
2017-09-20 12:18:05 +02:00
Mister Wil e41b00fb4d Bump version of abodepy () 2017-09-19 06:53:03 +02:00
Mister Wil c44397e257 Abode services, events, lights, cameras, automations, quick actions. ()
* Updated to latest AbodePy version. Added services and events. Added new device types. Added exclude, light, and polling config options.

* Disable the event service if polling is enabled.

* Addressed all CR's

* Removed duplicated super call.

* Name config option now used. Removed deprecated DEFAULT_NAME.

* Modified partial to move event to first param.
2017-09-18 17:39:41 +02:00
Mister Wil 894200d87d Fixed bug with devices not being discovered correctly. () 2017-09-06 09:11:32 -07:00
Mister Wil 33c906c20a Abode push events and lock, cover, and switch components ()
* Updated abodepy version to 0.7.1

* Refactored to use AbodeDevice. Added Abode Lock device.

* Added push updates to abode devices.

* Upgraded to 0.7.2 after finding issue with callbacks.

* Refactored to use AbodeDevice. Added Abode Lock device.

* Added push updates to abode devices.

* Upgraded to 0.7.2 after finding issue with callbacks.

* Bumped version to 0.8.2. Modified code to work with new constants and properties. Added cover and switch.

* Fixed hound violations.

* Updated to 0.8.3 to fix small bug with standby mode. Fixed comment in cover/abode.py.

* Fix lint issues

* Removed excessive logging. Moved device callback registration to async_added_to_hass. Moved abode controller from global into hass data.

* Removed explicit None from dict.get()

* Move device class into the constructor.

* Changed constant name to platforms.

* Changes as requested.

* Removing stray blank line.

* Added blank line of which I'm not sure how it was removed.

* Updated version to 0.9.0. Fixed motion sensor. Added power_switch_meter device type.

* Update abode.py

* fix lint
2017-08-29 17:34:19 +02:00
Alok Saboo 8ceeee032c Bump abodepy to 0.7.1 ()
* Version bump to 0.7.1

* Update abodepy version
2017-08-22 07:08:27 +02:00
Alok Saboo b3d16e8f89 Add Abode home security component ()
* Add Abode home security component

* Remove protected member

* Remove debug messages

* Remove unwanted debug messages

* Updated based on script/gen_requirements_all

* Commit to restart the build process

* Remove unwanted return

* Removed unused listener

* Address Pascal's comments

* Updated alarm control panel based on Pascal's comments

* Removed debug messages

* Removed unused hass object
2017-08-20 16:55:48 +02:00