Commit graph

1332 commits

Author SHA1 Message Date
puddly 6295f91a1f
Pin chacha20poly1305-reuseable>=0.12.1 (#109807)
* Pin `chacha20poly1305-reuseable`
Prevents a runtime `assert isinstance(cipher, AESGCM)` error

* Update `gen_requirements_all.py` as well
2024-02-06 16:55:51 +01:00
Marc Mueller 545b888034
Update ruff to 0.2.1 (#109796)
* Update ruff to 0.2.1

* Rename config sections

* Update remapped error codes

* Add ignores
2024-02-06 15:41:34 +01:00
Michael Hansen 5b1e0b2602
Set default for OSTYPE in run-in-env script (#109731) 2024-02-05 20:23:52 +01:00
Joost Lekkerkerker 2c0b897658
Allow the helper integrations to omit icon translation field (#109648) 2024-02-04 22:57:11 +01:00
Paul Bottein 4170a447fc
Allow system and helper integrations to provide entity_component icons (#109045) 2024-01-29 19:26:55 +01:00
J. Nick Koston 601988ecf2
Bump cryptography to 42.0.1 and pyOpenSSL to 24.0.0 (#108956)
* Bump cryptography to 42.0.1

changes: https://github.com/pyca/cryptography/compare/41.0.7...42.0.1

Note that more of the non-rust backend code has been removed
I had to handle that in
https://github.com/bdraco/chacha20poly1305-reuseable/releases/tag/v0.12.1

So there may be other downstream consumers that have a problem

* need pyOpenSSL as well

* too early before coffee
2024-01-27 21:30:00 +01:00
Franck Nijhof fa485513d5
Ensure icon translations aren't the same as the default (#108568) 2024-01-21 12:02:15 +01:00
Franck Nijhof 2b90d968b4
Fix hassfest icon schema for service only (#108494) 2024-01-20 14:39:05 -05:00
Franck Nijhof 6cf8a3e5d1
Pin pandas to 2.1.4 (#108509) 2024-01-20 18:08:35 +01:00
Franck Nijhof 01372024f5
Add icon translations support (#103294)
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2024-01-19 16:56:56 +01:00
Robert Resch edd7feaf10
Add task to install all requirements of an integration (#108262)
* Add task to install the requirements of an integration

* Gather recursive requirements

* Move valid_integration to util

* Apply suggestions from code review

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Implement suggestions

---------

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-01-18 22:11:02 +01:00
J. Nick Koston d8564eba17
Bump lxml to 5.1.0 (#106696)
* Bump lxml to 5.0.0

cython 3.0.7+ is required ?

* bump

* Apply suggestions from code review

* 5.1.0
2024-01-13 21:08:42 -05:00
J. Nick Koston 298e2e2b99
Attempt to fix 32bit docker builds (#107210) 2024-01-05 08:23:04 +01:00
steffenrapp 608d52f167
Add translatable title to holiday (#106825) 2024-01-02 23:40:38 +01:00
Sid 729a0fbcd5
Move urllib3 constraint to pyproject.toml (#106768) 2024-01-02 13:34:19 +01:00
Luke Lashley cc18b9a2d8
Constrain dacite to at least 1.7.0 (#105709) 2024-01-01 18:00:17 -10:00
J. Nick Koston a49999e984
Pin lxml to 4.9.4 (#106694) 2023-12-30 11:29:19 +01:00
Denis Shulyaka 9ba53e03ee
Bump httpx to 0.26.0 and httpcore to 1.0.2 (#106194) 2023-12-21 10:11:00 -10:00
J. Nick Koston f4ee2a1ab4
Bump anyio to 4.1.0 (#105529) 2023-12-12 08:24:24 +01:00
Tudor Sandu 636e38f4b3
Trigger Home Assistant shutdown automations right before the stop event instead of during it (#91165)
Co-authored-by: Erik <erik@montnemery.com>
2023-12-05 11:24:41 -10:00
Erik Montnemery 5b55c7da5f
Remove logic converting empty or falsy YAML to empty dict (#103912)
* Correct logic converting empty YAML to empty dict

* Modify according to github comments

* Add load_yaml_dict helper

* Update check_config script

* Update tests
2023-12-05 18:08:11 +01:00
Joost Lekkerkerker a8ca73a7dd
Finish scaffold config flow with either abort or create entry (#105012) 2023-12-05 17:13:29 +01:00
Joost Lekkerkerker 374b1cfd0c
Fix bug in config flow scaffold (#104965) 2023-12-04 07:48:05 +01:00
Joost Lekkerkerker b56cd169ac
Use constants in config flow scaffold (#104964) 2023-12-04 07:46:36 +01:00
Erik Montnemery 61d82ae9ab
Tweak dockerfile generation (#104717) 2023-11-29 15:20:21 +01:00
Erik Montnemery 999875d0e4
Autogenerate Dockerfile (#104669) 2023-11-29 11:26:50 +01:00
Teemu R 28a3d36bc1
Remove eq3btsmart integration (#94698) 2023-11-28 09:11:32 +01:00
Ville Skyttä fd5cda4ec6
Issue bytes vs str related warnings from tests (#101186) 2023-11-27 21:59:54 +01:00
Aarni Koskela 706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Robert Resch cf9b0e804f
Deprecate legacy api auth provider (#104409)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:16:18 +01:00
J. Nick Koston d90605f9bc
Bump protobuf to 4.25.1 (#104231)
changelog: https://github.com/protocolbuffers/protobuf/releases/tag/v25.1
2023-11-20 12:34:58 +01:00
Ruslan Sayfutdinov 1610dd94f9
Add 'do not edit' comment to generated files (#103923) 2023-11-13 18:33:42 +00:00
Jan Bouwhuis f94167a4bb
Fix invalid oauth2_unauthorized translation ref (#103873)
* Fix invalids oauth2_unauthorized translation ref

* Fix oauth2_failed
2023-11-12 21:13:38 +01:00
Allen Porter 787fb3b954
Improve OAuth error handling in configuration flows (#103157)
* Improve OAuth error handling in configuration flows

* Update strings for all integrations that use oauth2 config flow

* Remove invalid_auth strings

* Revert change to release

* Revert close change in aiohttp mock
2023-11-11 11:02:51 +01:00
Jan Bouwhuis 54cf7010cd
Add ServiceValidationError and translation support (#102592)
* Add ServiceValidationError

* Add translation support

* Extend translation support to HomeAssistantError

* Add translation support for ServiceNotFound exc

* Frontend translation & translation_key from caller

* Improve fallback message

* Set websocket_api as default translation_domain

* Add MQTT ServiceValidationError exception

* Follow up comments

* Revert removing gueard on translation_key

* Revert test changes to fix CI test

* Follow up comments

* Fix CI test

* Follow up

* Improve language

* Follow up comment
2023-11-06 15:45:04 +01:00
J. Nick Koston b9b986dc8d
Bump protobuf to 4.25.0 (#103373) 2023-11-04 10:54:34 -05:00
Matthias Alphart 5cd27a877e
Use setdefault() in scaffold script for setting hass.data (#103338) 2023-11-04 10:51:34 +01:00
Joost Lekkerkerker c3da075554
Use present wording in version bump script (#102897) 2023-10-27 17:50:33 +02:00
Allen Porter 476e867fe8
Add a Local To-do component (#102627)
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-25 13:21:10 +02:00
Erik Montnemery b953f2998c
Rename the safe_mode integration to recovery_mode (#102581)
* Rename safe mode integration to recovery mode

* Update code
2023-10-24 09:11:14 +02:00
Erik Montnemery d5af6c595d
Fix runaway regex in translations.develop (#102386)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-10-23 12:34:32 +02:00
Robert Resch 0c5b963847
Add lokalise multi reference check to hassfest (#101876) 2023-10-23 10:57:19 +02:00
Erik Montnemery 164872e1af
Improve error messages from translation script (#102098)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-22 23:45:27 +02:00
J. Nick Koston 0adb6fb02c
Bump anyio to 4.0.0 (#102552) 2023-10-22 10:34:34 -10:00
J. Nick Koston 7fe2bfa990
Revert "Update numpy to 1.26.1" (#102036) 2023-10-15 05:42:25 -10:00
Marc Mueller 1f1a27d6a5
Update numpy to 1.26.1 (#102021) 2023-10-14 16:30:43 -10:00
Marc Mueller 0b2b486754
Update mypy to 1.6.0 (#101780) 2023-10-11 13:25:11 +02:00
J. Nick Koston 6420cdb42b
Bump httpx to 0.25.0 and httpcore to 0.18.0 (#101635) 2023-10-08 19:08:04 +02:00
Ville Skyttä f7aad4a9e6
Call pytest as python3 -m pytest (#101185) 2023-10-06 13:22:56 +02:00
Marc Mueller 67dfd1a86b
Update grpcio to 1.59.0 (#101287) 2023-10-06 10:08:01 +02:00