Commit Graph

285 Commits (3d90d6073ec2dbd25ffdacca71ccacf095407b73)

Author SHA1 Message Date
Jan Harkes 5c520b0d35 Service validation for lock component. 2016-04-13 12:35:07 -04:00
Jan Harkes a7016e4b32 Move CONF_STATE_TOPIC, CONF_COMMAND_TOPIC and CONF_RETAIN to mqtt component. 2016-04-06 22:51:39 -04:00
Jan Harkes 3383854506 Move CONF_OPTIMISTIC to homeassistant.const. 2016-04-06 22:51:39 -04:00
Jan Harkes c8df06bb9f Config validation for MQTT lock platform. 2016-04-06 22:51:38 -04:00
Paulus Schoutsen 5baa98b79f Add initial config validation 2016-03-28 23:46:12 -07:00
William Scanlon 208a7c9e60 Added available method to all wink components 2016-03-17 15:57:26 -04:00
bradsk88 8a6cc49438 Upgrading python-wink to 0.6.3
This corrects a bug where multi-sensors' internal states were rendered null when downloading state updates from the Wink API.
2016-03-14 19:16:54 -06:00
MartinHjelmare c56701baaf Refactor reproduce_state for scene component
* Add tests to reach full coverage for helpers/state.py.
* Refactor reproduce_state function in helpers/state.py. Add two dicts,
	as global constants, service_attributes and service_to_state. Use
	these in combination with the dict of services per domain from
	ServiceRegistry, to find the correct service to use in a scene state
	change.
* Use break statement in for loop, to break if service was selected
	to update state, in preference to update state attributes, ie state
	update takes precedence.
* Add ATTR_CODE and ATTR_CODE_FORMAT in const. Import these in
	alarm_control_panel and lock platforms instead of making duplicate
	constants in multiple modules.
* Use ATTR_MEDIA_CONTENT_TYPE and ATTR_MEDIA_CONTENT_ID in media_player
	platform in SERVICE_PLAY_MEDIA and play_media methods, instead of
	'media_type' and 'media_id'.
* Fix PEP257 in modified files.
2016-03-09 18:52:05 +01:00
Fabian Affolter 6879e39d6c Fix PEP257 issues 2016-03-07 22:13:18 +01:00
Fabian Affolter a82931022c Add MQTT lock support 2016-02-28 18:25:28 +01:00
Fabian Affolter 9c4fe6e7fe Modify docstrings to match PEP257 2016-02-28 12:03:47 +01:00
Paulus Schoutsen afb51d14b8 Merge pull request #1302 from persandstrom/vsure_maintenace
updated verisure reconnect
2016-02-27 14:50:24 -08:00
Per Sandström d7e3c6a442 verisure refactoring and fix reconnect 2016-02-27 21:50:19 +01:00
William Scanlon 5a64ef2c98 Moved Wink binary sensors to a binary sensor class 2016-02-25 14:03:02 -05:00
Fabian Affolter 4563c54a3e Add link to docs and modify docstrings to match PEP257 2016-02-24 10:38:06 +01:00
William Scanlon 3da554a198 Update wink version 2016-02-21 12:01:32 -05:00
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
William Scanlon b2366ce68e Added optional parameter to lock and unlock methods 2016-02-17 05:50:36 -05:00
Paulus Schoutsen 77b141a355 Update Wink to 0.6 2016-02-13 08:17:38 -08:00
turbokongen@hotmail.com 41f908ed39 Added support for lock connected to Verisure system. 2016-02-09 13:17:05 +01:00
bradsk88 6e69737e88 Updating to python-wink 0.5.0
Major bugfix.  ``` get_bulbs ``` and similar methods were always returning empty lists.

Better unit tests have been added to https://github.com/bradsk88/python-wink to avoid this regression.
2016-02-06 14:22:46 -06:00
William Scanlon 56ce3e5f5a Wink siren support 2016-01-21 18:32:10 -08:00
William Scanlon de5bee6359 Updated python-wink version 2016-01-14 08:56:59 -05:00
William Scanlon 2803631906 Updated python-wink to 0.4.0 2016-01-08 08:25:26 -05:00
William Scanlon 1747db1888 More spacing fixes 2015-12-16 22:45:58 -05:00
William Scanlon eb6b4218fc Moved python-wink requirement to PyPI 2015-12-16 18:39:23 -05:00
William Scanlon f6d16ba118 updated python-wink requirements for 3.0.1 2015-12-16 15:22:38 -05:00
William Scanlon afbf377b6d Update for style changes in python-wink 2015-12-16 13:32:38 -05:00
William Scanlon c91cd9aa84 Updated python-wink requirements 2015-12-16 11:05:18 -05:00
William Scanlon 94eb002b0a Updated python-wink requirements and URL 2015-12-15 10:32:20 -05:00
Paulus Schoutsen 8841eef2b7 Add tests for lock component 2015-11-29 11:44:27 -08:00
Paulus Schoutsen fabd0ced3f Make DEPENDENCIES optional for components 2015-11-26 13:11:59 -08:00
miniconfig 105dc2847e Changed locked method of lock support to "is_locked".
Added lock and unlock methods
Updated wink components to use the new version of the wink library.
2015-11-20 16:34:27 -05:00
miniconfig fa7391cdf6 Changed do_lock and do_unlock methods to lock and unlock.
Implemented state method.
Fixed locked method for demo interface.
Changed LockDevice to extend Entity instead of ToggleEntity
2015-11-19 16:54:55 -05:00
miniconfig c78899c4f3 Added support for Locks, including those connected through a wink hub. 2015-11-17 10:17:57 -05:00