Commit Graph
70541 Commits
Author SHA1 Message Date
eb01998395 Add support for placeholders in entity name translations (#104453)
* add placeholder support to entity name translation

* add negativ tests

* make property also available via description

* fix doc string in translation_placeholders()

* fix detection of placeholder

* validate placeholders for localized strings

* add test

* Cache translation_placeholders property

* Make translation_placeholders uncondotionally return dict

* Fall back to unsubstituted name in case of mismatch

* Only replace failing translations with English

* Update snapshots

* Blow up on non stable releases

* Fix test

* Update entity.py

---------

Co-authored-by: Erik <erik@montnemery.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-03 17:34:47 +01:00
Bram KragtenandGitHub d071299233 Update frontend to 20240103.3 (#106963) 2024-01-03 15:28:22 +01:00
Jonas Fors LellkyandGitHub e2b2732a90 Set precision to halves in flexit_bacnet (#106959)
flexit_bacnet: set precision to halves for target temperature
2024-01-03 14:43:17 +01:00
CR-TechandGitHub df97b0e945 Removed double assignment of _attr_target_temperature_step in __init__ (#106611)
Removed double/wrong assignement of _attr_target_temperature_step into climate Init routine
2024-01-03 13:44:14 +01:00
jan iversenandGitHub 40d4061fc5 Only set precision in modbus if not configured. (#106952)
Only set precision if not configured.
2024-01-03 13:42:55 +01:00
Bram KragtenandGitHub a7ec78601e Update frontend to 20240103.1 (#106948) 2024-01-03 13:18:09 +01:00
Robert ReschandGitHub c90f6f2fea Fix creating cloud hook twice for mobile_app (#106945) 2024-01-03 12:29:05 +01:00
Bram KragtenandGitHub be6ceb020e Update frontend to 20240103.0 (#106942) 2024-01-03 11:32:48 +01:00
Erwin DounaandGitHub 8ad66c11b0 Change Tado deprecation version to 2024.7.0 (#106938)
Change version to 2024.7.0
2024-01-03 10:30:32 +01:00
59a01fcf9c Add try-catch for invalid auth to Tado (#106774)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-03 09:15:39 +01:00
J. Nick KostonandGitHub 7b3ec60f90 Speed up getting the mean of statistics (#106930)
All the values we need to get the mean for are always list[float]
so we can use a much simpler algorithm to get the mean of the list
2024-01-03 09:13:23 +01:00
J. Nick KostonandGitHub 710e55fb09 Bump SQLAlchemy to 2.0.25 (#106931)
* Bump SQLAlchemy to 2.0.25

changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.25

* drop unused ignore now that upstream is fixed
2024-01-03 09:12:35 +01:00
Marc MuellerandGitHub b3f997156a Enable strict typing for counter (#106906) 2024-01-03 09:06:26 +01:00
Jan-Philipp BeneckeandGitHub 32b6e4d5de Bump aioelectricitymaps to v0.1.6 (#106932) 2024-01-03 08:52:41 +01:00
Jan-Philipp BeneckeandGitHub 938c32d35e Avoid triggering ping device tracker home after restore (#106913) 2024-01-03 06:40:42 +01:00
Joe NeumanandGitHub 711498793a Fix qBittorrent torrent count when empty (#106903)
* Fix qbittorrent torrent cound when empty

* lint fix

* Change based on comment
2024-01-03 00:19:00 +01:00
MichaelandGitHub f66438b0ce Remove group_members from significant attributes in media player (#106916) 2024-01-02 23:47:32 +01:00
steffenrappandGitHub 608d52f167 Add translatable title to holiday (#106825) 2024-01-02 23:40:38 +01:00
Josef ZweckandGitHub 87c79ef57f Add tedee bridge as via_device for tedee integration (#106914)
* add bridge as via_device

* add bridge as via_device

* move getting bridge to update_data

* add bridge property
2024-01-02 23:23:50 +01:00
Michael HansenandGitHub 5003993658 Bump intents to 2024.1.2 (#106909) 2024-01-02 15:35:48 -06:00
Marc MuellerandGitHub f0d520d91f Remove assert for unique_id (#106910)
* Remove assert for unique_id

* Use str | None return instead
2024-01-02 22:01:12 +01:00
Marc MuellerandGitHub 1526c321f1 Enable strict typing for axis (#106844) 2024-01-02 20:55:59 +01:00
J. Nick KostonandGitHub e1f078b70a Bump aiohttp-zlib-ng to 0.2.0 (#106691) 2024-01-02 20:50:26 +01:00
Marc MuellerandGitHub 43fa51b696 Enable strict typing for blueprint (#106887) 2024-01-02 20:48:51 +01:00
J. Nick KostonandGitHub 9231e00561 Update switchbot to use close_stale_connections_by_address (#106835) 2024-01-02 20:44:17 +01:00
Bram KragtenandGitHub 584b6c2862 Update frontend to 20240102.0 (#106898) 2024-01-02 20:42:27 +01:00
J. Nick KostonandGitHub 73b36086cf Avoid tuple construction to check HKC available (#106902) 2024-01-02 20:41:54 +01:00
Marc MuellerandGitHub fde03d7888 Enable strict typing for co2signal (#106888) 2024-01-02 20:41:39 +01:00
Marc MuellerandGitHub dcee8e67c4 Add strict typing to command_line (#106889)
* Add strict typing to command_line

* Code review
2024-01-02 20:04:28 +01:00
Allen PorterandGitHub 943fb2791e Improve To-do service error handling (#106886) 2024-01-02 19:50:28 +01:00
J. Nick KostonandGitHub afed45d5d0 Replace intersection with isdisjoint in apple_tv config flow (#106633) 2024-01-02 17:58:00 +01:00
Allen PorterandGitHub 2e4c4729c4 Improve fitbit authentication error handling (#106885) 2024-01-02 17:51:15 +01:00
J. Nick KostonandGitHub 54ba00095b Close stale connections in yalexs_ble to ensure setup can proceed (#106842) 2024-01-02 17:50:10 +01:00
Phil BrucknerandGitHub 4bfeb87377 Remove deprecated Life360 yaml configuration (#106286) 2024-01-02 17:43:33 +01:00
2d0325a471 Mark stt entity component as strictly typed (#106723)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-01-02 17:07:47 +01:00
Erik MontnemeryandGitHub e7b0bf2453 Disable polling in time_date sensor (#106881) 2024-01-02 16:50:07 +01:00
Erik MontnemeryandGitHub a7f4d426ee Handle time zone change in time_date (#106880) 2024-01-02 16:28:22 +01:00
Erik MontnemeryandGitHub 03cbf8b28d Fix state update in time_date sensor (#106879) 2024-01-02 16:22:16 +01:00
Erik MontnemeryandGitHub 513261baff Improve time_date tests (#106878) 2024-01-02 16:04:38 +01:00
starkillerOGandGitHub ba0cb3bd05 Add Reolink image settings (#105415) 2024-01-02 15:39:28 +01:00
J. Nick KostonandGitHub 09b65f14b9 Index entities by domain for entity services (#106759) 2024-01-02 15:28:58 +01:00
David F. MulcaheyandGitHub bf0d891f68 Bump Zigpy to 0.60.4 (#106870) 2024-01-02 08:59:45 -05:00
8f8c0ef13b Deprecate 'beat' display option in Time & Date (#106871)
* Deprecate 'beat' display option in Time & Date

* Move deprecation warning

* Update homeassistant/components/time_date/const.py

Co-authored-by: Sander <developer@golles.nl>

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Sander <developer@golles.nl>
2024-01-02 14:11:45 +01:00
8f9bd75a36 Enable strict typing of date_time (#106868)
* Enable strict typing of date_time

* Fix parse_datetime

* Add test

* Add comments

* Update tests/util/test_dt.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-01-02 13:57:25 +01:00
MichaelandGitHub 15cdd42c99 Apply late review comments on media player (#106727) 2024-01-02 13:37:58 +01:00
SidandGitHub 729a0fbcd5 Move urllib3 constraint to pyproject.toml (#106768) 2024-01-02 13:34:19 +01:00
steffenrappandGitHub 0b9242f809 Add translatable title to logbook (#106810) 2024-01-02 13:30:04 +01:00
Marc MuellerandGitHub 6e6575afe5 Enable strict typing for apache_kafka (#106823) 2024-01-02 13:29:38 +01:00
06fa306821 Mark humidifier entity component as strictly typed (#106721)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-01-02 13:29:07 +01:00
Jan-Philipp BeneckeandGitHub d2a03a4706 Avoid unnecessary domain dataclass in Discovergy (#106869) 2024-01-02 13:28:55 +01:00