1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-13 07:20:01 +00:00
Commit Graph

2 Commits

Author SHA1 Message Date
Marvin Wichmann
3baa7b679d Use new Platform enum in KNX () 2021-12-03 09:29:38 -08:00
Matthias Alphart
4e1958c1bd Add Button platform to KNX integration ()
* 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