Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Erik Montnemery
150f173eed
Mark device conditions from hidden or auxiliary entities as secondary ( #70333 )
2022-04-20 21:41:59 +02:00
Erik Montnemery
64381acbaf
Mark device actions from hidden or auxiliary entities as secondary ( #70278 )
2022-04-20 10:48:46 -07:00
Paulus Schoutsen
824066f519
Device Automation: enforce passing in device-automation-enum ( #69013 )
2022-03-31 14:30:11 -07:00
Erik Montnemery
513d6cc467
Change value of device_automation constant ( #64296 )
...
* Change value of constant CONF_CHANGED_STATES
* Adjust tests
2022-01-17 16:34:40 +01:00
Erik Montnemery
e9b746e874
Add turned on or off device trigger to toggle entity ( #61089 )
...
* Add turned on or off device trigger to toggle entity
* Renamed changed_states trigger to toggled
* Adjust tests
* Fix homekit triggers test
* Add tests
* Adjust tests after rebase
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-03 10:41:30 +01:00
Ville Skyttä
334c6c5c02
Make device automation type an enum ( #62354 )
2021-12-20 19:16:30 +01:00
Paulus Schoutsen
77d02d08bc
Validate device automation capablities WS calls ( #58444 )
2021-10-26 14:47:07 +02:00
Paulus Schoutsen
418d6a6a41
Guard for unexpected exceptions in device automation ( #55639 )
...
* Guard for unexpected exceptions in device automation
* merge
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-03 09:04:50 -07:00
J. Nick Koston
4bde4504ec
Add api to device_automation to return all matching devices ( #53361 )
2021-08-10 14:21:34 -05:00
posixx
312531988a
Vacation Mode on Alarm Panels ( #45980 )
...
Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Khole Jones <ktech6@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-01 17:26:32 +02:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version ( #49916 )
2021-05-17 15:48:41 +02:00
Ruslan Sayfutdinov
02764c2f46
Disable strict type checks for tests ( #49851 )
2021-04-29 15:57:02 +02:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ( #43321 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Bas Nijholt
0427d87ba4
Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors ( #38663 )
2020-08-08 14:41:02 +02:00
Paulus Schoutsen
276f3afb00
Do async_setup_platform in background ( #36244 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-31 22:18:30 -07:00
Paulus Schoutsen
7127310f10
Catch device not found in device automations ( #31401 )
2020-02-02 07:13:07 -08:00
Christian Clauss
1d537ad416
Fix typo: serivce --> service ( #31217 )
2020-01-27 19:56:26 +01:00
Bas Nijholt
2cd55bbb87
Sort imports according to PEP8 for device_automation ( #29707 )
2019-12-09 11:24:49 +01:00
SukramJ
1fde0d18ed
Add supported_features to Alarm Control Panel to limit device_actions ( #29065 )
...
* Add supported_features to Alarm Control Panel
* mark supported_features abstract
* Add SF to async_register_entity_service
* fix test
* Add missing SF SUPPORT_ALARM_ARM_CUSTOM_BYPASS
* isort
* fix async_register_entity_service
* Update alarm_control_panel.py
2019-11-25 15:42:53 -08:00
Erik Montnemery
43c85c0549
Add device action support to the alarm_control_panel integration ( #27616 )
...
* Add device action support to the alarm_control_panel integration
* Improve tests
2019-10-16 21:34:56 -07:00
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
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
Erik Montnemery
5a1da72d5e
Improve validation of device action config ( #27029 )
2019-10-01 20:35:36 -07:00
Erik Montnemery
e57e7e8449
Improve validation of device trigger config ( #26910 )
...
* Improve validation of device trigger config
* Remove action and condition checks
* Move config validation to own file
* Fix tests
* Fixes
* Fixes
* Small tweak
2019-09-27 17:48:48 +02:00
Erik Montnemery
504b8c7685
Fix translation, adjust trigger names ( #26635 )
2019-09-17 21:55:01 +02:00
Erik Montnemery
02ded7a4a8
Remove device from device action schema ( #26536 )
2019-09-09 10:40:22 -07: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
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
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -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