Commit graph

296 commits

Author SHA1 Message Date
Matthias Alphart
72bc4c5ee9
Update xknx to 0.21.0 () 2022-04-30 15:25:41 +02:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet
069dd567f7
Use climate enums in knx () 2022-04-25 14:57:31 +02:00
epenet
7e7519fe05
Use ColorMode enum in knx () 2022-04-23 09:17:18 -10:00
Matthias Alphart
639e3bb900
Add optional type for KNX notify entity configuration () 2022-04-23 12:21:58 +02:00
Marvin Wichmann
029ffad537
Update xknx to version 0.20.4 () 2022-04-21 02:16:08 +03:00
Matthias Alphart
04a153345e
update xknx to 0.20.3 () 2022-04-16 00:15:05 +03:00
Marvin Wichmann
919a746ebc
Mark KNX as a platinum quality integration () 2022-04-11 19:00:04 +02:00
Marvin Wichmann
3d30a757bf
Update xknx to 0.20.2 () 2022-04-11 16:51:13 +02:00
Raman Gupta
b325c112b4
Add SelectorType enum and TypedDicts for each selector's data ()
* rebase off current

* rearrange

* Overload selector function

* Update/fix all selector references

* better typing?

* remove extra option

* move things around

* Switch to Sequence type to avoid ignoring mypy error

* Get rid of ...'s

* Improve typing to reduce number of ignores

* Remove all typing ignores

* Make config optional for selectors that don't need a config

* add missing unit prefixes

* Rename TypedDicts

* Update homeassistant/helpers/selector.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* review feedback

* remove peta from integration integration

* Fix min_max

* Revert change to selector function

* Fix logic

* Add typing for selector classes

* Update selector.py

* Fix indent

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-11 09:20:56 +02:00
Matthias Alphart
b3d1574a71
Refactor KNX config flow and validate user input ()
* validate config flow user input

* test flow for invalid user input

* validate multicast address blocks

* Update homeassistant/components/knx/config_flow.py

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>
2022-04-10 15:56:45 +02:00
Marvin Wichmann
b5b514b62f
Full test coverage for KNX integration ()
* Full test coverage for KNX integration

* Allow for 0 values, since we all live at those kind of areas in the world

* Remove unneeded method

* Add missing test for climate mode

* Cleanup test and remove fixture that was used only once
2022-04-09 00:33:50 +02:00
epenet
4a0e00d939
Use EntityFeature enum in components (k**) ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-07 15:31:54 +02:00
Marvin Wichmann
2689f1a7fd
Update XKNX to version 0.20.1 () 2022-04-05 21:07:11 +03:00
epenet
4c7e1fe060
Cleanup ENTITY_CATEGORIES_SCHEMA ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-04-01 09:40:43 -07:00
Matthias Alphart
2733600755
coerce number selector values to int () 2022-04-01 11:07:13 +03:00
Matthias Alphart
46a457a638
Update KNX flow strings to use "data_description" and remove invalid options ()
* use `data_description`

* use selectors so `data_description` shows

* remove unused config option

`individual_address` has no effect for tunneling. The address is always assigned by the tunnelling server.

* remove unsupported option for tunneling V1 devices
2022-04-01 00:15:53 +02:00
Marvin Wichmann
9b05a1264a
Add support for IP secure to KNX config flow ()
* Add support for TCP Secure in KNX config flow

* Add support for TCP Secure in KNX config flow

* Fix typing

* Fix import

* Move assert up to cover all possible cases
2022-03-30 21:10:47 +02:00
epenet
ecd43f391f
Prettify json (manifest.json) () 2022-03-30 10:56:37 +02:00
Marvin Wichmann
cec3a08b95
Cleanup KNX integration ()
* Cleanup KNX integration

* Cleanup KNX integration

* Update homeassistant/components/knx/__init__.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

Co-authored-by: Matthias Alphart <farmio@alphart.net>
2022-03-29 16:46:02 +02:00
Marvin Wichmann
1d88ce0d04
Update xknx to version 0.20.0 () 2022-03-29 08:58:54 +02:00
Matthias Alphart
f2aee38841
Run KNX protocol logic in a separate thread () 2022-03-28 23:56:29 +02:00
GitHub Action
c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action
dc31f420ed [ci skip] Translation update 2022-03-12 00:17:47 +00:00
J. Nick Koston
723dcbafca
Complete fan speed transition from () 2022-03-09 10:38:12 +01:00
GitHub Action
11175b39f5 [ci skip] Translation update 2022-03-03 00:20:45 +00:00
GitHub Action
e963ad96d4 [ci skip] Translation update 2022-03-01 00:23:47 +00:00
GitHub Action
102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action
f921856f5f [ci skip] Translation update 2022-02-21 00:17:31 +00:00
GitHub Action
c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
Marc Mueller
6e49b0e122
Use assignment expressions [K-Z] () 2022-02-19 17:19:46 +01:00
Marc Mueller
d7170f43c3
Add type ignore error codes [A-L] () 2022-02-18 09:38:15 +01:00
GitHub Action
208671418e [ci skip] Translation update 2022-02-16 00:14:09 +00:00
GitHub Action
ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
GitHub Action
bed5002d61 [ci skip] Translation update 2022-02-11 00:14:55 +00:00
GitHub Action
fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00:00
Erik Montnemery
911e488d48
Fix ENTITY_CATEGORIES_SCHEMA ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-08 14:00:53 -08:00
Matthias Alphart
e54c89dc0d
Update xknx to 0.19.2 - fix TCP tunnelling () 2022-02-06 17:48:56 +01:00
GitHub Action
2da4d280b2 [ci skip] Translation update 2022-02-06 00:17:31 +00:00
Franck Nijhof
fa09cf663e
Update black to 22.1.0 () 2022-02-05 14:19:37 +01:00
Paulus Schoutsen
5da923c341
Protect state.as_dict from mutation () 2022-02-04 14:45:25 -08:00
GitHub Action
0be8060b69 [ci skip] Translation update 2022-02-01 00:18:49 +00:00
Matthias Alphart
d4370395e2
Update xknx to 0.19.1 () 2022-01-30 20:12:44 -08:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
Marvin Wichmann
98aa69fdaf
Fix KNX Expose for strings longer than 14 bytes ()
* Fix KNX Expose for too long strings

* Fix tests

* Catch exception and avoid error during config entry setup for exposures

* Properly catch exceptions in knx expose

* Fix pylint

* Fix CI

* Add test for conversion error
2022-01-29 14:32:12 +01:00
GitHub Action
5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
GitHub Action
e591393f01 [ci skip] Translation update 2022-01-28 00:14:53 +00:00
Marvin Wichmann
62584b4813
Add tests for KNX diagnostic and expose ()
* Add test for KNX diagnostic

* Add test for KNX expose

* Apply review suggestions
2022-01-27 23:03:20 +01:00