epenet
f5852b4678
Move point base entity to separate module ( #126551 )
2024-09-23 15:58:20 +02:00
Fredrik Erlandsson
1768daf98c
Add support for native oauth2 in Point ( #118243 )
...
* 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
e750f8f457
Add alias to DOMAIN import (part 4) ( #125563 )
...
* Add alias to DOMAIN import (part 4)
* Simplify
* More integration
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Revert "Apply suggestions from code review"
This reverts commit 07471d3629
.
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-09-09 21:32:33 +02:00
Joost Lekkerkerker
d0a1781187
Remove entity description in Point ( #112921 )
2024-03-11 12:02:26 +01:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] ( #112702 )
2024-03-08 15:04:07 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker
75951dd67b
Use shorthand attributes in Point ( #100214 )
2023-09-12 10:15:36 -05:00
epenet
bb3e0633a4
Add init return type to integrations ( #87523 )
...
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
0edcb26844
Use SoundPressure unit and device class in point ( #83580 )
2022-12-08 20:57:38 +01:00
Franck Nijhof
d769359b4f
Remove invalid custom device class from MinutPoint sound sensor ( #82934 )
2022-11-29 17:22:01 +01:00
epenet
9184eb8916
Add sensor setup type hints [o-q] ( #63313 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:10:57 +01:00
Robert Hillis
32e1a3d063
Use enums in Point ( #62070 )
2021-12-16 22:29:54 +01:00
Fredrik Erlandsson
b563a41482
Update pypoint to use v5 of backend API ( #56934 )
2021-10-02 13:53:19 -07:00
Marc Mueller
236ccb933c
Use EntityDescription - point ( #54363 )
2021-08-16 22:54:56 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) ( #54475 )
2021-08-12 13:26:17 +02:00
Marc Mueller
c35b5a1c64
Add sound pressure unit constants (dB + dBa) ( #53159 )
2021-07-19 06:54:38 -07:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity ( #48214 )
2021-03-22 19:46:46 +01:00
Fredrik Erlandsson
8bdc824b6c
Update pypoint to use async http requests ( #41546 )
...
* 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
springstan
e330468a13
Use pressure constants in code base ( #40262 )
2020-09-19 09:26:08 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Fabian Affolter
161c368c9d
Update file header ( #21054 )
...
* Update file header
* Update __init__.py
2019-02-13 20:35:12 -08:00
Fredrik Erlandsson
d89c56829c
Fix Point does I/O in event loop ( #20939 )
...
* call I/O operations via hass.async_add_executor_job
* asyncio fixes
* Fixes from @amelchio
* async _update_callback
2019-02-12 17:15:02 +01:00
Fredrik Erlandsson
5df02f3a78
fix missing sensor values for Point ( #20937 )
2019-02-10 21:48:33 +01:00
Paulus Schoutsen
ec57db78b5
Consolidate config flow components ( #20635 )
...
* Consolidate config flow components
* Fix tests
* Fix tests
* Put unifi back
* Fix reqs
* Update coveragerc
2019-02-01 15:45:44 -08:00