Commit graph

14 commits

Author SHA1 Message Date
Bas Nijholt
5cb6d1b21f Sort imports according to PEP8 for 'script' folder () 2019-12-09 16:24:03 +01:00
Paulus Schoutsen
004476a1f8 Add intent integration to expose intent handle API ()
* Add intent integration to expose intent handle API.

* Run hassfest + fix scaffolding

* Update __init__.py
2019-11-27 11:25:43 +01:00
Fabian Affolter
314c3d0965 Use integration name in docstring () 2019-11-02 21:28:07 -07:00
Paulus Schoutsen
24c29f9227
Add OAuth2 config flow scaffold ()
* Add OAuth2 scaffold

* Generate integration if non-existing domain specified

* Update URL
2019-10-29 20:34:03 -07:00
Ville Skyttä
759ad08930 Typing misc fixes ()
* Make async_get_conditions return type hint more specific

* Exclude script/scaffold/templates/ from pre-commit mypy
2019-10-14 13:03:37 -07:00
Erik Montnemery
dbe366933f Fix typing for device condition scaffold () 2019-10-12 16:37:32 +03:00
Erik Montnemery
0ba4ee1398 Validate generated device actions ()
* Validate generated actions

* Use hass.services.async_call instead of service.async_call_from_config
2019-10-08 10:06:17 -07:00
Erik Montnemery
c72ac87c73 Fix device condition scaffold () 2019-10-07 20:10:21 -07:00
Erik Montnemery
dabdf8b577 Validate generated device triggers ()
* Validate generated trigger

* Update scaffold
2019-10-07 13:09:48 -07:00
Franck Nijhof
d4a67e3a30 Update documentation link URL for integrations (part2) () 2019-10-02 09:34:07 -07:00
Paulus Schoutsen
77654da341
Add templates to scaffold device_trigger, device_condition, ()
device_action
2019-09-27 12:54:17 -07:00
Paulus Schoutsen
53e6b8ade6
Add reproduce state template ()
* Add reproduce state template

* Handle invalid state
2019-09-23 23:23:53 -07:00
Paulus Schoutsen
5a4a3e17cc Split scaffolding script ()
* Add scaffolding split

* Add second config flow method
2019-09-22 21:46:50 -06:00
Paulus Schoutsen
8502f7c7d4
Add integration scaffolding script ()
* Add integration scaffolding script

* Make easier to develop

* Update py.test -> pytest
2019-09-20 17:02:18 -07:00