Commit Graph
18 Commits
Author SHA1 Message Date
Matthias AlphartandGitHub d0cc2a530a Remove redundant value test in KNX Number entity (#58455)
* remove redundant test for out of bound value

* increase test coverage for number
2021-10-26 10:42:42 +02:00
Marvin WichmannandGitHub e9ca511327 Add support for entity category for necessary KNX platforms (#58357) 2021-10-24 20:12:26 -07:00
Marvin WichmannandGitHub 85ecb7ce3a feat: Add unit of measurement to KNX number platform (#58353) 2021-10-24 13:16:19 -07:00
Marvin WichmannandGitHub 5193e3115d Restore the previous state of a KNX binary sensor (#57891) 2021-10-22 20:52:41 +02:00
Marvin WichmannandGitHub 48d4cdf882 Update xknx to 0.18.11 and fix flaky test (#57877)
* Update xknx to 0.18.11

* review: join the queue before actually asserting
2021-10-17 09:43:18 +02:00
addb91d49e Update xknx to version 0.18.10 (#57635)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-10-14 10:54:48 -07:00
Matthias AlphartandGitHub 19d81af4c1 Test KNX fan (#53621) 2021-08-24 12:00:37 +02:00
Matthias AlphartandGitHub ab34ef475e Test KNX binary sensor (#53820)
* test binary_sensor

* test binary_sensor with reset_after
2021-08-05 23:33:20 -05:00
Matthias AlphartandGitHub 8ead20a76b Test knx sensor (#54090) 2021-08-05 23:26:02 -05:00
Matthias AlphartandGitHub 4e4bb2e5a8 Test KNX events (#53433)
* test knx_event

* use async_capture_events
2021-07-28 19:04:11 +02:00
Matthias AlphartandGitHub 993756e90a Test KNX select (#53371)
* test KNX select

* cover everything

* Update tests/components/knx/test_select.py
2021-07-24 15:25:58 +02:00
Matthias AlphartandGitHub 745314b115 Test KNX services (#53367) 2021-07-24 14:03:04 +02:00
Matthias AlphartandGitHub 9f14b2cef5 Test KNX switch (#53289) 2021-07-21 15:04:14 -07:00
Matthias AlphartandGitHub e8d7952880 Refactor KNX tests (#53183)
* refactor tests for KNX

- implement KNXTestKit class for convenient setup and assertion of KNX telegrams
- add fixture returning an instance of KNXTestKit with automatic cleanup test

* add tests for expose default attribute

- fix expose edge case not covered by #53046

* use asyncio.Queue instead of AsyncMock.call_args_list

for better readability

* get xknx from Mock instead of hass.data

* fix type annotations

* add injection methods for incoming telegrams

* rest read-response in expose
2021-07-19 23:39:19 -05:00
mpteiandGitHub 1d28f485d3 Patch ip interface instead of XKNX in knx (#49064)
* knx: Deeper tests.

* Set rate_limit to 0; removed waiting for queue
2021-04-11 23:01:30 +02:00
mpteiandGitHub dd538bd291 Fix knx tests (#48407) 2021-03-29 12:17:54 +02:00
Matthias AlphartandGitHub 8fa935234a Type check KNX integration __init__ and knx_entity (#48044) 2021-03-26 16:10:55 +01:00
mpteiandGitHub 02b0a4ca1f Xknx unneeded expose (#48311) 2021-03-26 14:51:36 +01:00