Commit graph

11 commits

Author SHA1 Message Date
Sid
470ef554d7
Fix freedompro tests for ruff B018 () 2024-03-16 00:03:25 -10:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] () 2024-03-08 14:50:04 +01:00
Jan-Philipp Benecke
04a497343d
Update f-g* tests to use entity & device registry fixtures () 2023-11-12 13:07:38 +01:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ()
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Joost Lekkerkerker
8bbb396048
Move freedompro coordinator to separate file ()
* Move coordinator to separate file for freedompro

* Move coordinator to separate file for freedompro
2023-06-27 17:48:36 +02:00
Allen Porter
12129e9d21
Update service call return values and error handling ()
* 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
epenet
b68f502769
Add type hints to integration tests (part 7) () 2023-02-13 09:53:09 +01:00
epenet
a809e18559
Apply hass-relative-import to tests (d-h) () 2022-09-19 09:31:57 +02:00
Franck Nijhof
d645e80ccd
Clean up async_update_entity helper usage () 2022-03-25 15:22:58 -07:00
Marc Mueller
cbe58913ea
Fix freedompro tests () 2021-12-12 14:09:45 -08:00
stefano055415
a057fd93bb
Add lock support Freedompro ()
* change _attr_unique_id to unique_id and resolve conflict

* add test state updates from the API

* optimizer code test

* fix test

* fix comments and add test device registry
2021-07-15 09:31:50 +02:00