Commit Graph
84007 Commits
Author SHA1 Message Date
Franck Nijhof 2182bc3af2 2024.10.1 (#127566) 2024.10.1 2024-10-04 19:33:37 +02:00
Tudor SanduandMartin Hjelmare d9b077154e Blueprints for template entities (#126971)
* Template domain blueprints

* Default blueprint for templates

* Some linting

* Template entity updates

* Load and use blueprints in config

* Added missing mapping methods for templates

* Linting

* Added tests

* Wrong schema type

* Hassfest errors

* More linting issues

* Refactor based on desired schema

In the [architecture discussion](https://github.com/home-assistant/architecture/discussions/1027), the template blueprint instance did not specify the platform (e.g. `binary_sensor`), but the initial implementation assumed that schema.

* Create default template blueprints on first run

* Moved TemplateConfig definition

This is to avoid circular references

* Corrected methods to find templates based on blueprints

* Corrected missing entity config information

* Added tests

* Don't use hass.data

Address comments https://github.com/home-assistant/core/pull/126971/#discussion_r1780097187

* Prevent creating blueprints during testing

* Combine 2 ifs

Address comment https://github.com/home-assistant/core/pull/126971/#discussion_r1780160870

* Improve test coverage

* Prevent template component from dirtying test env

* Remove useless hard-coded validation

* Improve code coverage to 100%

* Address review comments

* Moved helpers in helpers.py

As per comment https://github.com/home-assistant/core/pull/126971#discussion_r1786539889

* Fix blueprint source URL

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-04 16:47:29 +02:00
epenet 7e6c106869 Use HassKey in auth (#127573) 2024-10-04 16:34:04 +02:00
Raj Laud c3e37ef9a0 Add codeowners for Squeezebox (#127564)
* Add codeowners for Squeezebox

* Update CODEOWNERS
2024-10-04 16:31:55 +02:00
epenet 8bbbaae290 Use HassKey in backup (#127546)
* Use HassKey in backup

* Use DATA_MANAGER
2024-10-04 16:01:50 +02:00
Joost Lekkerkerker 79de27544c Simplify Jellyfin (#127353)
* Simplify Jellyfin

* Fix comment
2024-10-04 15:59:11 +02:00
Franck Nijhof 2cbf53ad7b Bump version to 2024.10.1 2024-10-04 14:57:14 +02:00
Joost Lekkerkerker c52607b465 Revert "Bump pychromecast to 14.0.2 (#127333)" (#127555)
This reverts commit 2ab66f62fa.
2024-10-04 14:57:01 +02:00
Joost Lekkerkerker 087566072d Strip the NYT Games token (#127548) 2024-10-04 14:56:58 +02:00
Joost Lekkerkerker 6b814afd39 Create new clientsession for NYT Games (#127547) 2024-10-04 14:56:54 +02:00
Franck Nijhof ea8aa6b07d Adjust polling rate of Rituals Perfume Genie (#127544) 2024-10-04 14:56:51 +02:00
Paarth Shah 1b0f731e30 Bump matrix-nio to 0.25.2 (#127535) 2024-10-04 14:56:48 +02:00
robinostlund 1ebde4a880 Fix int value in unique_id for Tellduslive (#127526)
Fix int in unique_id
2024-10-04 14:56:45 +02:00
Andrew Jackson e53bd477b4 Bump aiomealie to 0.9.3 (#127454) 2024-10-04 14:56:41 +02:00
Brett Adams 3f9287c36b Add missing number platform to init of Tesla Fleet (#127406)
Add number platform to init
2024-10-04 14:56:38 +02:00
Erik Montnemery b2b940fc32 Remove assumption in ConfigEntryItems about unique unique_id (#127399) 2024-10-04 14:56:35 +02:00
TimLandTim Lunn 7d9e170512 Bump pysmlight 0.1.2 (#127376)
Co-authored-by: Tim Lunn <tim@feathertop.org>
2024-10-04 14:56:29 +02:00
Paul Bottein 6ab92abe80 Fix device id support for alarm control panel template (#127340) 2024-10-04 14:47:25 +02:00
Steven B. e30db943db Bump ring-doorbell to 0.9.7 (#127554) 2024-10-04 13:43:54 +02:00
Joost Lekkerkerker e2b4a24a35 Revert "Bump pychromecast to 14.0.2 (#127333)" (#127555)
This reverts commit 2ab66f62fa.
2024-10-04 13:42:35 +02:00
Franck Nijhof 20e3291eb9 Revert Alexa Media Player block (#127553) 2024-10-04 13:13:18 +02:00
Joost Lekkerkerker ebfa2fb1d0 Strip the NYT Games token (#127548) 2024-10-04 12:53:35 +02:00
Joost Lekkerkerker ae8219dc97 Create new clientsession for NYT Games (#127547) 2024-10-04 12:04:33 +02:00
robinostlund 64ea02983b Fix int value in unique_id for Tellduslive (#127526)
Fix int in unique_id
2024-10-04 12:02:33 +02:00
Franck Nijhof f1b6ae8784 Adjust polling rate of Rituals Perfume Genie (#127544) 2024-10-04 11:21:22 +02:00
epenet 8b9b65d3f1 Use reauth helpers in spotify config flow (#127532)
Use async_update_reload_and_abort in spotify
2024-10-04 11:13:03 +02:00
Klaas Schoute e82368ec85 Add entity icons for Autarco integration (#127505) 2024-10-04 11:12:24 +02:00
Paarth Shah d1bee8fe61 Bump matrix-nio to 0.25.2 (#127535) 2024-10-04 11:11:39 +02:00
Joost Lekkerkerker 07704b8511 Add more fixtures to the matter fixture (#126761)
* Add more fixtures to the matter fixture

* Add Valve
2024-10-04 09:24:06 +02:00
epenet 6a44d66fed Fix reolink tests (#127525) 2024-10-04 09:16:49 +02:00
dependabot[bot] 10895514c6 Bump github/codeql-action from 3.26.10 to 3.26.11 (#127524)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 09:07:41 +02:00
Maciej Bieniek 1290f18ed4 Add support for Shelly CCT light (#126989)
* Initial support for cct lights

* Move properties to the RpcShellyCctLight class

* Fix entity names

* Add async_remove_orphaned_entities() function

* Do not return

* Fix tests

* Combine async_remove_orphaned_virtual_entities and async_remove_orphaned_entities

* Remove SHELLY_PLUS_RGBW_CHANNELS from const

* Add tests

* Use _attr*

* Check ColorMode.COLOR_TEMP

* Add sensors for CCT light

* Remove removal condition

* Remove orphaned sensors

* Cleaning

* Add device temperature sensor for CCT light

* Simplify async_remove_orphaned_entities()

* Comment

* Add COMPONENT_ID_PATTERN const

* Call async_add_entities once

* Suggested change

* Better type for keys

* Do not call keys()
2024-10-04 08:49:35 +02:00
David Bonnes 49e634a62f Convert evohome's test factory into an async generator (#126925) 2024-10-04 08:29:36 +02:00
Erik Montnemery 8754b54d81 Fix config entry unique_id collision in tplink tests (#127522) 2024-10-04 08:24:56 +02:00
epenet c191a7cfdb Fix lingering tasks in snooz tests (#127523) 2024-10-04 08:24:01 +02:00
J. Nick Koston 6eb49991a4 Add pylint rule for cached_property (#127482) 2024-10-03 17:53:55 -05:00
Michael 1dd59375f6 Add re-authemtication flow to AVM FRITZ!Box Call Monitor (#127497) 2024-10-03 22:36:41 +02:00
J. Nick Koston c3f0f30910 Prepare websocket writer for aiohttp 3.11 (#127043) 2024-10-03 22:29:29 +02:00
J. Nick Koston 10c033e580 Migrate config_entries to use propcache cached_property (#127495) 2024-10-03 22:28:00 +02:00
Erik Montnemery 48a07d531c Remove assumption in ConfigEntryItems about unique unique_id (#127399) 2024-10-03 22:27:15 +02:00
G Johansson 80582a128a Fix preview available in statistics (#127349) 2024-10-03 22:27:01 +02:00
J. Nick Koston db494de809 Restore __slots__ to core objects (#127441) 2024-10-03 22:23:47 +02:00
epenet 68d58212a9 Adjust type hints in hyperion config_flow (#127273) 2024-10-03 22:20:20 +02:00
Joost Lekkerkerker 48a6dabc5b Remove Spider integration (#127346) 2024-10-03 21:44:30 +02:00
Erik Montnemery 0ae0047246 Fix config entry unique_id collision in lamarzocco tests (#127484) 2024-10-03 21:39:39 +02:00
epenet 49dec1577e Use reauth helpers in elmax config flow (#127417) 2024-10-03 21:38:04 +02:00
J. Nick Koston 4e30bf705c Bump uiprotect to 6.2.0 (#127477) 2024-10-03 13:12:04 -05:00
J. Nick Koston 4e9a91d03f Bump yalexs to 8.9.0 (#127474) 2024-10-03 13:11:50 -05:00
J. Nick Koston 2f8c9d4f93 Bump cached-ipaddress to 0.7.0 (#127475) 2024-10-03 13:11:35 -05:00
J. Nick Koston 0f29fd3e10 Switch to using fast cached_property implementation in propcache (#127339) 2024-10-03 13:11:02 -05:00