Commit Graph

55 Commits (49ebc6d0b03124b6b187866ff324c2ceeef01e47)

Author SHA1 Message Date
Paulus Schoutsen bdad69307a Group: fix thread safety 2016-03-05 19:55:05 -08:00
Paulus Schoutsen 1eae74be58 Add assumed_state to group 2016-02-20 19:11:02 -08:00
Paulus Schoutsen e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Paulus Schoutsen dc44ef7356 Support expanding nested groups 2016-02-09 22:43:07 -08:00
Paulus Schoutsen 6c91831baa Hide groups when they are views or auto defined 2016-01-24 23:45:06 -08:00
Paulus Schoutsen f6c53896e3 Allow groups to be used as views 2016-01-24 22:54:45 -08:00
Paulus Schoutsen 53484e46a3 Move generate_entity_id to entity helpers 2016-01-23 23:00:46 -08:00
Paulus Schoutsen bc19ef66bf Move split_entity_id to helpers 2016-01-23 22:49:49 -08:00
Paulus Schoutsen fabd0ced3f Make DEPENDENCIES optional for components 2015-11-26 13:11:59 -08:00
Fabian Affolter 97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Fabian Affolter 55de563511 Add link to docs 2015-10-25 15:58:58 +01:00
Todd Ingarfield 33028dd143 Add STATE_OPEN/STATE_CLOSED to groupable states 2015-10-02 10:53:36 -05:00
Paulus Schoutsen 64fff48021 Allow spaces in group setup string 2015-08-30 20:44:38 -07:00
Paulus Schoutsen 1b89a502c4 Extract core into own submodule 2015-08-16 20:44:46 -07:00
Paulus Schoutsen fc6d7db81b Readd setting up groups with comma seperated list 2015-08-08 13:44:07 -07:00
Paulus Schoutsen d2b5f429fe Remove deprecated code 2015-08-04 16:21:09 -04:00
Paulus Schoutsen e47ac96587 Remove more deprecated method calls 2015-08-04 18:13:35 +02:00
Fabian Affolter fdb46d80ba Update documentation 2015-05-13 19:06:17 -07:00
Paulus Schoutsen bbdb0320f1 Have group inherit from entity 2015-04-22 22:31:16 -07:00
Ryan Kraus ff3dacedc0 Moved card visibility logic out of the Entity class and into a VisibilityABC. Then made the Group class inherit the VisibilityABC. No duplication of code now. This is definitely better. 2015-04-22 21:21:50 -04:00
Ryan Kraus 6b2dd69bcb Updated isy994 component to hide any device with the HIDDEN STRING in its ancestry. 2015-04-17 09:27:14 -04:00
Ryan Kraus b20424261c 1) Performed many pylint and flake8 fixes to clean up isy994 integration and hidden entities addition. 2) Added necessary code to allow groups to also be hidden. 3) Made most of the weather data from the isy994 component be hidden by default. 2015-04-15 02:05:34 -04:00
Paulus Schoutsen 80ffe74af6 Group component now supports lists in the config 2015-02-28 19:22:16 -08:00
Paulus Schoutsen ce39a6fb18 Bug fixes related to entity_ids being lowercase 2015-02-08 22:18:54 -08:00
Paulus Schoutsen d053f93419 Entity IDs are now always lowercase 2015-02-06 00:17:30 -08:00
Paulus Schoutsen ff230cefe3 Disable pylint unused-argument check 2015-01-19 23:40:51 -08:00
Paulus Schoutsen ba179bc638 Automatic discovery and setting up of devices 2015-01-09 00:07:58 -08:00
Paulus Schoutsen f1209a42a9 Ensure groups always have unique entity id 2015-01-08 20:17:05 -08:00
Paulus Schoutsen e0b424c88f Make group component more flexible 2015-01-08 20:02:34 -08:00
Paulus Schoutsen 81be3811dc Only save the valid entities in the group entity_ids attribute 2014-12-12 07:21:25 -08:00
Paulus Schoutsen df3521e706 Group component is more flexible when to setup a group 2014-12-11 17:31:01 -08:00
Paulus Schoutsen 0527760e9b Refactor: code moved to new helper and constants file. Also adds support for multiple types for switch/light components. 2014-12-06 23:57:02 -08:00
Paulus Schoutsen eef4817804 Cleaned up device_tracker and added tests 2014-12-02 23:54:10 -08:00
Paulus Schoutsen 5835d502c7 Moved more methods out of HomeAssistant object 2014-11-30 18:42:52 -08:00
Paulus Schoutsen 5d107ed74b Switched style checking to flake8 instead of pep8 2014-11-16 22:18:52 -08:00
Paulus Schoutsen 222d57bda7 track_state_change now accepts a list of entity_ids 2014-11-08 14:22:17 -08:00
Paulus Schoutsen 1e136a2416 Logging is more efficient 2014-11-08 13:59:40 -08:00
Paulus Schoutsen 30ba447c64 More material love for interface 2014-10-29 00:47:55 -07:00
Paulus Schoutsen f510ee333b group.setup now fails gracefully if config[group] not available. 2014-10-22 01:07:58 -07:00
Paulus Schoutsen 7cdda3a3d7 Group pep8 fix 2014-10-22 00:38:22 -07:00
Paulus Schoutsen e71efb3b68 pylint hints update 2014-10-21 23:52:05 -07:00
Paulus Schoutsen f24e9597fe Group component converts given entity ids to a list prior processing 2014-08-14 12:46:19 +02:00
Paulus Schoutsen 997c2e8ef6 Components+configuration now loaded dynamically
A major change to the bootstrapping of Home Assistant decoupling the
knowledge in bootstrap for a more dynamic approach. This refactoring
also prepares the code for different configuration backends and the
loading components from different places.
2014-08-13 14:28:45 +02:00
Paulus Schoutsen 2e10d7223a Re-organized core for better reusability 2014-04-24 00:40:45 -07:00
Paulus Schoutsen ef6d862671 Further Python 3 migration 2014-04-14 23:48:00 -07:00
Paulus Schoutsen 8fdf2d608a Cleanup of core services 2014-04-13 12:59:45 -07:00
Paulus Schoutsen 2890f2d6cc Reworked entity id extraction from service calls 2014-03-24 20:34:35 -07:00
Paulus Schoutsen c438f35bcd Methods defined inside setup make more sense 2014-01-29 22:47:50 -08:00
Paulus Schoutsen 097a51abc6 Refactored component 'general' into components.__init__ 2014-01-23 23:26:00 -08:00
Paulus Schoutsen 0fc3d359cb Moved stuff away from core. Made component interface more uniform. 2014-01-23 22:03:13 -08:00