1
0
mirror of https://github.com/home-assistant/core.git synced 2026-03-01 06:16:29 +00:00
Files
core/tests/components
Jake Martin 6e024d54f1 Add Monzo integration (#101731)
* Initial monzo implementation

* Tests and fixes

* Extracted api to pypi package

* Add app confirmation step

* Corrected data path for accounts

* Removed useless check

* Improved tests

* Exclude partially tested files from coverage check

* Use has_entity_name naming

* Bumped monzopy to 1.0.10

* Remove commented out code

* Remove reauth from initial PR

* Remove useless code

* Correct comment

* Remove reauth tests

* Remove device triggers from intial PR

* Set attr outside constructor

* Remove f-strings where no longer needed in entity.py

* Rename field to make clearer it's a Callable

* Correct native_unit_of_measurement

* Remove pot transfer service from intial PR

* Remove reauth string

* Remove empty fields in manifest.json

* Freeze SensorEntityDescription and remove Mixin

Also use list comprehensions for producing sensor lists

* Use consts in application_credentials.py

* Revert "Remove useless code"

Apparently this wasn't useless

This reverts commit c6b7109e47202f866c766ea4c16ce3eb0588795b.

* Ruff and pylint style fixes

* Bumped monzopy to 1.1.0

Adds support for joint/business/etc account pots

* Update test snapshot

* Rename AsyncConfigEntryAuth

* Use dataclasses instead of dictionaries

* Move OAuth constants to application_credentials.py

* Remove remaining constants and dependencies for services from this PR

* Remove empty manifest entry

* Fix comment

* Set device entry_type to service

* ACC_SENSORS -> ACCOUNT_SENSORS

* Make value_fn of sensors return StateType

* Rename OAuthMonzoAPI again

* Fix tests

* Patch API instead of integration for unavailable test

* Move pot constant to sensor.py

* Improve type safety in async_get_monzo_api_data()

* Update async_oauth_create_entry() docstring

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-05-07 20:38:58 +02:00
..
2024-04-21 23:25:27 +02:00
2024-03-26 00:02:16 +01:00
2024-04-12 14:47:46 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-04-08 17:24:32 +02:00
2024-05-04 11:56:40 +02:00
2024-03-26 00:02:16 +01:00
2024-03-26 00:02:16 +01:00
2024-04-14 00:14:26 -05:00
2024-04-06 11:07:37 +02:00
2024-05-02 07:38:59 -05:00
2024-04-10 08:55:59 +02:00
2024-04-08 09:29:05 -10:00
2024-04-14 00:14:26 -05:00
2024-03-26 00:02:16 +01:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-03-19 09:01:07 +01:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-04-22 09:29:58 +02:00
2024-03-26 00:02:16 +01:00
2024-03-26 00:02:16 +01:00
2024-04-26 08:48:32 +02:00
2024-05-03 13:28:36 +02:00
2024-04-06 11:07:37 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-05-02 16:24:14 -05:00
2024-04-14 00:14:26 -05:00
2024-04-15 22:25:09 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-04 08:35:44 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-04-14 00:14:26 -05:00
2024-04-06 11:07:37 +02:00
2024-05-07 20:38:58 +02:00
2024-04-26 08:48:32 +02:00
2024-03-26 00:02:16 +01:00
2024-04-06 11:07:37 +02:00
2024-03-18 00:40:38 +01:00
2024-03-26 00:02:16 +01:00
2024-05-03 12:15:51 +02:00
2024-04-06 11:07:37 +02:00
2024-04-06 11:07:37 +02:00
2024-04-10 08:55:59 +02:00
2024-04-26 08:48:32 +02:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-04-15 22:25:09 +02:00
2024-04-21 23:25:27 +02:00
2024-04-18 09:25:03 +02:00
2024-03-19 09:01:07 +01:00
2024-04-14 00:15:10 -05:00
2024-04-21 23:25:27 +02:00
2024-04-06 11:07:37 +02:00
2024-04-05 08:41:15 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-03-26 00:02:16 +01:00
2024-03-26 00:02:16 +01:00
2024-04-12 14:47:46 +02:00
2024-04-12 09:04:16 +02:00
2024-04-12 09:04:16 +02:00
2024-05-07 19:50:07 +02:00
2024-04-01 11:11:59 +02:00
2024-04-21 23:25:27 +02:00
2024-03-26 00:02:16 +01:00
2024-04-01 11:11:59 +02:00
2024-04-21 23:25:27 +02:00
2024-04-21 23:25:27 +02:00
2024-03-26 00:02:16 +01:00
2024-04-06 11:07:37 +02:00
2024-04-12 09:04:16 +02:00
2024-04-12 09:04:16 +02:00
2024-04-10 08:55:59 +02:00
2024-04-10 08:55:59 +02:00
2024-04-10 08:55:59 +02:00
2024-04-06 11:07:37 +02:00
2024-04-06 15:48:52 +02:00
2024-03-26 00:02:16 +01:00
2024-05-06 19:10:06 +02:00
2024-05-06 19:19:47 +02:00
2024-04-12 09:04:16 +02:00
2024-03-26 00:02:16 +01:00
2024-04-12 09:04:16 +02:00