epenet
798f3a34f3
Migrate abode light tests to use Kelvin ( #133001 )
2024-12-12 20:17:45 +01:00
epenet
f51662f31b
Mark abode as single_config_entry ( #131241 )
2024-11-22 15:04:41 +01:00
Petar Petrov
c68cadad7a
Improve precision of HSV color conversion ( #130880 )
2024-11-19 22:06:57 +01:00
G Johansson
cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum ( #126283 )
...
* Alarm state from enum
* Fixes
* Set final
* Fix rebase
* Test const
* Fix breaking version
* Fix other for alarm_control_panel
* Fix integrations
* More
* More
* More
* More
* Fix zha
* Replace _attr_state
* Fix alarm_control_panel
* Fix tests
* Fixes
* Mods
* Change some
* More
* More
* More
* Tests
* Last tests
* Return enum
* Fix zha
* Remove not needed check
* Fix wording
* Fix homekit
* Mod prometheus
* Fix mypy
* Fix homekit
* Fix ifttt
2024-10-21 22:54:27 +02:00
epenet
d2bbfe1282
Refactor abode config flow tests ( #128334 )
...
* Refactor abode config flow tests
* Cleanup
2024-10-14 12:13:47 +02:00
G Johansson
666e8e133e
Cover state is enum ( #127144 )
...
* Change light state to use enum
* Adjust cover tests
* Update cover
* Fix covers
* Some tests
* More tests
* Fix tests
* Fix
2024-10-08 18:39:04 +02:00
G Johansson
93aade6e8e
Change lock state to an enum ( #126379 )
...
* Add new LockState enum for lock states
* Add rest
* Fix insteon tests
* Fix mqtt tests
* Fix tesla_fleet
* Revert back ST_STATE_LOCKED
* Add back constant
2024-09-24 12:30:50 +02:00
G Johansson
711e0ee503
Change camera state to an enum ( #126558 )
...
* Change camera state to an enum
* copy/paste mistake
* Add test deprecated constants
2024-09-24 12:12:01 +02:00
epenet
14eec2e57a
Add start_reauth helper method to MockConfigEntry ( #124767 )
...
* Add start_reauth helper method to MockConfigEntry
* Two more
2024-08-28 13:08:26 +02:00
Marc Mueller
2f0dd6f704
Import Generator from collections.abc (2) ( #120915 )
2024-07-01 11:58:49 +02:00
Jason R. Coombs
c04a6cc639
Bump jaraco.abode to 5.1.2 ( #117363 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-24 11:37:12 +02:00
Marc Mueller
279483ddb0
Import Generator from typing_extensions (2) ( #118989 )
2024-06-06 17:24:22 +02:00
epenet
6cf7889c38
Add type hints for requests_mock.Mocker in test fixtures ( #118678 )
2024-06-03 10:30:08 +02:00
epenet
77de1b2331
Move abode service registration ( #117418 )
2024-05-14 15:18:45 +02:00
epenet
24f83c5890
Use is in FlowResultType enum comparison in tests ( #114917 )
...
* Use is in FlowResultType enum comparison in tests
* Adjust auth
* Adjust systemmonitor
* Once more
* Add comment
2024-04-05 10:40:14 +02:00
Joost Lekkerkerker
9b41e3d124
Use is in enum comparison in config flow tests A-E ( #114669 )
2024-04-02 11:22:05 -10:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Erik Montnemery
ffdcdaf43b
Create issues for reauth flows ( #109105 )
2024-01-31 15:05:52 +01:00
Franck Nijhof
04e0e2bd75
Update a* tests to use device & entity registry fixtures ( #103711 )
2023-11-09 20:46:20 +01:00
Erik Montnemery
4498c2e8c4
Validate steps in Flowhandler ( #102152 )
...
* Validate steps in Flowhandler
* Move validation to FlowManager._async_handle_step
* Fix _raise_if_not_has_step
* Fix config_entries tests
* Fix tests
* Rename
* Add test
2023-10-19 13:34:10 +02:00
Joost Lekkerkerker
6ceb973606
Add entity translations for Abode ( #94169 )
2023-06-22 16:03:28 +02:00
Allen Porter
12129e9d21
Update service call return values and error handling ( #94657 )
...
* Update return signature of service calls
* Add timeout error handling in websocket api for service calls
* Update recorder tests to remove assertion on service call
* Remove timeout behavior and update callers that depend on it today
* Fix tests
* Add missing else
* await coro directly
* Fix more tests
* Update the intent task to use wait instead of timeout
* Remove script service call limits and limit constants
* Update tests that depend on service call limits
* Use wait instead of wait_for and add test
* Update homeassistant/helpers/intent.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-16 07:01:40 -07:00
Joost Lekkerkerker
7d8e412314
Fix Abode unit of measurement ( #94168 )
...
Change unit of measurement to HA const
2023-06-07 19:53:45 +02:00
epenet
198ebaff6e
Add missing mock in abode config flow tests ( #88828 )
2023-02-27 14:03:51 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Todd Radel
63bddae01d
Replace abodepy library with jaraco.abode to enable new Abode devices ( #85474 )
...
* replaced abodepy library with jaraco.abode
* updated jaraco.abode to version 3.2.1
* send capture event as dict
2023-01-24 12:44:38 +01:00
Michael
2850583085
Replace the usage of unit constants by enumerations in Tests [a-e] ( #85932 )
2023-01-15 14:44:01 +01:00
epenet
6b3c91bd6a
Cleanup ColorMode in tests ( #78807 )
2022-09-20 18:33:45 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Erik Montnemery
1590c0a46c
Migrate abode light to color_mode ( #69070 )
2022-06-29 10:42:24 +02:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02:00
Josh Soref
53f8225f90
spelling: components/abode ( #64263 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-19 21:06:26 +01:00
Robert Hillis
7c51d2f159
Add strict typing to abode ( #57673 )
2022-01-10 15:54:09 +01:00
Dave T
1a594d2a8c
Use DeviceClass Enums in abode tests ( #61980 )
2021-12-16 20:59:55 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Ville Skyttä
a598d9f353
Use HTTPStatus instead of HTTP_ consts and magic values in components/a* ( #57988 )
2021-10-22 14:21:34 +02:00
Franck Nijhof
635cf59909
Remove deprecated YAML configuration from Abode ( #52357 )
2021-06-30 16:28:57 -04:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
J. Nick Koston
4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth ( #48962 )
2021-04-09 19:41:29 -10:00
Erik Montnemery
78b21b1ad1
Update tests a-b to use async_get() instead of async_get_registry() ( #47651 )
2021-03-09 14:24:34 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
shred86
bdb04dcb9d
Add Abode MFA support ( #43572 )
2020-11-27 13:39:26 +01:00
Paulus Schoutsen
5dac3883b0
Stub light profiles ( #42232 )
2020-10-23 16:28:21 +02:00
Maciej Bieniek
d3a0743fea
Use reference strings in Abode ( #41004 )
...
* Use translation references
* Suggested change
* Remove unused string
* Rename invalid_credentials key
* Fix invalid_auth in manifest.json file
2020-10-02 21:59:55 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00