Commit Graph

24 Commits (a08f42e5162cb388d4b4f7e7549b585c19c37e96)

Author SHA1 Message Date
Paulus Schoutsen c8f584f4ef
Validate requirements format in hassfest ()
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-08-24 08:51:07 +02:00
J. Nick Koston dc74a52f58
Add support for USB discovery ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 14:04:18 -05:00
Ruslan Sayfutdinov 37466ae423
Don't ignore mypy errors by default () 2021-04-26 14:23:21 +02:00
Marc Mueller 8e2b5b36b5
Bump pyupgrade to 2.12.0 () 2021-04-09 09:58:27 -07:00
Joakim Sørensen edfb8c3423
Add version to hassfest for custom integrations ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-25 13:31:14 +01:00
J. Nick Koston da677f7d5a
Add support for discovery via DHCP ()
* 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 ()
* 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
Paulus Schoutsen c9f87afd8b
Optimize requirements check with stdlib ()
* Check requirements don't conflict stdlib

* Use regex
2020-09-10 10:51:13 +02:00
Martin Hjelmare 8eed7110a1
Add hassfest requirements validation () 2020-09-06 23:41:41 +02:00
Franck Nijhof ca08b70984
Revert removal of JSON validator in hassfest ()
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
2020-04-21 14:42:04 -07:00
Paulus Schoutsen 2326a2941e
Improve error message when people have not moved config flow title yet () 2020-04-16 18:00:30 -07:00
Paulus Schoutsen 371bea03d6
Allow hassfest to validate specific integrations () 2020-04-16 09:00:04 -07:00
Paulus Schoutsen 1ffc3a00e7
Add translations check script () 2020-04-15 16:58:20 -07:00
Paulus Schoutsen 98bac43228
Validate coveragerc with hassfest ()
* Validate coveragerc

* Test if files exists

* Print progress

* Flush
2020-01-24 10:25:46 -08:00
Franck Nijhof 38a6fffecb
Add JSON files validation to hassfest () 2019-12-09 22:43:38 +01:00
Bas Nijholt 5cb6d1b21f Sort imports according to PEP8 for 'script' folder () 2019-12-09 16:24:03 +01:00
Franck Nijhof decf13b948 Use literal string interpolation in core (f-strings) () 2019-08-23 09:53:33 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen 9debbfb1a8
Add SSDP integration ()
* Add SSDP integration

* Fix tests

* Sort all the things

* Add netdisco to test requirements
2019-05-26 19:48:27 -07:00
Robert Svensson 636077c74d Zeroconf discovery for config entries ()
* Proof of concept

* Follow comments

* Fix line length and bad imports

* Move imports to top

* Exception handling for unicode decoding
Create debug print for new service types
Add empty test files

* First try at a test

* Add type and name to service info
Fix static check

* Add aiozeroconf to test dependencies
2019-05-21 15:36:26 -07:00
Paulus Schoutsen 1e22c8daca
Automatically generate config flow list ()
* 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
Paulus Schoutsen 00d26b3049 Random hassfest fixes () 2019-04-23 08:34:36 +02:00
Paulus Schoutsen 33b8241d26
Add services.yaml validator ()
* Add services.yaml validator

* Fix path
2019-04-18 13:40:46 -07:00
Paulus Schoutsen e8343452cd
Validate component usage ()
* Update manifest validator

* Update circle

* Update text

* Typo

* fix link to codeowners

* Merge CODEOWNERS into hassfest

* Annotate errors with fixable

* Convert error to warning

* Lint

* Make abs path

* Python 3.5...

* Typo

* Fix tests
2019-04-13 13:17:01 -07:00