Andre Lengwenus
c276cfc371
Add custom panel for LCN configuration ( #108664 )
...
* Add LCN panel using lcn-frontend module
* Move panel from sidebar to integration configuration
* Change OptionFlow to reconfigure step
* Change OptionFlow to reconfigure step
* Remove deprecation warning
* Fix docstring
* Add tests for lcn websockets
* Remove deepcopy
* Bump lcn-frontend to 0.1.3
* Add tests for lcn websockets
* Remove websocket command lcn/hosts
* Websocket scan tests cover modules not stored in config_entry
* Add comment to mock of hass.http
* Add a decorater to ensure the config_entry exists and return it
* Use entry_id instead of host_id
* Bump lcn-frontend to 0.1.5
* Use auto_id for websocket client send_json
* Create issues on yaml import errors
* Remove low level key deprecation warnings
* Method renaming
* Change issue id in issue creation
* Update tests for issue creation
2024-08-21 11:33:47 +02:00
epenet
5608301178
Add missing return type in test __init__ methods ( #123932 )
...
* Add missing return type in test __init__ methods
* Adjust
2024-08-14 16:48:52 +02:00
epenet
b0d1d7bdb2
Improve type hints in lcn tests ( #123648 )
2024-08-12 21:53:32 +02:00
epenet
ce54ca9c8e
Use service_calls fixture in lcn tests ( #120931 )
2024-07-01 17:27:32 +02:00
epenet
7e62061b9a
Improve typing for calls
fixture in tests (a-l) ( #118349 )
...
* Improve typing for `calls` fixture in tests (a-l)
* More
* More
2024-05-29 09:06:48 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* 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
Andre Lengwenus
38cb477e7b
Cleanup tests for lcn events and device triggers ( #61719 )
...
* Return PchkConnectionManager instance from init_integration
* Removed ip and port from LCN host model identifer
* Fix syntax error
* Convert init_integration to a fixture
* Rename device model for host
* Instantiate MockPchkConnectionManager with arguments from tests
* Invert logic for testing devices
2021-12-19 10:38:33 +01:00
Andre Lengwenus
74d5cbd3a9
Add events and device triggers to LCN ( #58745 )
2021-12-10 19:02:17 -10:00
Andre Lengwenus
b34eb53914
Register LCN devices in device registry ( #53143 )
2021-10-27 14:29:28 -07:00
Andre Lengwenus
f2fe6c26ab
Add tests for LCN integration setup ( #48070 )
2021-06-28 18:08:09 +02:00