Erik Montnemery
cda7692f24
Add support for `for` to binary_sensor, light and switch device conditions ( #27153 )
...
* Add support for `for` to binary_sensor, light and switch device conditions
* Fix typing
* Fixup
* Fixup
2019-10-03 13:29:57 -07:00
Franck Nijhof
4733fea416
Adds fields to light.toggle service description ( #27155 )
2019-10-03 13:28:53 -07:00
HomeAssistant Azure
e005f6f23a
[ci skip] Translation update
2019-10-03 00:34:28 +00:00
Erik Montnemery
c43eeee62f
Improve validation of device condition config ( #27131 )
...
* Improve validation of device condition config
* Fix typing
2019-10-02 15:58:14 -07:00
Erik Montnemery
65ce3b49c1
Add support for `for` to binary_sensor, light and switch device triggers ( #26658 )
...
* Add support for `for` to binary_sensor, light and switch device triggers
* Add WS API device_automation/trigger/capabilities
2019-10-02 22:14:52 +02:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
HomeAssistant Azure
513d2652e4
[ci skip] Translation update
2019-10-01 00:32:19 +00:00
HomeAssistant Azure
cdb469f711
[ci skip] Translation update
2019-09-30 00:32:17 +00:00
HomeAssistant Azure
560ac3df3a
[ci skip] Translation update
2019-09-29 00:32:13 +00:00
HomeAssistant Azure
b04a70995e
[ci skip] Translation update
2019-09-27 00:32:12 +00:00
HomeAssistant Azure
ba92d781b4
[ci skip] Translation update
2019-09-26 00:32:13 +00:00
Paulus Schoutsen
6fdff9ffab
Reorg device automation ( #26880 )
...
* async_trigger -> async_attach_trigger
* Reorg device automations
* Update docstrings
* Fix types
* Fix extending schemas
2019-09-24 14:57:05 -07:00
HomeAssistant Azure
d162e39ec9
[ci skip] Translation update
2019-09-23 00:32:13 +00:00
HomeAssistant Azure
fccbaf3805
[ci skip] Translation update
2019-09-19 00:32:15 +00:00
HomeAssistant Azure
a390cf7c6a
[ci skip] Translation update
2019-09-18 00:32:12 +00:00
Erik Montnemery
504b8c7685
Fix translation, adjust trigger names ( #26635 )
2019-09-17 21:55:01 +02:00
HomeAssistant Azure
771c674e90
[ci skip] Translation update
2019-09-17 00:32:14 +00:00
HomeAssistant Azure
6a9ecf0015
[ci skip] Translation update
2019-09-14 00:32:15 +00:00
HomeAssistant Azure
d4c5cf3967
[ci skip] Translation update
2019-09-12 00:33:41 +00:00
HomeAssistant Azure
9df5c0ab86
[ci skip] Translation update
2019-09-10 00:32:37 +00:00
Erik Montnemery
b14b14c3c9
Add device automation support to switch entities ( #26466 )
...
* Add device automation support to switch entities
* Update switch translations
* Address review comments
2019-09-09 16:55:47 +02:00
HomeAssistant Azure
e204d22a9e
[ci skip] Translation update
2019-09-08 00:32:16 +00:00
Erik Montnemery
28b9416b0c
Device automations: Rename name to entity_name in translations ( #26491 )
2019-09-07 19:07:11 -05:00
HomeAssistant Azure
0b1f389c76
[ci skip] Translation update
2019-09-07 00:32:45 +00:00
HomeAssistant Azure
3714cdaa6d
[ci skip] Translation update
2019-09-06 00:33:40 +00:00
Erik Montnemery
b1c2a5fa08
Add device automation action ( #26455 )
...
* Add support for device actions, with light as example.
* Add translation; return list
2019-09-05 16:26:22 -07:00
Erik Montnemery
f7dc537275
Add device automation condition ( #26313 )
...
* Add support for device conditions
* Lint
* Update test case
* Make and+or conditions async, adjust tests
* Cleanup tests
* Remove non callback versions of conditions, correct typing
* Correct typing
* Update light/strings.json
* Address review comments
* Make device automation lists simple lists, not dicts
* Add device_automation/const.py
* Use IS_ON/IS_OFF everywhere for conditions
2019-09-05 16:49:32 +02:00
HomeAssistant Azure
1cbb895d20
[ci skip] Translation update
2019-09-05 10:11:41 +00:00
Franck Nijhof
7203027cbf
Use literal string interpolation in integrations K-M (f-strings) ( #26389 )
2019-09-03 21:14:00 +02:00
Paulus Schoutsen
0cffd61481
Allow passing dictionaries to async_register_entity_service ( #26370 )
2019-09-03 09:50:24 +02:00
Paulus Schoutsen
385a496944
Update translations
2019-09-01 22:30:09 -07:00
Erik Montnemery
3aa2729716
Add improvements of device_automation from frontend PR 3514 ( #26295 )
...
* Add improvements from frontend PR 3514
* Fix test
* Tweak
2019-09-01 21:40:18 -07: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
Paulus Schoutsen
7aae490a85
Allow area ID in service call schemas ( #25121 )
...
* Allow area ID in service call schemas
* Remove ATTR_ENTITY_ID from service light turn off schcema
2019-07-15 11:31:53 -07:00
Erik Montnemery
935240f8c3
Add websock command to query device for triggers ( #24044 )
...
* Add websock command to query device for triggers
* Lint
* Refactor
* Add support for domain automations
* Make device automation an automation platform
* lint
* Support device_id in light trigger
* Review comments
* Add tests
* Add tests
* lint
2019-06-10 15:36:11 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
cgtobi
31e514ec15
Add missing services.yaml file for hue ( #23217 )
...
* Add hue services.yaml
* Add lifx services.yaml
* Add lutron services.yaml
* Update lifx services.yaml
* Update hue services.yaml
* Revert lifx services.yaml as it is not necessary
* Remove hue from lights/services.yaml
2019-04-19 14:53:58 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Erik Montnemery
98644135fa
Update light/services.yaml ( #22662 )
2019-04-03 20:30:03 +02:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
OleksandrBerchenko
800b1c7fe6
Fix typo in light/__init__.py ( #22581 )
2019-03-31 13:43:54 +02:00
emontnemery
4d1633807c
Turn light off if brightness is 0 ( #22400 )
...
* Turn light off if brightness is 0
* Lint
* Review comments
* Lint
* Fixup, add tests
* Fix trådfri light + test
2019-03-30 21:04:32 -07:00
zewelor
9214934d47
Move yeelight into component ( #21593 )
2019-03-24 13:01:12 +01:00
Paulus Schoutsen
1ddc249989
Consolidate more platforms ( #22308 )
...
* Consolidate final platforms
* Fix some tests
* Fix more tests
* Fix more tests
2019-03-23 20:22:35 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Penny Wood
f195ecca4b
Consolidate all platforms that have tests ( #22109 )
...
* Moved climate components with tests into platform dirs.
* Updated tests from climate component.
* Moved binary_sensor components with tests into platform dirs.
* Updated tests from binary_sensor component.
* Moved calendar components with tests into platform dirs.
* Updated tests from calendar component.
* Moved camera components with tests into platform dirs.
* Updated tests from camera component.
* Moved cover components with tests into platform dirs.
* Updated tests from cover component.
* Moved device_tracker components with tests into platform dirs.
* Updated tests from device_tracker component.
* Moved fan components with tests into platform dirs.
* Updated tests from fan component.
* Moved geo_location components with tests into platform dirs.
* Updated tests from geo_location component.
* Moved image_processing components with tests into platform dirs.
* Updated tests from image_processing component.
* Moved light components with tests into platform dirs.
* Updated tests from light component.
* Moved lock components with tests into platform dirs.
* Moved media_player components with tests into platform dirs.
* Updated tests from media_player component.
* Moved scene components with tests into platform dirs.
* Moved sensor components with tests into platform dirs.
* Updated tests from sensor component.
* Moved switch components with tests into platform dirs.
* Updated tests from sensor component.
* Moved vacuum components with tests into platform dirs.
* Updated tests from vacuum component.
* Moved weather components with tests into platform dirs.
* Fixed __init__.py files
* Fixes for stuff moved as part of this branch.
* Fix stuff needed to merge with balloob's branch.
* Formatting issues.
* Missing __init__.py files.
* Fix-ups
* Fixup
* Regenerated requirements.
* Linting errors fixed.
* Fixed more broken tests.
* Missing init files.
* Fix broken tests.
* More broken tests
* There seems to be a thread race condition.
I suspect the logger stuff is running in another thread, which means waiting until the aio loop is done is missing the log messages.
Used sleep instead because that allows the logger thread to run. I think the api_streams sensor might not be thread safe.
* Disabled tests, will remove sensor in #22147
* Updated coverage and codeowners.
2019-03-18 23:07:39 -07:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00
Marco Orovecchia
cac8e34841
Nanoleaf availability check ( #21945 )
...
* Added availability check for nanoleaf lights
* pylint errors fixed
* pynanoleaf bump
2019-03-13 12:54:15 -07:00