Commit Graph

445 Commits (f5975d4039760c0fadb194fdd3c65a444b3ceaf8)

Author SHA1 Message Date
Marc Mueller 0c8eeaa643
Update mypy to 0.990 (#81783)
* Update mypy to 0.990

* Remove type ignore - overriding attr with property (13475)

* Remove type ignores - hasattr (13544)

* Adjust type ignore - assignment (13549)

* New error code - type-abstract (13785)

* Disable annotation-unchecked (13851)
2022-11-08 14:41:39 +01:00
Joakim Plate 8d50b05d0d
Add ability to set device class on knx sensor (#81278)
Add ability to set device class on sensor
2022-11-01 14:30:42 +01:00
Matthias Alphart 428a33c00f
Migrate KNX to use kelvin for color temperature (#81112) 2022-10-27 16:00:34 -04:00
Joakim Plate 0321c8bdc5
Allow device class for switch to be set in knx (#81039) 2022-10-26 21:04:11 +02:00
Marvin Wichmann b786440eda
Add integration type to KNX integration (#81003) 2022-10-26 15:47:27 +02:00
Marvin Wichmann 2a887e6ed7
Update xknx to 1.2.0 (#80318) 2022-10-14 15:10:19 +02:00
Sebastian Lövdahl bba7b3b2be
Fix broken URLs in KNX service descriptions (#79752) 2022-10-06 23:47:50 +02:00
Matthias Alphart 3ae092f272
Update xknx to 1.1.0 - Routing flow control (#79118)
xknx 1.1.0
2022-09-26 23:17:33 +02:00
GitHub Action 23faf8024e [ci skip] Translation update 2022-09-14 00:28:24 +00:00
GitHub Action 051974304a [ci skip] Translation update 2022-09-11 00:27:01 +00:00
epenet ec532414ba
Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
epenet f14bb8195f
Import climate constants from root [a-l] (#78021) 2022-09-08 11:24:15 +02:00
GitHub Action 4f7ad27b65 [ci skip] Translation update 2022-09-07 00:27:56 +00:00
Matthias Alphart ae3dca11fe
Update xknx to 1.0.2 (#77627) 2022-09-01 01:18:34 +02:00
Matthias Alphart 441d7c0461
Wait for config entry platforms in KNX (#77437) 2022-08-28 12:36:31 +02:00
Matthias Alphart 619e99d24c
Update xknx to 1.0.1 (#77244) 2022-08-24 09:57:57 +02:00
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
Marvin Wichmann 0d45cef6f6
Update xknx to 1.0.0 🎉 (#76734) 2022-08-14 06:31:39 +02:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
GitHub Action c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
Matthias Alphart 9bbbee3d88
Update xknx to 0.22.1 (#75932) 2022-07-29 09:54:49 -07:00
GitHub Action 33c635809c [ci skip] Translation update 2022-07-27 00:28:57 +00:00
Matthias Alphart a98f658854
Update xknx to 0.22.0 (#75749) 2022-07-26 10:32:26 +02:00
GitHub Action 87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
GitHub Action 5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
Erik Montnemery 07f677e9e8
Migrate knx weather to native_* (#74386) 2022-07-04 10:47:59 +02:00
Matthias Alphart 48c7e414f6
Update xknx to 0.21.5 - Fix discovery of IP-Secure interfaces (#74147) 2022-06-28 14:23:17 -07:00
Erik Montnemery 8c0ae545c9
Migrate knx NumberEntity to native_value (#73536) 2022-06-15 14:39:56 +02:00
GitHub Action 43b802252a [ci skip] Translation update 2022-06-03 00:19:45 +00:00
GitHub Action 7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
GitHub Action 7df7e33d17 [ci skip] Translation update 2022-05-23 00:25:42 +00:00
GitHub Action b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
Matthias Alphart bcabe5c6e4
Decouple up-down and position inversion for KNX covers (#72012) 2022-05-18 07:27:00 +02:00
GitHub Action 1d6659224f [ci skip] Translation update 2022-05-18 00:22:07 +00:00
Matthias Alphart 81259f4eef
Update xknx to 0.21.3 (#72006) 2022-05-17 15:08:21 +02:00
GitHub Action 2d1a612976 [ci skip] Translation update 2022-05-17 00:23:03 +00:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action c7e8428daa [ci skip] Translation update 2022-05-13 00:26:47 +00:00
GitHub Action 3de7ffde54 [ci skip] Translation update 2022-05-10 00:23:19 +00:00
Marvin Wichmann 4408ad82eb
Update xknx to 0.21.2 (#71271) 2022-05-03 21:14:56 -07:00
Marvin Wichmann ef09e89006
Update xknx to 0.21.1 (#71144) 2022-05-01 11:00:37 +02:00
GitHub Action ba386b5841 [ci skip] Translation update 2022-05-01 00:28:25 +00:00
Matthias Alphart 72bc4c5ee9
Update xknx to 0.21.0 (#71108) 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 (#70676) 2022-04-25 14:57:31 +02:00
epenet 7e7519fe05
Use ColorMode enum in knx (#70513) 2022-04-23 09:17:18 -10:00
Matthias Alphart 639e3bb900
Add optional `type` for KNX notify entity configuration (#70451) 2022-04-23 12:21:58 +02:00
Marvin Wichmann 029ffad537
Update xknx to version 0.20.4 (#70342) 2022-04-21 02:16:08 +03:00
Matthias Alphart 04a153345e
update xknx to 0.20.3 (#70123) 2022-04-16 00:15:05 +03:00
Marvin Wichmann 919a746ebc
Mark KNX as a platinum quality integration (#69711) 2022-04-11 19:00:04 +02:00
Marvin Wichmann 3d30a757bf
Update xknx to 0.20.2 (#69853) 2022-04-11 16:51:13 +02:00
Raman Gupta b325c112b4
Add SelectorType enum and TypedDicts for each selector's data (#68399)
* 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 (#69698)
* 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 (#69697)
* 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**) (#69411)
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 (#69353) 2022-04-05 21:07:11 +03:00
epenet 4c7e1fe060
Cleanup ENTITY_CATEGORIES_SCHEMA (#66549)
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 (#69059) 2022-04-01 11:07:13 +03:00
Matthias Alphart 46a457a638
Update KNX flow strings to use "data_description" and remove invalid options (#68935)
* 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 (#68906)
* 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) (#68886) 2022-03-30 10:56:37 +02:00
Marvin Wichmann cec3a08b95
Cleanup KNX integration (#68820)
* 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 (#68818) 2022-03-29 08:58:54 +02:00
Matthias Alphart f2aee38841
Run KNX protocol logic in a separate thread (#68807) 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 #59781 (#67743) 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] (#66881) 2022-02-19 17:19:46 +01:00
Marc Mueller d7170f43c3
Add type ignore error codes [A-L] (#66778) 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 (#66108)
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 (#65920) 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 (#65788) 2022-02-05 14:19:37 +01:00
Paulus Schoutsen 5da923c341
Protect state.as_dict from mutation (#65693) 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 (#65275) 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 (#63026)
* 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 (#65083) 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 (#64938)
* Add test for KNX diagnostic

* Add test for KNX expose

* Apply review suggestions
2022-01-27 23:03:20 +01:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
Marvin Wichmann 072f7d5611
Add support for TCP tunneling connections to KNX (#64928) 2022-01-26 06:36:07 +01:00
Marvin Wichmann 0f7e9177a2
Remove system info from KNX diagnostic (#64721) 2022-01-22 22:25:24 +01:00
Matthias Alphart 10538aabbf
Add diagnostics to KNX (#64471) 2022-01-19 12:46:10 -08:00
Matthias Alphart b245a0d0ee
Only flag SUPPORT_STOP_TILT when tilt available in KNX cover (#64410) 2022-01-19 21:35:36 +01:00
Matthias Alphart 29baad8848
Update xknx to 0.19.0 (#64379) 2022-01-18 21:38:13 +01:00
Matthias Alphart 456d403303
Fix KNX onboarding when there is no yaml config defined yet (#64216) 2022-01-16 20:44:21 -08:00
GitHub Action c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
GitHub Action b949199866 [ci skip] Translation update 2022-01-15 00:14:21 +00:00
Marc Mueller fa7e787415
Update typing (3) [k-t] (#63924) 2022-01-11 21:26:55 +01:00
epenet c7cb26cbab
Use Platform enum in load_platform [a-l] (#63750) 2022-01-10 10:30:47 +01:00
GitHub Action d99548fc04 [ci skip] Translation update 2022-01-10 00:14:49 +00:00
GitHub Action a8fee4c2f6 [ci skip] Translation update 2022-01-09 00:15:18 +00:00
GitHub Action 0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
GitHub Action 021a4f7106 [ci skip] Translation update 2022-01-04 00:14:15 +00:00
GitHub Action 93758e2e6c [ci skip] Translation update 2022-01-01 00:14:34 +00:00
GitHub Action f205708e56 [ci skip] Translation update 2021-12-31 00:14:15 +00:00
Marvin Wichmann b9247f3952
Fix local_ip handling in KNX options flow (#62969) 2021-12-30 01:13:58 +01:00
Mirko Lenz ab4effc7e2
Allow sending GroupValueResponse telegrams with knx.send service (#62639)
* Add knx.respond service

* Combine knx.send and knx.respond services

* Rename knx attribute and fix tests

* Use parametrization in tests

Co-authored-by: Marvin Wichmann <marvin.wichmann@unic.com>
2021-12-29 18:15:48 +01:00
GitHub Action 87d4420a72 [ci skip] Translation update 2021-12-23 00:14:21 +00:00
Marvin Wichmann 42c7f1dd1f
Update xknx to version 0.18.15 (#62557) 2021-12-21 20:36:27 -08:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
GitHub Action babd753610 [ci skip] Translation update 2021-12-21 00:15:06 +00:00
Matthias Alphart 6cf9f1a0cc
Update xknx to 0.18.14 (#62411)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-20 19:22:04 +01:00
GitHub Action 5fefb5985f [ci skip] Translation update 2021-12-18 00:13:26 +00:00
GitHub Action d4f8a7c056 [ci skip] Translation update 2021-12-17 00:14:01 +00:00
Matthias Alphart 2f3f64c339
Use DeviceClass Enum in KNX schema (#61960) 2021-12-16 23:25:34 +01:00
GitHub Action b22a9e4d0a [ci skip] Translation update 2021-12-16 00:13:36 +00:00
Marvin Wichmann 66b8f87e43
Fix notify platform setup for KNX (#61842)
* Fix notify platform setup for KNX

* Apply review suggestions

* Store hass config in DATA_HASS_CONFIG

* Readd guard clause
2021-12-15 19:30:38 +01:00
Marvin Wichmann cefbc2c428
Allow setting local_ip for knx routing connections (#61836) 2021-12-15 13:15:56 +01:00
epenet a1abcad0ca
Use new CoverDeviceClass in knx (#61868)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-15 10:54:14 +01:00
GitHub Action 77843be01f [ci skip] Translation update 2021-12-15 00:13:42 +00:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
GitHub Action 1f1a29cada [ci skip] Translation update 2021-12-09 00:13:16 +00:00
GitHub Action d69c6e3ab3 [ci skip] Translation update 2021-12-08 00:13:50 +00:00
GitHub Action 5258c5fc9c [ci skip] Translation update 2021-12-07 00:51:52 +00:00
GitHub Action ecdb18eb0a [ci skip] Translation update 2021-12-06 00:13:37 +00:00
GitHub Action fa5f524fdb [ci skip] Translation update 2021-12-05 00:14:27 +00:00
Marvin Wichmann affa3a6ada
Add missing local_ip to KNX config flow and options flow (#61018)
* Add missing local_ip to KNX config flow and options flow

* Update strings
2021-12-04 23:07:28 +01:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
Marvin Wichmann 3baa7b679d
Use new Platform enum in KNX (#60902) 2021-12-03 09:29:38 -08:00
GitHub Action de792e3af2 [ci skip] Translation update 2021-12-02 00:13:02 +00:00
GitHub Action c9589f763c [ci skip] Translation update 2021-12-01 00:17:12 +00:00
Franck Nijhof 7469f083fd
Migrate number mode to StrEnum (#60614) 2021-11-30 12:54:06 +01:00
GitHub Action a925451906 [ci skip] Translation update 2021-11-30 00:13:53 +00:00
GitHub Action 3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
GitHub Action 78b47019f9 [ci skip] Translation update 2021-11-26 00:12:49 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
Ville Skyttä 7c6a72b086
Remove unneeded pylint disables (#60235) 2021-11-23 21:40:53 +01:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00