1
mirror of https://github.com/home-assistant/core synced 2024-09-15 17:29:45 +02:00
Commit Graph

72 Commits

Author SHA1 Message Date
Fabian Affolter
3ee4d1060f Update docstrings (#7361)
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update tomato.py

* Update isy994.py

* Lint + fix tests

* Lint
2017-04-29 22:04:49 -07:00
Robbie Trencheny
1ce2b6357a Replace rollershutter with cover in demo (#7140) 2017-04-16 15:27:03 -07:00
Pascal Vizeli
41f558b181 Bootstrap / Component setup async (#6264)
* Bootstrap / Entiy setup async

* Cleanup add_job stuff / return task/future object

* Address paulus comments / part 1

* fix install pip

* Cleanup bootstrap / move config stuff to config.py

* Make demo async

* Further bootstrap improvement

* Address Martin's comments

* Fix initial tests

* Fix final tests

* Fix bug with prepare loader

* Remove no longer needed things

* Log error when invalid config

* More cleanup

* Cleanups platform events & fix lint

* Use a non blocking add_entities callback for platform

* Fix Autoamtion is setup befor entity is ready

* Better automation fix

* Address paulus comments

* Typo

* fix lint

* rename functions

* fix tests

* fix test

* change exceptions

* fix spell
2017-02-28 20:33:19 -08:00
Pascal Vizeli
c2492d1493 Component "Image processing" (#5166)
* Init new component for image processing.

* Add demo platform

* address comments

* add unittest v1 for demo

* Add unittest for alpr

* Add openalpr local test

* Add openalpr cloud platform

* Add unittest openalpr cloud platform

* Update stale docstring

* Address paulus comments

* Update stale docstring

* Add coro to function

* Add coro to cloud
2017-01-14 08:18:03 +01:00
Paulus Schoutsen
49cfe38cca Demo platform to group climate instead of thermostat 2016-12-01 21:11:13 -08:00
mnestor
613615433a Google Calendar round 2 (#4161)
* Google Calendar round 2

* Add google back to .coveragerc

* Update __init__.py
2016-11-18 22:29:20 -08:00
Pascal Vizeli
0b8b9ecb94 Async EntitiesComponent (#3820)
* first version

* First draft component entities

* Change add_entities to callback from coroutine

* Fix bug add async_prepare_reload

* Group draft v1

* group async

* bugfix

* bugfix v2

* fix lint

* fix extract_entity_ids

* fix other things

* move get_component out of executor

* bugfix

* Address minor changes

* lint

* bugfix - should work now

* make group init async only

* change update handling to old stuff

* fix group handling, remove generator from init

* fix lint

* protect loop for spaming with updates

* fix lint

* update test_group

* fix

* update group handling

* fix __init__ async trouble

* move device_tracker to new layout

* lint

* fix group unittest

* Test with coroutine

* fix bug

* now it works 💯

* ups

* first part of suggestion

* add_entities to coroutine

* change group

* convert add async_add_entity to coroutine

* fix unit tests

* fix lint

* fix lint part 2

* fix wrong import delete

* change async_update_tracked_entity_ids to coroutine

* fix

* revert last change

* fix unittest entity id

* fix unittest

* fix unittest

* fix unittest entity_component

* fix group

* fix group_test

* try part 2 to fix test_group

* fix all entity_component

* rename _process_config

* Change Group to init with factory

* fix lint

* fix lint

* fix callback

* Tweak entity component and group

* More fixes

* Final fixes

* No longer needed blocks

* Address @bbangert comments

* Add test for group.stop

* More callbacks for automation
2016-10-16 09:35:46 -07:00
Fabian Affolter
d8db881e9a Replace rollershutter and garage door with cover, add fan (#3242) 2016-09-06 23:41:26 +02:00
Fabian Affolter
fb639e08d7 Fix schemas and update ordering (#2932) 2016-08-22 14:19:19 +02:00
Paulus Schoutsen
23e86fc8ea Update frontend 2016-08-20 23:44:31 -07:00
Paulus Schoutsen
206e7d7a67 Extend persistent notification support (#2371) 2016-06-25 16:40:33 -07:00
Paulus Schoutsen
e4fe8336cc Update frontend 2016-06-09 23:27:35 -07:00
Paulus Schoutsen
20dad9f194 Add HVAC to demo 2016-05-08 23:21:26 -07:00
Paulus Schoutsen
3dc874dcf5 Update frontend (embed Roboto) 2016-04-08 00:15:02 -07:00
Paulus Schoutsen
e140e9b8ab Add script + extra config validators
* Add config validation and extra validators

* Address PR comments
2016-04-03 10:19:09 -07:00
Karen Goode
02faefdab3 Update demo.py 2016-02-26 18:43:50 -08:00
Karen Goode
2a01b09d31 Update demo.py 2016-02-26 18:25:39 -08:00
Karen Goode
712ba65d26 Update demo.py 2016-02-26 18:12:03 -08:00
Karen Goode
cbd69583bd Update demo.py
Update to demo site to include input_selects, notify, inline camera and two views.
2016-02-26 15:23:44 -08:00
Fabian Affolter
4563c54a3e Add link to docs and modify docstrings to match PEP257 2016-02-24 10:38:06 +01:00
Paulus Schoutsen
e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Eric Rolf
6cbf19934f Updated Demo 2016-02-11 08:23:04 -05:00
Paulus Schoutsen
b13008201e Fix lint issue 2016-01-25 21:31:21 -08:00
Paulus Schoutsen
125ad8630d Add views to demo 2016-01-25 21:27:36 -08:00
Paulus Schoutsen
f6c53896e3 Allow groups to be used as views 2016-01-24 22:54:45 -08:00
Paulus Schoutsen
03962ab6ae Fix demo component messing up the config
Could cause HTTP to be initialised in production mode.
2015-12-06 09:12:35 -08:00
Paulus Schoutsen
be14499bca Add rollershutter demo 2015-12-05 01:12:38 -08:00
Paulus Schoutsen
72ebb22eba Update demo entities 2015-11-29 17:59:59 -08:00
Fabian Affolter
60460e8217 Add alarm control panel as platform and remove camera/acp entries 2015-11-27 00:18:11 +01:00
Fabian Affolter
b9730e6914 Binary sensor component 2015-11-20 14:59:21 +01:00
Fabian Affolter
685964785d Add camera to demos 2015-11-19 19:35:51 +01:00
Paulus Schoutsen
72b4212b19 Demo uses device tracker demo platform 2015-11-03 00:19:28 -08:00
Paulus Schoutsen
49de153ecf Add alarm component to demo component 2015-10-13 23:21:47 -07:00
Paulus Schoutsen
4e3bd5f2a9 Add service descriptions 2015-09-26 23:17:04 -07:00
Paulus Schoutsen
6399c873f9 Add gps location to device tracker demo 2015-09-23 23:20:20 -07:00
Paulus Schoutsen
51dd718282 Fix broken thermostat demo and prevent happening again 2015-09-13 08:08:46 -07:00
Paulus Schoutsen
96cfff192a Fix space after HA started in logbook 2015-09-13 01:21:30 -07:00
Paulus Schoutsen
4cadc7df96 Update demo component 2015-08-30 15:08:03 -07:00
Paulus Schoutsen
3960a465f1 Add conversation and introduction to demo.py 2015-08-29 23:21:26 -07:00
Paulus Schoutsen
d45a7e2ba4 Update demo data to show more features 2015-08-23 19:46:18 -07:00
Paulus Schoutsen
1b89a502c4 Extract core into own submodule 2015-08-16 20:44:46 -07:00
Paulus Schoutsen
2cbfc60679 Add camera to demo 2015-07-10 23:24:05 -07:00
Paulus Schoutsen
7ef0dec185 Update frontend to use NuclearJS 2015-06-22 00:25:56 -07:00
Paulus Schoutsen
487c9e1e72 Update demo device tracker pictures 2015-06-16 22:49:41 -07:00
Fabian Affolter
fdb46d80ba Update documentation 2015-05-13 19:06:17 -07:00
Paulus Schoutsen
bc3af134f9 Minor cleanup demo component 2015-04-25 17:44:05 -07:00
Paulus Schoutsen
9b643d57f0 ps: Add a global config object to Home Assistant 2015-03-18 23:02:58 -07:00
Paulus Schoutsen
b459a29947 Fix style issues 2015-03-16 22:45:42 -07:00
Paulus Schoutsen
83d83a09b5 Add scene to demo 2015-03-16 22:35:57 -07:00
Paulus Schoutsen
71803658f5 Updates to demo component and platforms 2015-03-16 22:20:35 -07:00