Commit Graph

26 Commits (38cfa83e23c17f61907b7354b0a103519b8c65b1)

Author SHA1 Message Date
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
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 072f7d5611
Add support for TCP tunneling connections to KNX (#64928) 2022-01-26 06:36:07 +01: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 3baa7b679d
Use new Platform enum in KNX (#60902) 2021-12-03 09:29:38 -08:00
Marvin Wichmann e5c33474e3
Add config and options flow to KNX integration (#59377) 2021-11-20 11:30:41 +01:00
Matthias Alphart 00b1c2bb70
Fix KNX climate entities hvac action without controller_mode (#59522)
* fix hvac action for climate entities without controller_mode

* Update homeassistant/components/knx/climate.py

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

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-11-11 19:39:57 +01:00
Matthias Alphart 4e1958c1bd
Add Button platform to KNX integration (#59082)
* add button platform

* default values for payload and payload_length

* allow `type` configuration for encoded payloads

* add test for type configuration

* move common constants to const.py

- CONF_PAYLOAD
- CONF_PAYLOAD_LENGTH

* validate payload for payload_length or type

* c&p errors

* fix unique_id and pylint

* fix validator
2021-11-10 20:34:35 +01:00
Matthias Alphart 968e582468
Remove `last_knx_update` extra_state_attribute from KNX BinarySensor and Sensor (#58786) 2021-10-31 12:58:17 +01:00
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 b08f473da4
Add current hvac_action to KNX climate (#51464) 2021-06-15 17:51:16 +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
Marvin Wichmann 21744790d3
Add KNX source address to Sensor and BinarySensor (#48857)
* Add source address to Sensor and BinarySensor

* Fix typing

* Review: Always use UTC time in state attributes

* Review: Add missing UTC conversion in sensor
2021-04-10 18:12:43 +02:00
Ville Skyttä dc880118a4
Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Matthias Alphart 3fda9fd0c6
KNX address constant (#47196) 2021-03-01 21:59:36 +01:00
Marc Mueller 16dcbf1467
Update pylint (#47205) 2021-02-28 22:09:01 -10:00
Matthias Alphart d02b27a5d0
Update xknx to 0.17.1 (#46974) 2021-02-23 16:26:17 -08:00
Martin 175f2f0275
Add fan platform to knx (#46161) 2021-02-09 22:09:34 -10:00
Marvin Wichmann 899fc3d35a
Update xknx to 0.15.3 (#42026)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-13 09:37:45 +01: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 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
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