Marc Mueller
c1b24e6ba2
Small typing improvements ( #126818 )
...
* Add from __future__ import annotations
* Use PEP 695 type aliases
* Fix generator typing
2024-09-26 13:51:27 +02:00
Alex Yao
26281662b5
Enable config flow for html5 ( #112806 )
...
* html5: Enable config flow
* Add tests
* attempt check create_issue
* replace len with call_count
* fix config flow tests
* test user config
* more tests
* remove whitespace
* Update homeassistant/components/html5/issues.py
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
* Update homeassistant/components/html5/issues.py
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
* fix config
* Adjust issues log
* lint
* lint
* rename create issue
* fix typing
* update codeowners
* fix test
* fix tests
* Update issues.py
* Update tests/components/html5/test_config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update tests/components/html5/test_config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update tests/components/html5/test_config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* update from review
* remove ternary
* fix
* fix missing service
* fix tests
* updates
* adress review comments
* fix indent
* fix
* fix format
* cleanup from review
* Restore config schema and use HA issue
* Restore config schema and use HA issue
---------
Co-authored-by: alexyao2015 <alexyao2015@users.noreply.github.com>
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-08-30 23:22:14 +02:00
Erik Montnemery
cffa8b4feb
Update icons.json to new service schema part 2 ( #124769 )
2024-08-28 13:47:41 +02:00
Michael
a988cd050b
Fix error message in html5 ( #123749 )
2024-08-13 08:50:02 +02:00
Joost Lekkerkerker
1fdd056c0e
Fix ruff manual-dict-comprehension PERF403 ( #120723 )
...
* Fix PERF403
* Fix
* Fix
2024-06-28 14:17:47 +02:00
epenet
4bfecea2f4
Force alias when importing notify PLATFORM_SCHEMA ( #120494 )
2024-06-26 10:02:24 +02:00
J. Nick Koston
9d54aa205b
Fix non-thread-safe operations in html5 ( #116068 )
...
Fix non thread-safe calls in html5
https://github.com/home-assistant/core/actions/runs/8808425552/job/24177668764?pr=116055
2024-04-24 03:33:19 +02:00
Joost Lekkerkerker
223e63b2d3
Add service icons to HTML5 ( #113309 )
2024-03-14 13:39:41 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05:00
Marc Mueller
8ca127df2a
Use KEY_HASS [h-z] ( #112610 )
2024-03-07 18:03:44 +01:00
Shay Levy
53be4ebab5
Bump pywebpush to 1.14.1 ( #111082 )
2024-02-21 19:46:08 +01:00
Ville Skyttä
e7b6037419
Remove unnnecessary pylint configs from components [e-l]* ( #99004 )
2023-08-25 09:46:34 +02:00
Franck Nijhof
7bc90297d2
Migrate integration services (G-H) to support translations ( #96372 )
2023-07-12 12:31:26 +02:00
epenet
db6dba87e5
Use load_json_object in html5 ( #88586 )
2023-02-22 13:57:32 +01:00
epenet
ba23816a0c
Inverse json import logic ( #88099 )
...
* Fix helpers and util
* Adjust components
* Move back errors
* Add report
* mypy
* mypy
* Assert deprecation messages
* Move test_json_loads_object
* Adjust tests
* Fix rebase
* Adjust pylint plugin
* Fix plugin
* Adjust references
* Adjust backup tests
2023-02-16 11:37:57 +01:00
Erik Montnemery
899adef590
Sort manifests 4 ( #87025 )
2023-02-08 20:27:05 +01:00
epenet
2bef69c6a7
Add hints to get_service in integrations (1/2) ( #86692 )
2023-01-26 16:56:57 +01:00
Milan Meulemans
cefdce5002
Remove deprecated GCM API from html5 ( #83229 )
...
* Remove deprecated GCM API
* Cleanup code after removing GCM
* Make vapid required
* Use dict[key] instead of dict.get(key) for vapid config
2022-12-04 18:34:54 +01:00
Alex Yao
652fedf4d1
Fix html5 Firefox Notifications ( #82556 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
fixes undefined
2022-12-02 20:51:16 -05:00
Eric Severance
3953b6abe2
Fix error handling for expired html5 registration ( #67676 )
2022-03-30 13:30:08 +02:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
Erik Montnemery
3b7448bb1c
Import websocket_api (part 2) ( #63906 )
2022-01-11 17:26:25 +01:00
epenet
fb272f58fb
Ensure service calls are typed [h-i] ( #62914 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:19:14 +01:00
Marc Mueller
184e0d7fdf
Use assignment expressions 26 ( #58187 )
2021-10-22 11:31:17 +02:00
Ville Skyttä
d8d34fdd3b
Prefer HTTPStatus over int in HA view JSON functions ( #56504 )
...
* Prefer HTTPStatus over int in HA view JSON functions
* Update zwave tests to not expect a fixed typo
2021-09-22 21:59:52 +03:00
Ruslan Sayfutdinov
7195b8222b
Bump PyJWT to 2.1.0 ( #55911 )
2021-09-07 20:59:02 -07:00
tkdrob
4ce3038b29
Add targets and selectors for services (G-H) ( #50524 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-12 20:49:04 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Franck Nijhof
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
tkdrob
4fdb617e22
Clean up constants ( #46924 )
...
* Clean up constants
* fix imports
2021-02-23 09:56:44 +01:00
J. Nick Koston
af74e36d16
Update html5 to use async_add_executor_job ( #41788 )
2020-10-13 22:26:14 +02:00
Robbie Trencheny
b859be8cea
Remove my codeownership over things I dont use anymore ( #37401 )
2020-07-03 09:41:23 +02:00
springstan
46bbe816f6
Remove None from dict.get(key, None) ( #33794 )
2020-04-07 21:06:05 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* 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
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) ( #30532 )
2020-01-07 08:19:17 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Bas Nijholt
8b39957c56
Sort imports according to PEP8 for components starting with "H" ( #29768 )
2019-12-09 14:19:48 +01:00
Paulus Schoutsen
a050d54847
Make hassfest stricter ( #29494 )
...
* Make hassfest stricter
* Update manifest.json
2019-12-05 10:15:28 +01:00
Raman Gupta
fb9f561052
move html5 service to html5 domain ( #29145 )
2019-11-27 11:13:27 +01:00
Quentame
7637ceb880
Move imports in html5 component ( #27473 )
...
* Move imports in html5 component
* Fix tests 1
* Fix tests 2
2019-10-17 21:17:23 +02:00
ju
288d370ef5
Fix html5 notification documentation url ( #27636 )
2019-10-14 10:28:25 -05:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Franck Nijhof
f9edec19ad
Use literal string interpolation in integrations H-J (f-strings) ( #26380 )
2019-09-03 17:27:14 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Ville Skyttä
258dc80fbd
Remove some Python 2 compatibility code ( #25341 )
2019-07-20 08:04:18 -05:00
Pawel
068749bcbe
fix two times creating JWT headers. ( #23777 )
2019-05-09 16:13:13 -07:00
Pawel
1f551e5f6f
Add TTL support and custom headers support. ( #22988 )
...
* Add TTL custom support and custom headers support.
* fix pywebpush version
* removed whitespaces surrounding docstrings.
* fixes for tests
* priority option to data
* checking of ATTR_ENDPOINT
* change checking of target to vol.Schema
* more tests
2019-05-06 16:37:05 -07:00
Paulus Schoutsen
a52f96b23a
Add stub services.yaml and make validation mandatory ( #23213 )
2019-04-18 15:13:35 -07:00