Commit Graph

14 Commits (2cd44567627c5e7ba44baf28191c76512d856b08)

Author SHA1 Message Date
Matthias Alphart d6d016e029
Fix KNX UI Light color temperature DPT (#123778) 2024-08-15 10:52:55 +02:00
Matthias Alphart 8ec8aef02e
Use freezer in KNX tests (#123044)
use freezer in tests
2024-08-02 08:48:41 +02:00
Matthias Alphart 9351f300b0
Update xknx to 3.0.0 - more DPT definitions (#122891)
* Support DPTComplex objects and validate sensor types

* Gracefully start and stop xknx device objects

* Use non-awaitable XknxDevice callbacks

* Use non-awaitable xknx.TelegramQueue callbacks

* Use non-awaitable xknx.ConnectionManager callbacks

* Remove unnecessary `hass.async_block_till_done()` calls

* Wait for StateUpdater logic to proceed when receiving responses

* Update import module paths for specific DPTs

* Support Enum data types

* New HVAC mode names

* HVAC Enums instead of Enum member value strings

* New date and time devices

* Update xknx to 3.0.0

* Fix expose tests and DPTEnumData check

* ruff and mypy fixes
2024-07-31 09:10:36 +02:00
Matthias Alphart 34e72ea16a
Add support for KNX UI to create light entities (#122342)
* Add light to KNX UI-createable entity platforms

* review from switch

* Add a test
2024-07-22 09:35:29 +02:00
Marc Mueller c88b337600
Add empty line after module docstring [tests f-k] (#112709) 2024-03-08 14:50:04 +01:00
Ville Skyttä 2e59ae9e90
Import `util.dt` as `dt_util` in `components/[k-o]*` (#93760) 2023-05-29 23:02:14 +02:00
Matthias Alphart 557b9c7d51
Add KNX interface device with diagnostic entities (#89213) 2023-03-19 02:13:52 -11:00
epenet ea29cdfe83
Add type hints to integration tests (part 12) (#87997) 2023-02-13 13:03:51 +01:00
Matthias Alphart 428a33c00f
Migrate KNX to use kelvin for color temperature (#81112) 2022-10-27 16:00:34 -04:00
epenet 7d2363ad22
Use light enums in tests (#70801) 2022-04-26 16:32:00 +02:00
Marvin Wichmann 3baa7b679d
Use new Platform enum in KNX (#60902) 2021-12-03 09:29:38 -08:00
Matthias Alphart c0a8cea6fb
Fix KNX individual light tests (#59749) 2021-11-16 00:02:39 +01:00
Matthias Alphart ca3e672b1d
Fix KNX rgb(w) color (#51060)
* calculate brightness from color; scale color

* fix merge

* fix sending color only for brightness independent rgb color

* fix tests for rgb and rgbw color

* use public match_max_scale
2021-11-15 20:42:59 +01:00
Matthias Alphart 4d4d778598
Add tests for KNX light (#58912)
* test lights: simple, brightness, color_temp

* hs, xyy, rgb individual

* test rgb, rgbw
2021-11-04 22:43:38 +01:00