1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-13 15:30:03 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Joost Lekkerkerker
b3eb0301ae Remove YAML import in Point () 2025-04-14 14:37:45 +02:00
Joost Lekkerkerker
8a35261fd8 Remove unused noqas () 2025-01-15 10:02:18 +01:00
Fredrik Erlandsson
1768daf98c Add support for native oauth2 in Point ()
* initial oauth2 implementation

* fix unload_entry

* read old yaml/entry config

* update tests

* fix: pylint on tests

* Apply suggestions from code review

Co-authored-by: Robert Resch <robert@resch.dev>

* fix constants, formatting

* use runtime_data

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* fix missing import

* adopt to PointData dataclass

* fix typing

* add more strings (copied from weheat)

* move the PointData dataclass to avoid circular imports

* use configflow inspired by withings

* raise ConfigEntryAuthFailed

* it is called entry_lock

* fix webhook issue

* fix oauth_create_entry

* stop using async_forward_entry_setup

* Fixup

* fix strings

* fix issue that old config might be without unique_id

* parametrize tests

* Update homeassistant/components/point/config_flow.py

* Update tests/components/point/test_config_flow.py

* Fix

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-20 12:02:07 +02:00
epenet
d961e20b15 Add missing hass type hint in component tests (p) () 2024-08-20 12:52:33 +02:00
Joost Lekkerkerker
ee66f6ec8c Use is in enum comparison in config flow tests P-T () 2024-04-02 11:21:50 -10:00
Marc Mueller
1722e23df8 Add empty line after module docstring [tests l-p] () 2024-03-08 14:55:15 +01:00
Marc Mueller
438d3b01b9 Use builtin TimeoutError [o-s] () 2024-02-05 12:14:37 +01:00
epenet
2cdc741900 Add type hints to integration tests (part 17) () 2023-02-15 11:14:04 +01:00
epenet
3abf7ea18a Add type hints to integration tests (m-p) () 2023-02-08 07:48:54 -08:00
epenet
30bf0634fe Add per-file-ignore to pylint () 2023-01-22 17:26:24 +01:00
Franck Nijhof
7cd68381f1 Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 19:57:36 +03:00
Franck Nijhof
65cf2fcb6f Drop asynctest () 2021-01-01 22:31:56 +01:00
springstan
5a892e8fca Add unknown_authorize_url_generation to base strings for config flows () 2020-11-24 12:00:16 -05:00
Fredrik Erlandsson
8bdc824b6c Update pypoint to use async http requests ()
* Remove domain after entities

* Add support for async http-requests

* Fix, handle network issues (update _is_available status)

* Fix missing await for alarm_arm

* Fix alarm status

* Update tests to async

* Bump pypoint version

* Fix doc string

* Apply suggestions from code review, remove pylint disable

* Fix black
2020-10-13 08:48:26 +02:00
Quentame
1855c91988 Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const ()
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const

* Fix pylint

* Use in tests

* Search for "client_id"

* Fix tests

* Fix test

* Fix test
2020-05-30 17:27:20 +02:00
Paulus Schoutsen
ec47216388 Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Paulus Schoutsen
dad11f8208 Fix tests & lint 2019-12-04 22:47:40 -08:00
Ville Skyttä
99c7608fb4 Lint config cleanups ()
* Remove bunch of unneeded lint exclusions

* Use symbolic names instead of identifiers in pylint disables

* Tighten scope of some pylint disables
2019-11-25 22:40:08 -08:00
Ville Skyttä
d88ca0f5cb Lint exclusions ()
* Remove malformed pylint disable markers

* Remove some unused imports

* Remove some unneeded lint exclusions

* Remove more unneeded lint exclusions

* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Fredrik Erlandsson
c1ca7beea1 Support for Point component ()
* Minut Point support

* tox tests for Point

* config flow fixes

* fixes requested by @MartinHjelmare

* swedish translation :)

* fix tests
2018-11-19 12:52:21 +01:00