G Johansson
2d3318e767
Remove platform YAML from Command line ( #103202 )
2023-11-04 16:17:31 +01: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
G Johansson
46e7486ce6
Move yaml configuration to integration key for command_line ( #92824 )
...
* Inital init commit
* bs and cover
* notify
* sensor
* switch
* Issues
* Finalize __init__
* First pass tests
* Fix Binary sensors
* Test cover
* Test notify
* Test sensor
* Tests switch
* Fix coverage
* Add codeowner
* Fix caplog
* test issue
* Flaky test notify
* Fix async
* Adjust yaml structure
* Change yaml format again
* Issue strings
* Fix tests
* string review comment
2023-05-29 08:00:50 +02:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
atlflyer
da11cef29a
Report error code in log when command fails ( #74319 )
2022-07-02 09:58:08 -04:00
G Johansson
3771c154fa
Improve code quality command_line ( #65333 )
2022-02-12 08:19:37 -06:00
Marc Mueller
f1d48ddfe3
Update pylint to 2.8.0 ( #49637 )
2021-04-24 14:39:24 -10:00
jan iversen
6a4f414236
Change HomeAssistantType to HomeAssistant ( #49522 )
2021-04-21 15:53:06 -10:00
Marc Mueller
106dc4d28a
Don't import stdlib typing types from helpers.typing ( #49104 )
2021-04-12 18:43:14 +02:00
Dermot Duffy
be8584c0bc
Overhaul command_line tests ( #46682 )
2021-03-01 17:27:04 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
J. Nick Koston
7b728b17f7
Add missing timeout to command_line platforms: cover, notify, switch ( #38497 )
...
* Add missing timeout to command_line platforms: cover, notify, switch
* add timeout test for notify
2020-08-04 17:00:02 -10:00
Paulus Schoutsen
c33edbe5bb
Use TestCase.addCleanup ( #36560 )
2020-06-08 12:26:40 -07:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Franck Nijhof
98a2efcbab
Collection of random (mainly) test improvements ( #33733 )
2020-04-06 12:51:48 +02:00
Franck Nijhof
906385172a
String formatting improvements for tests ( #33663 )
2020-04-05 00:26:08 +02:00
Bas Nijholt
73c373a0f2
use isort to sort imports according to PEP8 for command_line ( #29627 )
2019-12-08 22:25:57 +05:30
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Robbie Trencheny
7741ec4d5a
Great migration notify ( #22406 )
...
* Move notify platforms into components
* Move notify tests
* Fix notify tests
* More fixes
* Update requirements
* Update .coveragerc
* Run gen reqs
2019-03-27 20:36:13 -07:00