Sid
1db68327f9
Enable Ruff PTH for the script directory ( #124441 )
...
* Enable Ruff PTH for the script directory
* Address review comments
* Fix translations script
* Update script/hassfest/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-06 11:33:01 +02:00
Marc Mueller
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
Jan-Philipp Benecke
baf84b6fba
Add `single_config_entry` manifest option ( #109505 )
...
* Allow setting if we support multiple config entries in config flow
* Move property to config flow instead of flow handler
* Move marking an integration as single instance only to manifest
* Revert line remove
* Avoid init a config flow or adding a new entry on a single instance with an entry
* Revert changes in test
* Process code review comments
* Apply code review suggestion
2024-02-26 19:00:33 +01:00
Aarni Koskela
16fc2972d3
Remove more useless manifest truthiness checks in hassfest ( #82914 )
2022-11-29 21:57:58 +01:00
Aarni Koskela
69d519418e
Remove unnecessary truthiness checks for integration.manifest ( #82319 )
2022-11-28 15:33:14 +01:00
Aarni Koskela
97b40b5f49
Make hassfest strictly typed ( #82091 )
2022-11-23 19:05:31 +01:00
J. Nick Koston
f035223599
Make sure the config_flow key is set for brands ( #82038 )
...
Fixes https://github.com/home-assistant/frontend/issues/14376
2022-11-15 18:27:59 +01:00
Aarni Koskela
f3e85b6492
Deduplicate blackening ( #81802 )
2022-11-09 16:58:20 +01:00
Franck Nijhof
98591cd4b6
Remove hardware and fix raspberry pi brands in integrations.json ( #80970 )
2022-10-25 21:05:04 +02:00
Bram Kragten
36bb0bbc1a
Fix `integrations.json` creation, make `iot_standards` a list ( #80945 )
2022-10-25 13:43:40 +02:00
Paulus Schoutsen
76dbd017a7
Conditionally include config flow and iot_class when relevant ( #80756 )
2022-10-21 20:27:59 -04:00
Franck Nijhof
bb287dd0ed
Integrations v2.1: Virtual integrations ( #80613 )
2022-10-20 23:09:06 -04:00
Franck Nijhof
c4bbc439a5
Integrations v2.1: Differentiating hubs, devices and services ( #80524 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-19 12:41:43 +02:00
Erik Montnemery
b173ae7f44
Add support for integrations v2 ( #78801 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-28 11:31:48 -04:00
Erik Montnemery
27599ea0ee
Minor tweaks of hassfest and loader.py ( #78929 )
2022-09-22 21:54:22 -04:00
Erik Montnemery
1021c90bb8
Use black to format hassfest generated files ( #78794 )
2022-09-19 17:37:22 -04:00
J. Nick Koston
a697672944
Add bluetooth integration ( #74653 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-07-08 18:55:31 -05:00
Paulus Schoutsen
3213091b8d
Add integration type ( #68349 )
2022-03-20 20:38:13 -07:00
J. Nick Koston
dc74a52f58
Add support for USB discovery ( #54904 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 14:04:18 -05:00
Paulus Schoutsen
512a474e93
Allow specifying discovery without a config flow ( #54677 )
2021-08-16 16:28:26 +02:00
Marc Mueller
4cb7718192
Update typing 16 ( #48087 )
2021-03-18 22:58:19 +01:00
J. Nick Koston
da677f7d5a
Add support for discovery via DHCP ( #45087 )
...
* Add support for discovery via DHCP
* additional tesla ouis
* merge tests
* dhcp test
* merge requirements test
* dhcp test
* dhcp discovery
* dhcp discovery
* pylint
* pylint
* pylint
* fix
* Add matching tests
* 100% cover
* cleanup
* fix codespell
* Update exception handling
* remove unneeded comment
* fix options handling exception
* fix options handling exception
2021-01-14 09:09:08 +01:00
Erik Montnemery
343e5d64b8
Add MQTT integration discovery ( #41332 )
...
* Add MQTT integration discovery
* Add script/hassfest/mqtt.py
* Unsubscribe if config entry exists
* Add homeassistant/generated/mqtt.py
* Fix bad loop
* Improve tests
* Improve tests
* Apply suggestions from code review
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
* Prevent initiating multiple config flows
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2020-10-07 18:30:51 +02:00
Joakim Sørensen
0fb73a6332
Add missing manifest object to the check ( #37535 )
2020-07-06 11:21:40 +02:00
Franck Nijhof
3cc94f7d6a
ConfigFlow default discovery without unique ID ( #36754 )
2020-06-15 13:38:38 +02:00
Paulus Schoutsen
e8b16f0dfd
Enforce unique ID for Hassio discovery ( #36671 )
2020-06-12 17:38:38 +02:00
Paulus Schoutsen
42fc332123
Fix scaffold and hassfest references ( #35431 )
2020-05-09 15:50:44 -07:00
Paulus Schoutsen
d74ece92f9
Validate that discovered config flows set a unique ID ( #34751 )
...
Co-Authored-By: Franck Nijhof <git@frenck.dev>
2020-04-27 10:36:56 -07:00
Paulus Schoutsen
371bea03d6
Allow hassfest to validate specific integrations ( #34277 )
2020-04-16 09:00:04 -07:00
Franck Nijhof
f38011560f
Add pyupgrade (in pre-commit and CI) ( #33688 )
...
* Add pyupgrade (in pre-commit and CI)
* Fix leftover results of pyupgrade
* Ensure we run for Python 3.7 on pyupgrade
2020-04-05 12:49:57 +02:00
springstan
ed71683488
Improve string formatting ( #33643 )
2020-04-04 20:17:11 +02:00
Bas Nijholt
5cb6d1b21f
Sort imports according to PEP8 for 'script' folder ( #29790 )
2019-12-09 16:24:03 +01:00
Paulus Schoutsen
7d71976e01
Do not complain about automatic generated files ( #26540 )
...
* Do not complain about automatic generated files
* Update generated files
2019-09-09 12:01:49 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Franck Nijhof
7692cffdbe
✏️ Corrects incorrect command in hassfest ( #24188 )
2019-05-30 09:41:30 -07:00
Paulus Schoutsen
1e22c8daca
Automatically generate config flow list ( #23802 )
...
* Add config flow to manifest.json
* Still load config flows via config flow platform
* Fix typo
* Lint
* Update config_flows.py"
* Catch import error when setting up entry
* Lint
* Fix tests
* Fix imports
* Lint
* Fix Unifi tests
* Fix translation test
* Add homekit_controller config flow
2019-05-13 01:16:55 -07:00