Commit graph

121 commits

Author SHA1 Message Date
Ryan Kraus
8255164eda Rearranged visibility control and image control in the configuration file. Now a single generic clause can be used to customize any attribute. 2015-04-25 14:47:15 -04:00
Ryan Kraus
f77b3dbd0a Added decorate option to configuration file to allow a user to set custom images for different entities. 2015-04-25 00:39:35 -04:00
Paulus Schoutsen
b855f422ef Tweak visibility config 2015-04-23 06:41:41 -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
8fcf814eb6 Changed visbility property in configuration.yaml to a hash instead of a list of a single hash. 2015-04-22 21:07:23 -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
Ryan Kraus
a3d6972268 1) Added basic back-end framework for supporting hidden entities. 2) Enabled hidden suggestions in the isy994 component entities. 2015-04-14 22:57:32 -04:00
Paulus Schoutsen
2863c2d593 Made bootstrap.setup_component more robust 2015-03-21 22:06:59 -07:00
Paulus Schoutsen
58812b326c Move hass.local_api and hass.components to config object 2015-03-21 22:06:59 -07:00
Paulus Schoutsen
7a7f486cb2 Rename config.get_config_path to config.path 2015-03-19 12:27:56 -07:00
Paulus Schoutsen
9b643d57f0 ps: Add a global config object to Home Assistant 2015-03-18 23:02:58 -07:00
Paulus Schoutsen
a2558972b9 Empty configuration.yaml no longer crashes setup 2015-03-16 22:20:35 -07:00
theolind
1206c2113c Fixed style error, a line was too long 2015-02-28 20:31:26 +01:00
theolind
461e0d0314 Now converting config values to dictionaries if they are None 2015-02-28 20:17:50 +01:00
theolind
8da1fb1d74 Added example yaml config file, removed old example config, fixed style violation in bootstrap.py 2015-02-28 18:59:45 +01:00
theolind
f2b602c7ec Added logic to main that prefers .yaml-config over .conf 2015-02-28 17:42:23 +01:00
theolind
223d2c2c3f Added support for YAML files, now with included python modules 2015-02-28 17:05:38 +01:00
theolind
356732189c Added support for YAML configuration files 2015-02-28 16:56:58 +01:00
Paulus Schoutsen
7dd7c489e8 Fire event for loading component/adding service 2015-02-13 22:49:56 -08:00
Paulus Schoutsen
13ac71bdf0 Clean up http related components 2015-01-30 08:26:06 -08:00
Paulus Schoutsen
8feeafd8a3 Refactor http into frontend and api component 2015-01-29 23:56:21 -08:00
Paulus Schoutsen
5f0f06b22d Add command-line toggle to run in demo mode 2015-01-17 22:23:07 -08:00
Paulus Schoutsen
8c62ae4ce5 Integrate add worker to bootstrap.setup_component 2015-01-14 23:18:44 -08:00
Paulus Schoutsen
ba179bc638 Automatic discovery and setting up of devices 2015-01-09 00:07:58 -08:00
Paulus Schoutsen
970014588a New strategy for defining number of used threads
Number of worker threads is 2 + 1 for each component that polls devices.
2014-12-16 21:46:02 -08:00
Paulus Schoutsen
e2b434b24e Log file now also contains warnings 2014-12-12 08:15:34 -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
5fe73cf33e Made dependency loading more robust 2014-11-28 15:36:21 -08:00
Paulus Schoutsen
1e136a2416 Logging is more efficient 2014-11-08 13:59:40 -08:00
Paulus Schoutsen
a9ee2f9c54 Refactor: loading of components now done in a seperate module + better error reporting 2014-11-04 23:34:19 -08:00
Paulus Schoutsen
506496743d Cleaning up the code 2014-10-24 23:44:00 -07:00
Paulus Schoutsen
7eafa5805a In rare occasion the group component would not load 2014-10-22 08:12:32 -07:00
Paulus Schoutsen
c69b9aefec Bug fix: group not always loaded 2014-10-21 23:51:23 -07:00
Paulus Schoutsen
17eefcffbe Home Assistant no longer crashes if it cannot write its log file 2014-09-22 21:44:26 -05:00
Paulus Schoutsen
d570aeef33 Configuration goes now into a single directory 2014-09-20 21:19:39 -05: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
50b492c64a Remote instances are now 100% operational 2014-04-29 00:30:31 -07:00
Paulus Schoutsen
b30aeb1777 Merge pull request #3 from fingon/process-source-up
Added a simple process state monitor
2014-04-24 14:47:07 -07:00
Markus Stenberg
88fd75b4c7 Addressed the comments in the issue. pep8+pylint seem fine now. (still works, too.) 2014-04-24 17:13:57 +03:00
Markus Stenberg
39d1fad8cc Merge remote-tracking branch 'up/master' into process-source-up 2014-04-24 17:00:46 +03:00
Markus Stenberg
fc6c2fbc18 Merge remote-tracking branch 'up/master' into luci-checker 2014-04-24 16:31:03 +03:00
Paulus Schoutsen
2e10d7223a Re-organized core for better reusability 2014-04-24 00:40:45 -07:00
Markus Stenberg
e36a53eea6 Added simple process state monitor source. 2014-04-23 23:55:22 +03:00
Paulus Schoutsen
3757ddf9df Add option to set fixed hosts for chromecasts instead of discovery 2014-04-21 17:58:58 -07:00
Markus Stenberg
ed31b6a527 Added LuciDeviceScanner to scan OpenWrt Luci-RPC enabled router's state. 2014-04-21 22:51:50 +03:00
Paulus Schoutsen
ef6d862671 Further Python 3 migration 2014-04-14 23:48:00 -07:00
Paulus Schoutsen
7e06d535ab Ported codebase to Python 3. Long Live Python 3! 2014-04-14 00:10:31 -07:00
Paulus Schoutsen
8fdf2d608a Cleanup of core services 2014-04-13 12:59:45 -07:00
Paulus Schoutsen
90769fc0eb Lights now support profiles 2014-03-26 00:20:02 -07:00
Paulus Schoutsen
6063ffeb5b Added WeMo support 2014-03-23 12:03:34 -07:00