Paulus Schoutsen
d29bdddaa7
Add bind_hass to components ( #8502 )
...
* Add bind_hass to components
* Add bind_hass to group
2017-07-16 10:14:46 -07:00
Pascal Vizeli
814834512a
Group service / dynamic handling ( #7971 )
...
* Add Service to group
* Finish service
* Add service functions
* fix lint
* Address paulus comments
* fix lint & cleanup
* fix lint
* fix lint
* fix lint p3
* add test for check group
* add more tests
* fix lint
* Update service.yaml
* Fix order for tests
* Fix comment
* Fix test
* Fix tests
* Fix name in tests
* Fix view
* Fix default value
* Fix lint
* Fix key error
* add name
* migrate component entity
* fix tests
* fix import
* migrate device tracker
* fix lint
* fix bug
* fix logic
* fix lint
* fix tests
* fix generator
* fix group
* fix other tests.
* Not need to load group on first stage anymore.
* fix service
* add more group depency
* fix tests
* Revert "fix tests"
This reverts commit 35a922b3a8
.
* Real fix
* fix test p2
* fix test p3
* fix test p4
* fix test p5
* fix test p6
* fix lint
* fix test p7
* Rename attribute
* fix group test
* fix bug
* fix flagy tests
* fix service.yaml
* fix lint
2017-06-16 00:52:28 +02:00
Paulus Schoutsen
f43db3c615
Replace executor with async_add_job ( #7658 )
...
* Remove executor
* Lint
* Lint
* Fix tests
2017-05-26 08:28:07 -07:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Paulus Schoutsen
e265401cd0
self.loop.create_task -> self.add_job ( #6632 )
...
* self.loop.create_task -> self.add_job
* Core to use create task
2017-03-16 06:58:54 +01:00
Pascal Vizeli
2b124a008c
Migrate lock component to async ( #5748 )
2017-02-06 21:25:34 +01:00
Pascal Vizeli
1719d88602
Bugfix default values to timedelta ( #5193 )
...
* Bugfix default values to timedelta
* fix unittests
2017-01-06 00:16:12 +01:00
Paulus Schoutsen
98fe50d5ad
Update after service calls ( #4795 )
...
* Update after service calls
* Service update: wrap async_update in create_task
2016-12-06 22:30:47 -08:00
Per Sandström
180a7ec295
add changed_by attribute to lock ( #2766 )
2016-08-09 19:37:46 -07:00
Paulus Schoutsen
30f74bb3ca
Migrate to generic discovery method ( #2271 )
...
* Migrate to generic discovery method
* Add tests for discovery
2016-06-11 17:43:13 -07:00
devdelay
39e03eebcf
Add Z-Wave lock support
2016-05-03 18:47:52 -07:00
Jan Harkes
5c520b0d35
Service validation for lock component.
2016-04-13 12:35:07 -04:00
Paulus Schoutsen
5baa98b79f
Add initial config validation
2016-03-28 23:46:12 -07: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
9c4fe6e7fe
Modify docstrings to match PEP257
2016-02-28 12:03:47 +01:00
turbokongen@hotmail.com
41f908ed39
Added support for lock connected to Verisure system.
2016-02-09 13:17:05 +01: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