Commit Graph

51 Commits (dev)

Author SHA1 Message Date
Michael 932bf81ac8
Add common constant `ATTR_CONFIG_ENTRY_ID` (#150067) 2025-08-06 12:42:51 +02:00
Andrew Jackson 4318e29ce8
Bump aiomealie to 0.10.1 (#149890) 2025-08-03 14:18:13 +02:00
Erik Montnemery d77a3fca83
Exclude is_new from DeviceEntry snapshots (#149801) 2025-08-01 11:01:26 +02:00
Erik Montnemery 0d7608f7c5
Deprecate DeviceEntry.suggested_area (#149730) 2025-08-01 10:34:34 +02:00
lucasfijen 91be25a292
Add get recipes search service to Mealie integration (#149348)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-07-30 15:43:10 +02:00
epenet a007e8dc26
Use async_load_fixture in async test functions (l-z) (#145717)
* Use async_load_fixture in async test functions (l-z)

* Adjust
2025-06-01 06:29:17 -07:00
Erik Montnemery 4e1d5fbeb0
Add WS command to help reset custom entity_id (#145504)
* Add WS command to help reset custom entity_id

* Calculate suggested object id from entity properties

* Fix logic and add additional tests

* Adjust test

* Update folder_watcher test

* Handle current entity id matches the automatic entity id

* Don't store calculated_object_id

* Update snapshots

* Update snapshots

* Update test

* Tweak logic for reusing current entity_id

* Improve test

* Don't assign same entity_id to several entities

* Prioritize custom entity name

* Update snapshots

* Update snapshots
2025-05-26 19:28:27 +02:00
Simone Chemelli 484a547758
Fix pylance warning on SnapshotAssertion import (#145206) 2025-05-19 13:55:48 +02:00
Erik Montnemery 4b34d1bbb5
Merge config subentry feature branch to dev (#136121)
* Reapply "Add support for subentries to config entries" (#133470) (#136061)

* Reapply "Add support for subentries to config entries" (#133470)

This reverts commit ecb3bf79f3.

* Update test snapshot

* Add config subentry support to device registry (#128157)

* Add config subentry support to device registry

* Apply suggestions from code review

* Update syrupy serializer

* Update snapshots

* Address review comments

* Allow a device to be connected to no or a single subentry of a config entry

* Update snapshots

* Revert "Allow a device to be connected to no or a single subentry of a config entry"

This reverts commit ec6f613151cb4a806b7961033c004b71b76510c2.

* Update test snapshots

* Bump release version in comments

* Rename config_subentries to config_entries_subentries

* Add config subentry support to entity registry (#128155)

* Add config subentry support to entity registry

* Update syrupy serializer

* Update snapshots

* Update snapshots

* Accept suggested changes

* Clean registries when removing subentry (#136671)

* Clean up registries when removing subentry

* Update tests

* Clean up subentries from deleted devices when removing config entry (#136669)

* Clean up subentries from deleted devices when removing config entry

* Move

* Add config subentry support to entity platform (#128161)

* Add config subentry support to entity platform

* Rename subentry_id to config_subentry_id

* Store subentry type in subentry (#136687)

* Add reconfigure support to config subentries (#133353)

* Add reconfigure support to config subentries

* Update test

* Minor adjustment

* Rename supported_subentry_flows to supported_subentry_types

* Address review comments

* Add subentry support to kitchen sink (#136755)

* Add subentry support to kitchen sink

* Add subentry reconfigure support to kitchen_sink

* Update kitchen_sink tests with subentry type stored in config entry

* Update kitchen_sink

* Update kitchen_sink

* Adjust kitchen sink tests

* Fix hassfest

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Improve docstrings and strings.json

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-10 16:40:07 +01:00
Joost Lekkerkerker 26e0fcdb08
Improve Mealie set mealplan service (#130606)
* Improve Mealie set mealplan service

* Fix

* Fix
2024-12-31 17:06:42 -05:00
Joost Lekkerkerker 9a0035e090
Fix Mealie test coverage (#133659) 2024-12-20 23:45:54 +01:00
Andrew Jackson 92204e6c92
Bump aiomealie to 0.9.4 (#131951) 2024-11-30 12:15:19 +01:00
Abílio Costa d8dd6a99b3
Use default translation on SensorEntity unit_of_measurement (#131633)
* Use translations on SensorEntity unit_of_measurement property

* Use default language for unit translation

* Update brother integration snapshot

* Update snapshots
2024-11-27 14:45:53 +01:00
Andrew Jackson 132a8cc31b
Detect ingress host used when adding a Mealie integration (#130418)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-11-26 19:30:05 +01:00
Andrew Jackson 4e9f03a5ca
Add unit of measurement to translations for Mealie (#131345) 2024-11-26 08:29:15 +01:00
Paulus Schoutsen 33983fa9a7
Update snapshots for mashumaro 3.15 (#131406)
* Update snapshots

* Add it back
2024-11-23 15:32:05 -05:00
Marc Mueller bdfb47e999
Fix AsyncMock imports (#129192) 2024-10-26 01:47:27 +02:00
epenet 25aea140be
Cleanup unnecessary reconfigure_confirm from config flows (#128086) 2024-10-14 12:57:15 +02:00
epenet 9873371413
Use start_reconfigure_flow in config flow tests (#127191)
* Use start_reconfigure_flow in config flow tests

* Adjust fritz
2024-10-02 10:01:15 +02:00
Joost Lekkerkerker 240bd6c3bf
Bump aiomealie to 0.9.0 (#124924)
* Bump aiomealie to 0.9.0

* Bump aiomealie to 0.9.0
2024-08-30 16:41:48 +02:00
epenet 57a73d1b1b
Use start_reauth helper method in integration tests (m-o) (#124790) 2024-08-28 16:19:31 +02:00
Joost Lekkerkerker e8d7eb05ae
Delete unused snapshots (#123656)
* Delete unused snapshots

* Delete unused snapshots
2024-08-12 13:28:09 +02:00
Andrew Jackson ecadf6a330
Log line wrap in Mealie integration (#122635)
Log line wrap
2024-07-26 10:21:39 +02:00
Andrew Jackson 131ce09490
Allow nightly Mealie versions to pass (#121761)
* Allow invalid versions to pass

* Add log warning

* Change log message

* Add assert for log
2024-07-25 17:27:08 +02:00
Joost Lekkerkerker 7ec41275d5
Add mealie service to set mealplan (#122317) 2024-07-22 15:34:10 +02:00
Joost Lekkerkerker 273dc0998f
Clean up Mealie service tests (#122316) 2024-07-21 10:15:28 -05:00
Joost Lekkerkerker 6f4a8a4a14
Add Mealie service to set a random mealplan (#122313)
* Add Mealie service to set a random mealplan

* Fix coverage

* Fix coverage
2024-07-21 16:43:46 +02:00
Joost Lekkerkerker 8d01ad98eb
Clean up Mealie coordinator (#122310)
* Clean up Mealie coordinator

* Clean up Mealie coordinator

* Clean up Mealie coordinator

* Fix

* Fix
2024-07-21 16:24:46 +02:00
Joost Lekkerkerker 874b1ae873
Add sensor platform to Mealie (#122280)
* Bump aiomealie to 0.7.0

* Add sensor platform to Mealie

* Fix
2024-07-21 14:59:22 +02:00
Joost Lekkerkerker 7f82fb8cb8
Bump aiomealie to 0.8.0 (#122295)
* Bump aiomealie to 0.8.0

* Bump aiomealie to 0.8.0
2024-07-21 14:52:18 +02:00
Joost Lekkerkerker f8ba4d41ba
Add support for adding model_id in device info (#121989) 2024-07-16 15:12:25 +02:00
Joost Lekkerkerker 12384104f4
Fix Mealie mealplan service date parsing (#121844) 2024-07-12 15:21:48 +02:00
Joost Lekkerkerker 3be95ebc87
Add verify SSL option to Mealie (#121767) 2024-07-11 17:23:26 +02:00
Joost Lekkerkerker 73475aa675
Dynamically create and delete todo lists in mealie (#121710) 2024-07-11 10:19:45 +02:00
Joost Lekkerkerker 4c972694cd
Add reconfigure flow to Mealie (#121750) 2024-07-11 09:11:59 +02:00
Joost Lekkerkerker 385576bfb2
Add reauth flow to Mealie (#121697) 2024-07-11 00:24:48 +02:00
Joost Lekkerkerker 0462582da3
Use new constants in todo tests (#121727) 2024-07-11 00:01:17 +02:00
Andrew Jackson a9c9963f0f
Mealie min version check (#121677) 2024-07-10 21:25:49 +02:00
Joost Lekkerkerker 1e0c03257c
Add diagnostics to Mealie (#121700) 2024-07-10 21:09:03 +02:00
Joost Lekkerkerker 43806553fc
Add service to import recipe to mealie (#121598) 2024-07-10 14:33:17 +02:00
Andrew Jackson 898803abe9
Add shopping lists to Mealie integration (#121534)
* Add mealie shopping lists & tests

* Add shopping_lists init failure

* Fix coordinator name

* Fixes

* Add available, fix merge

* Fixes

* Fixes

* Add todo failure tests

* Fix tests
2024-07-09 18:39:22 +02:00
Joost Lekkerkerker a1fae0e0ce
Fix missing validation and service definition in Mealie (#121578) 2024-07-09 11:55:12 +02:00
Joost Lekkerkerker 5f088e0501
Add Mealie service to get recipe (#121462) 2024-07-08 17:11:35 +02:00
Joost Lekkerkerker f126360c67
Add Mealie service to get mealplan (#120824)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-07-07 21:19:20 +02:00
Joost Lekkerkerker 1fefd396b9
Add mealie version to device info (#121443) 2024-07-07 17:13:15 +02:00
Joost Lekkerkerker d95b28bdee
Sort mealie mealplans (#121433) 2024-07-07 15:01:58 +02:00
Marc Mueller 921430d497
Import Generator from collections.abc (3) (#120916) 2024-07-01 12:09:11 +02:00
Joost Lekkerkerker 25932dff28
Add unique id to Mealie config entry (#120816) 2024-06-29 17:48:28 +02:00
Joost Lekkerkerker 0ab7647fea
Use meal note as fallback in Mealie (#120828) 2024-06-29 17:47:21 +02:00
Erik Montnemery 9bbeb5d608
Add primary_config_entry attribute to device registry entries (#119959)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-26 12:26:24 +02:00