Commit graph

623 commits

Author SHA1 Message Date
Paulus Schoutsen
d74ece92f9
Validate that discovered config flows set a unique ID ()
Co-Authored-By: Franck Nijhof <git@frenck.dev>
2020-04-27 10:36:56 -07:00
Paulus Schoutsen
4a08c65205
Validate translations for custom components () 2020-04-22 06:24:45 -07:00
Paulus Schoutsen
e002c84eba
Don't set step title if it's integration title () 2020-04-22 15:05:39 +02:00
Paulus Schoutsen
e9ff1940d6
Translation fixes and tweaks ()
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
2020-04-21 17:57:21 -07:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations () 2020-04-21 16:11:05 -07: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
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter () 2020-04-20 18:07:50 -07:00
Paulus Schoutsen
d560e8245a
Import state strings () 2020-04-20 16:25:35 -07:00
Paulus Schoutsen
b4282fca84 Fix return in translation script 2020-04-19 20:37:49 -07:00
Paulus Schoutsen
4720a7a891
Add foundation for state translations () 2020-04-19 20:35:49 -07:00
Paulus Schoutsen
55af2ab4dc
Add a script to clean the frontend translations () 2020-04-17 09:47:49 -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
0d60d40512 Update translations 2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name () 2020-04-16 12:52:53 -07:00
Paulus Schoutsen
6119e79023
Migrate frontend translations of domains to backend () 2020-04-16 11:52:27 -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
72cc656b7e
Add Translations 2.0 migrate script () 2020-04-15 13:53:52 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root () 2020-04-15 09:41:18 -07:00
Paulus Schoutsen
8e6e8dfbe0
Migrate translations_develop script ()
* Migrate translations_develop script

* Fix lint
2020-04-10 14:17:09 -07:00
Paulus Schoutsen
e9e1ec5312
Migrate translations clean script () 2020-04-09 17:54:56 -07:00
Paulus Schoutsen
e9c412bac6
Migrate translations upload ()
* Migrate translations upload

* Fix token in download command

* Minor cleanup
2020-04-09 17:52:33 -07:00
Paulus Schoutsen
425c97626a
Consolidate translation script ()
* Consolidate translation script

* Remove commented code
2020-04-09 14:13:20 -07:00
Paulus Schoutsen
10d25c798e
Add script to clean up translations () 2020-04-08 10:48:36 -07:00
Franck Nijhof
d33cf28936
Add check executables have shebangs (in pre-commit and CI) ()
* Add check executables have shebangs (in pre-commit and CI)

* Fix file permissions

* Adjust Azure Pipelines
2020-04-05 18:45:43 +02:00
springstan
fca90a8ddc
Improve string formatting v5 ()
* Improve string formatting v5

* Address review comments
2020-04-05 17:48:55 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ()
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
springstan
e3bcfb88e7
Improve string formatting v4 ()
* Improve string formatting v4

* Use normal strings instead of f-strings

* Fix zeroconf test by adding back part of a condition
2020-04-05 16:01:41 +02:00
Franck Nijhof
f38011560f
Add pyupgrade (in pre-commit and CI) ()
* 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
Franck Nijhof
24840b54ac
Add yamllint (in pre-commit and CI) ()
* Add yamllint (in pre-commit and CI)

* Fix linting for all YAML files

* Bump and add it to requirements

* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
springstan
dde93304d3
Improve string formatting v2 ()
* Improve string formatting v2

* Improve string formatting v3

* Address review comments
2020-04-04 23:09:34 +02:00
springstan
ed71683488
Improve string formatting () 2020-04-04 20:17:11 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
Paulus Schoutsen
397238372e
Remove group as a dependency from entity integrations ()
* remove group dependency

* Update device sun light trigger

* Add zone dep back to device tracker
2020-03-16 14:47:44 -07:00
Paulus Schoutsen
1d3647e6a1
Make gen_requirements_all.py case insensitive for ignored pack… () 2020-03-04 17:39:59 -08:00
Paulus Schoutsen
db7d0eb9b9
Remove hassfest blacklisted rest ()
* Remove blacklisted deps from hassfest deps

* Whitelist all internal integrations
2020-03-03 13:57:09 -08:00
Paulus Schoutsen
270758417b
Properly define depenency for Scrape integration on Rest integ… () 2020-02-24 00:03:33 -08:00
Paulus Schoutsen
f975654ae7
Mock setup_entry in oauth2 tests ()
* Mock setup_entry in oauth2 tests

* Fix scaffold constant
2020-02-23 12:23:21 +01:00
Franck Nijhof
bf1092ec80
Add minimal version contrain to urllib3 () 2020-02-20 19:19:09 +01:00
Franck Nijhof
b2f2afaf0c
Prevent committing to dev/master/rc directly ()
* Prevent committing to dev/master/rc directly

* Skip pre-commit on version bump
2020-02-20 09:34:30 -08:00
Tom Harris
f6540e3002
Fix pre-commit hook issue on Windows ()
* Make shebang compatable with Windows

* Prehook test

* Undo prehook test
2020-02-18 13:33:52 -08:00
Paulus Schoutsen
b73531b2fc
Untag discovery as an allowed dependency () 2020-02-18 08:32:56 -08:00
Austin Mroczek
1fa16eefc9
Fix translations_develop () 2020-02-18 08:58:49 +01:00
Paulus Schoutsen
71a81c443f
Limit translations_develop to an integration ()
* limit translations_develop to english

* Convert to Python

* Limit to integration

* Add to hassfest

* Remove old bash comment
2020-02-14 09:26:50 -08:00
Paulus Schoutsen
3b3e062a35
Whitelist shopping list updated event ()
* Whitelist shopping list updated event

* Add ignore to hassfest
2020-02-12 10:13:07 -08:00
Paulus Schoutsen
cde414e1df
Use set for dependency lookup in hassfest () 2020-02-12 12:59:59 +01:00
Ville Skyttä
dc5ca461a9
Run mypy through a pyenv/virtualenv enabler wrapper script () 2020-02-01 07:12:46 -08:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ()
* Fix typos found by codespell

* Fix typos found by codespell

* codespell: Furture  ==> Future

* Update test_config_flow.py

* Update __init__.py

* Spellcheck: successfull  ==> successful

* Codespell: unsuccesful  ==> unsuccessful

* Codespell: cant  ==> can't

* Codespell: firware ==> firmware

* Codespell: mimick  ==> mimic
2020-01-31 08:33:00 -08:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ()
* Fix callback and async

* Fix a return

* Fix test

* Fix mqtt tests

* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Oscar Calvo
d813618d0d Add Gammu based local SMS notifications ()
* Add sms integration

Committer: ocalvo <oscar@calvonet.com>

* Fix PyLint

* Update requirements
2020-01-28 09:35:41 +01:00