Andre Lengwenus
e56f6fafdc
Remove redundant parameter from config_entry data of LCN integration ( #135912 )
2025-04-22 18:00:30 +02:00
Andre Lengwenus
344a03d9ce
Remove unused fixture from LCN tests ( #133821 )
2024-12-22 19:55:45 +01:00
Andre Lengwenus
5685ba7f55
Make acknowledge requests from LCN modules optional ( #125765 )
...
* Add acknowledge flag to config_entry
* Add acknowledge option to lcn configuration
* Fix tests
* Bump pypck to 0.7.23
* Add entry fixture for config_entry version 1.1 to test migration
* Add data_description to strings.json
* Create versioned config_entry in tests
2024-09-14 09:21:15 +02:00
Andre Lengwenus
5e1b4b2d23
Clean up tests for LCN ( #125493 )
...
* Remove patches on 3rd party module level
* Cleanup test_init
* Cleanup platform tests
* Cleanup test_services
* Cleanup test_websockets
* Cleanup test_device_trigger
* Cleanup test_events
* Remove unused fixture
2024-09-08 09:20:57 +02:00
Andre Lengwenus
20639b0f02
Add tests for LCN climate and scene platform ( #124466 )
...
* Add tests for LCN climate and scene platform
* Add type hints
* Add snapshots for test_climate
* Add snapshots for test_scene
* Replace await_called assertion with snapshots
* Remove snapshots for simple status changes
* Test platform setup using snapshot_platform
* Fix type hints
* Patch homeassistant.components.lcn context instead of pypck module
* Fix side effects caused by patching PchkConnectionManager in lcn platform context
2024-09-06 17:56:46 +02:00
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