Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Bas Nijholt
74c0219d0c
sort imports according to PEP8 for components ( #29609 )
2019-12-08 13:46:04 +01:00
Ville Skyttä
b738082dad
Type check various base components ( #25878 )
...
* Type check various component base classes, disabling bunch of checks for now
* Type hint fixes
* Help mypy out some
* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Franck Nijhof
31f569ada9
Batch of Component(s) -> Integration(s) ( #24972 )
2019-07-05 15:24:26 -07:00
Paulus Schoutsen
65432ba552
Move core stuff into Home Assistant integration ( #22407 )
...
* Move core stuff into Home Assistant integration
* Lint
2019-03-26 13:38:32 +01:00
Jason Hu
fe1840f901
Deprecate http.api_password ( #21884 )
...
* Deprecated http.api_password
* Deprecated ApiConfig.api_password
GitHub Drafted PR would trigger CI after changed it to normal PR.
I have to commit a comment change to trigger it
* Trigger CI
* Adjust if- elif chain in auth middleware
2019-03-10 19:55:36 -07:00
Paulus Schoutsen
8213016eaf
Allow targeting areas in service calls ( #21472 )
...
* Allow targeting areas in service calls
* Lint + Type
* Address comments
2019-03-04 09:51:12 -08:00
Paulus Schoutsen
649bc55a3b
Allow a list ofr update entity ( #17860 )
...
* Allow a list ofr update entity
* Update services.yaml
* Update services.yaml
2018-10-27 21:34:33 +02:00
Paulus Schoutsen
e903f7ffda
Manual updates ( #17278 )
2018-10-09 16:54:38 +02:00
cdce8p
90f71261c5
Remove service helper (8) ( #17055 )
...
* Updated keyboard
* Updated microsoft_face
* Updated ffmpeg
* Updated logger
* Updated components/__init__.py
2018-10-02 10:23:37 +02:00
cdce8p
9aaf11de8c
Async syntax 8/8 ( #17022 )
...
* Async syntax 8
* Pylint fixes
2018-10-01 08:52:42 +02:00
Andrey
8ee3b535ef
Add disallow_untyped_calls to mypy check. ( #15661 )
...
* Add disallow_untyped_calls to mypy check.
* Fix generator
2018-07-31 15:00:17 +01:00
Paulus Schoutsen
ea2ff6aae3
Use async_create_task ( #15633 )
...
* Use async_create_task
* Fix test
2018-07-23 14:05:38 +02:00
Paulus Schoutsen
491b3d707c
Add optional words to conversation utterances ( #12772 )
...
* Add optional words to conversation utterances
* Conversation to handle singular/plural
* Remove print
* Add pronounce detection to shopping list
* Lint
* fix tests
* Add optional 2 words
* Fix tests
* Conversation: coroutine -> async/await
* Replace \s with space
2018-03-01 07:35:12 -08:00
Tod Schmidt
26209de2f2
Move HassIntent handler code into helpers/intent ( #12181 )
...
* Moved TurnOn/Off Intents to component
* Removed unused import
* Lint fix which my local runs dont catch apparently...
* Moved hass intent code into intent
* Added test for toggle to conversation.
* Fixed toggle tests
* Update intent.py
* Added homeassistant.helpers to gen_requirements script.
* Update intent.py
* Update intent.py
* Changed return value for _match_entity
* Moved consts and requirements
* Removed unused import
* Removed http view
* Removed http import
* Removed fuzzywuzzy dependency
* woof
* A few cleanups
* Added domain filtering to entities
* Clarified class doc string
* Added doc string
* Added test in test_init
* woof
* Cleanup entity matching
* Update intent.py
* removed uneeded setup from tests
2018-02-11 09:33:19 -08:00
Ville Skyttä
55ee8959ba
Spelling fixes ( #11940 )
2018-01-27 11:58:27 -08:00
Anders Melchiorsen
8267a21bfe
Lazy loading of service descriptions ( #11479 )
...
* Lazy loading of service descriptions
* Fix tests
* Load YAML in executor
* Return a copy of available services to allow mutations
* Remove lint
* Add zha/services.yaml
* Only cache descriptions for known services
* Remove lint
* Remove description loading during service registration
* Remove description parameter from async_register
* Test async_get_all_descriptions
* Remove lint
* Fix typos from multi-edit
* Remove unused arguments
* Remove unused import os
* Remove unused import os, part 2
* Remove unneeded coroutine decorator
* Only use executor for loading files
* Cleanups suggested in review
* Increase test coverage
* Fix races in existing tests
2018-01-07 14:54:16 -08:00
Charles Garwood
c5c594ba7d
Add service descriptions ( #9806 )
...
* Added descriptions for services under homeassistant domain
* lint fixes
* Fixing file permissions
2017-10-12 21:59:07 -07:00
Andrey
c73338bf3e
Backend changes for customize config panel. ( #9134 )
...
* Backend changes for customize config panel.
* Backend changes for customize config panel.
* Add customize.yaml to default config
* Precreate customize.yaml
* Add tests
2017-08-26 10:02:32 -07:00
Paulus Schoutsen
d0275c8075
Persistent notification import ( #8507 )
...
* Rewrite persistent notification creation
* Update components.is_on to use auto loading
* Fix two hass parameters
2017-07-16 21:39:38 +02:00
Paulus Schoutsen
5779d64e98
Fix some issues for PyLint 1.7.2 ( #8356 )
...
* Fix some issues for PyLint 1.7.2
* More fixes
* Revert position change for cover
2017-07-05 20:02:16 -07:00
Fabian Affolter
4d52b0ecd5
Update docstrings ( #7405 )
...
* Update docstrings
* Fix lint issues
* Update docstrings
2017-05-02 22:47:20 +02:00
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
Paulus Schoutsen
dab6d011ca
Add check_config API ( #5898 )
...
* Add check_config API
* Add config panel to default config
* Add tests
* Lint
* lint
2017-02-12 11:31:46 -08:00
Pascal Vizeli
3f82ef64a1
Move core service from core to components ( #5787 )
...
* Move core servcie from core to components
* add new handler for signals/exception
* Static persistent id
* Move unittest
* fix coro/callback
* Add more unittest for new services
* Address comments
* Update __init__.py
2017-02-08 09:17:52 -08:00
Paulus Schoutsen
a343c20404
Async gather wait ( #4247 )
...
* Fix config validation for input_*, script
* Allow scheduling coroutines
* Validate entity ids when entity ids set by platform
* Async: gather -> wait
* Script/Group: use async_add_job instead of create_task
2016-11-06 09:26:40 -08:00
Pascal Vizeli
d5368f6f78
Async bootstrap / component init ( #3991 )
...
* Async bootstrap
* Adress comments
* Fix tests
* More fixes
* Tests fixes
2016-10-27 00:16:23 -07:00
Paulus Schoutsen
640a8b5a7f
Limit dependencies of HA core ( #2762 )
2016-08-08 20:21:40 -07:00
Paulus Schoutsen
6714392e9c
Move elevation to core config and clean up HTTP mocking in tests ( #2378 )
...
* Stick version numbers
* Move elevation to core config
* Migrate forecast test to requests-mock
* Migrate YR tests to requests-mock
* Add requests_mock to requirements_test.txt
* Move conf code from bootstrap to config
* More config fixes
* Fix some more issues
* Add test for set config and failing auto detect
2016-06-27 09:02:45 -07:00
Paulus Schoutsen
a70f922a71
ps - add reload core config service ( #2350 )
2016-06-22 09:13:18 -07:00
Fabian Affolter
b534244e40
Fix PEEP257 issues
2016-03-08 17:55:57 +01:00
Paulus Schoutsen
de79a46d43
Move extract_entity_id to service helpers
2016-01-23 22:57:14 -08:00
Paulus Schoutsen
bc19ef66bf
Move split_entity_id to helpers
2016-01-23 22:49:49 -08:00
Ryan Kraus
342a819fd4
Added toggle service
...
Added a toggle service to the homeassistant, light, switch, and
media_player domains.
2016-01-16 10:45:05 -05:00
Paulus Schoutsen
8983a97c70
Fix calling turn_on for groups with mixed content
2016-01-03 21:25:15 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Paulus Schoutsen
1b89a502c4
Extract core into own submodule
2015-08-16 20:44:46 -07:00
Paulus Schoutsen
ff230cefe3
Disable pylint unused-argument check
2015-01-19 23:40:51 -08:00
Paulus Schoutsen
5e8673fc4a
API Call Service returns states changed
2014-12-14 00:35:16 -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
5835d502c7
Moved more methods out of HomeAssistant object
2014-11-30 18:42:52 -08:00
Paulus Schoutsen
c08676aa81
Reorganized some core methods
2014-11-28 23:38:42 -08:00
Paulus Schoutsen
5cbe7bf1b8
Added tests for switch component
2014-11-25 00:20:36 -08:00
Paulus Schoutsen
5278fe2f47
Added test coverage for core components
2014-11-23 00:32:03 -08:00
Paulus Schoutsen
5d107ed74b
Switched style checking to flake8 instead of pep8
2014-11-16 22:18:52 -08:00
Paulus Schoutsen
47dea785a8
Refactored light to be more reusable
2014-11-09 15:19:13 -08:00
Paulus Schoutsen
2ec1f20a03
Added support for unit_of_measurement
2014-11-08 17:45:09 -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