Commit Graph

57 Commits (23b0633ae229344805c1f3830723269c73c8598d)

Author SHA1 Message Date
Matthias Alphart 5687ced7b3
Cleanup KNX integration (#52168)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-26 14:30:36 +02:00
Matthias Alphart 74db49fae4
Add KNX select entity (#52026)
* select entity for knx

* validate select options

* lint

* phytonify

* Tweak

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-24 10:54:04 +02:00
Matthias Alphart 742159a6a6
Add number entity to KNX (#51786)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-23 17:20:49 +02:00
Matthias Alphart 164e45f0a7
KNX: move some Schema to schema.py (#51307)
* create platform schema node from schema class

* move connection schema to schema.py

* rename SCHEMA to ENTITY_SCHEMA

* Final module level constants
2021-06-01 08:59:23 +02:00
Matthias Alphart 8b21a652ba
Create KNX sensor entity directly from config (#49642)
* create sensor entities directly from config

* move staticmethod to module level

* remove factory call
2021-05-25 20:16:54 +02:00
Ruslan Sayfutdinov 37466ae423
Don't ignore mypy errors by default (#49270) 2021-04-26 14:23:21 +02:00
Matthias Alphart 671148b6ca
Update xknx to version 0.18.1 (#49609) 2021-04-24 14:18:14 +02:00
Matthias Alphart 985b4a581a
Create KNX switch entity directly from config (#49238) 2021-04-15 09:47:43 +02:00
Marvin Wichmann 91837f08ce
Update xknx to version 0.18.0 (#48799) 2021-04-08 14:54:43 +02:00
Matthias Alphart 051f29f9b6
Remove KNX type alias for homeassistant.core types (#48422) 2021-03-27 22:20:11 +01:00
Matthias Alphart 8fa935234a
Type check KNX integration __init__ and knx_entity (#48044) 2021-03-26 16:10:55 +01:00
plomosits 18e6816373
Improve Docker and Kubernetes support for KNX (#48065)
Co-authored-by: Matthias Alphart <farmio@alphart.net>
2021-03-22 20:03:57 +01:00
Matthias Alphart 987c2d1612
Type check KNX integration expose (#48055) 2021-03-19 10:12:55 +01:00
Marc Mueller 25a13d1554
Update typing 10 (#48071) 2021-03-18 13:07:04 +01:00
Matthias Alphart a4075d9e11
KNX sensor: float no longer valid for `type` (#48005) 2021-03-16 21:33:56 +01:00
Matthias Alphart 54a9b69ecb
Update xknx to 0.17.2 (#47732) 2021-03-10 10:32:22 -10:00
Matthias Alphart ce8871ef59
KNX remove custom deprecation warnings (#47238) 2021-03-03 00:50:40 +01:00
Matthias Alphart 3fda9fd0c6
KNX address constant (#47196) 2021-03-01 21:59:36 +01:00
Matthias Alphart dadc99dbd3
Deprecate knx config_file (#46874)
* deprecate config_file

* removed cv.deprecated for now, added persistent notification

* Update homeassistant/components/knx/__init__.py

Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>

* remove notification, add cv.deprecated again

* Update homeassistant/components/knx/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* remove cv.deprecated again

Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-01 11:55:55 +01:00
Matthias Alphart 92afcb6b4b
KNX services send and event_register accept multiple group addresses (#46908)
* send and event_register service accept lists of group addresses

* remove lambda

* object selector for lists

* knx.read takes lists too
2021-03-01 11:51:59 +01:00
Matthias Alphart a632215541
Validate KNX addresses (#46933) 2021-02-24 08:37:41 +01:00
Matthias Alphart d02b27a5d0
Update xknx to 0.17.1 (#46974) 2021-02-23 16:26:17 -08:00
Matthias Alphart b583ded8b5
Fix KNX services.yaml (#46897) 2021-02-23 22:59:16 +01:00
Matthias Alphart 1a27af43cc
Add KNX service exposure_register (#45257) 2021-02-21 19:38:17 -10:00
Matthias Alphart 194c0d2b08
knx-read-service (#46670) 2021-02-20 09:09:23 -10:00
Matthias Alphart 2cf46330b1
Enable KNX routing optional local_ip (#46133) 2021-02-20 09:08:59 -10:00
Matthias Alphart 2940df09e9
Update xknx to 0.17.0 (#46809) 2021-02-20 08:45:04 -10:00
Martin 175f2f0275
Add fan platform to knx (#46161) 2021-02-09 22:09:34 -10:00
Matthias Alphart e7ca0ff71a
Enable KNX auto_reconnect for auto-discovered connections (#46178) 2021-02-08 11:23:50 +01:00
Matthias Alphart 4aceb0dd27
Add KNX service event_register (#45248) 2021-01-22 15:27:51 +01:00
Matthias Alphart ad4804f38a
Fix knx.send service not accepting floats (#44802) 2021-01-04 04:49:29 +01:00
Matthias Alphart 2bd8ee34f4
Update xknx to 0.16.0 (#44749)
* update xknx to 0.16.0

* fix telegram in knx_event and knx.send service

* fix knx.send to not coerce floats to int

fixes #44792
also enables strings to be sent

* Revert "fix knx.send to not coerce floats to int"

This reverts commit ac40fb53f9.
2021-01-04 03:07:12 +01:00
Matthias Alphart 29091f4537
Update xknx to 0.15.6 (#43645) 2020-11-27 18:06:15 +01:00
Philip Allgaier bbd7402793
Add reload support to KNX (#42429)
* Add reload support to KNX

* Changes from review (platform reset + asyncio.gather)

* Changes from review (proper asyncio.gather usage)
2020-11-12 14:34:08 +01:00
Marvin Wichmann f5429dc175
Update xknx to 0.15.0 (#40649)
* Update xknx to 0.15.0

closes #40526

* Review: Remove log_directory for now

* Review: typo fix
2020-09-30 10:04:56 +02:00
Marvin Wichmann 3d6434be75
Use centralized KnxEntity for all KNX platforms (#40381) 2020-09-21 18:08:35 +02:00
Marvin Wichmann 45288431f9
Update xknx to 0.14.2 (#40304)
* Updates xknx to 0.14.0

* Review: Explicity add state attributes to weather device

* Review: Remove state attributes from weather device

* Review: Add `counter` as a state attribute to binary_sensors
2020-09-20 23:40:36 +02:00
Marvin Wichmann 8ea8969d80
Warn users if KNX has no devices configured (#39899)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-11 13:09:31 +02:00
Marvin Wichmann bba8b8e759
Add support for a dedicated weather station within KNX (#39476)
* Adds support for a dedicated weather station within KNX

* Review

* Change config values to comply with the naming of the other platforms
2020-08-31 11:38:52 +02:00
Marvin Wichmann 9f4d4862b4
Update xknx to 0.13.0 (#39407) 2020-08-30 20:13:47 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Marvin Wichmann a2651845f3
Centralize knx config and update xknx to 0.12.0 (#39219)
* Refactor KNX integration to centralize configuration yaml (#39189)

* Updates for xknx 0.12.0 (#38880)
2020-08-26 18:03:03 +02:00
Phil Bruckner 716fa63e73
Update script helper constructor parameters (#38763)
Add domain and make it and name required.

Add optional running_description.
2020-08-12 11:39:05 -05:00
J. Nick Koston 1d7f3416d3
Switch async_track_state_change to the faster async_track_state_change_event part 7 (#37870)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-14 23:37:25 -07:00
Matthias Alphart 7147c5306d
update knx module to xknx 0.11.3 (#35154)
- add expose attribute function and default value
- default climate havc_mode to "heat" if modes are not supported
- support `update_entity` service call
2020-05-13 09:19:00 -04:00
Ron Klinkien 774b1d1663
Enable KNX tunnel auto_reconnect by default (#33387)
* Added tunnel reconnect functionality

* Code improvements

* Update homeassistant/components/knx/__init__.py

Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>

* Enable auto_reconnect for tunnels by default

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-04-01 00:22:20 +02:00
springstan 157f972d72
Use f-strings in integrations starting with "H" - "L" (#32265)
* Use f-strings in integrations starting with "H"

* Use f-strings in integrations starting with "I"

* Use f-strings in integrations starting with "J"

* Use f-strings in integrations starting with "K"

* Use f-strings in integrations starting with "L"

* Fix lint error

* Use join instead of f-string in homekit_controller

* Use local variables with f-strings

* Fix lint error

* Escape the characters in f-string

* Sort imports with isort in homeworks light

* Fix pylint error

* Fix broken tests

* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Ville Skyttä 5216477353
Be consistent with Home Assistant and Hass.io spelling (#30500)
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Ville Skyttä e6388e186c
Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
Diefferson Koderer Môro ff17bb4a56 Move imports in knx component (#28008)
* Move imports in knx component

* Fix pylint
2019-10-21 22:38:21 -07:00