Commit Graph

39 Commits (bb1203c61d956e2fe3dd03641dcfe38a0bc9b89c)

Author SHA1 Message Date
Matthias Alphart fc7d4ed118
Add decoded telegram payload to knx_event service ()
* decode knx_event telegram payload with given dpt

* exception handling for invalid payloads

* Update homeassistant/components/knx/__init__.py

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

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-11-06 19:31:25 +01:00
Marvin Wichmann e9ca511327
Add support for entity category for necessary KNX platforms () 2021-10-24 20:12:26 -07:00
Matthias Alphart 45a98aee10
Configurable mode for KNX number entity () 2021-10-24 11:24:05 +02:00
Matthias Alphart cd0ae66d58
Add CONF_STATE_CLASS to `sensor/__init__.py` ()
* add CONF_STATE_CLASS to const.py

* move to `sensor/__init__.py`

* move to sensor/const.py

* Revert "move to sensor/const.py"

This reverts commit 604d0d066b.

* move it to `sensor/const.py` but import it from `sensor/__init__.py`

* add Modbus
2021-08-27 05:54:50 +02:00
Matthias Alphart 17a7f7adeb
Configurable default `hvac_mode` for KNX climate () 2021-08-24 12:53:11 +02:00
Matthias Alphart 98877924d3
Add `state_class` for KNX sensors () 2021-08-05 10:11:01 -07:00
Matthias Alphart 27d42e0cd8
KNX: Support for HS-color lights () 2021-07-27 19:36:46 +02:00
Matthias Alphart 253310aaa4
Add respond_to_read option to KNX switch () 2021-06-27 18:34:41 +02:00
Matthias Alphart 89cdda9fe6
Add idle hvac_action to KNX climate ()
* add idle hvac_action and command_value extra_state_attribute

* use class attribute for unit
2021-06-27 18:31:07 +02:00
Matthias Alphart 74db49fae4
Add KNX select entity ()
* 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 ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-23 17:20:49 +02:00
Matthias Alphart 549b0b0727
KNX: Support for XY-color lights ()
* support for xy-color

* replace invalid name
2021-06-01 08:59:51 +02:00
Matthias Alphart 164e45f0a7
KNX: move some Schema to schema.py ()
* 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 5ca5b9ac89
Improve KNX config validation ()
* remove dict repacking

* check binary_sensor device_class

* check cover device_class

* check sensor_type
2021-05-23 10:42:17 +02:00
Matthias Alphart 3e1f51883e
Create KNX weather entity directly from config ()
* create climate entities directly from config

* deprecate create_sensors

* move create staticmethod to module level

* add comment for deprecation date
2021-05-21 01:30:37 +02:00
Matthias Alphart be6a1bf096
Create KNX climate entity directly from config ()
* create climate entities directly from config

* deprecate create_temperature_sensors

* move create staticmethod to module level

* use get() fro optional CONF_SETPOINT_SHIFT_MODE

* Fix deprecated version comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-20 12:23:41 +02:00
Matthias Alphart 7b18860dcd
Update xknx to version 0.18.2 ()
* xknx 0.18.2

* individual colors without switch

* make `setpoint_shift_mode` optional

* Update homeassistant/components/knx/schema.py
2021-05-17 11:18:13 +02:00
Matthias Alphart 7acb16e2af
KNX Schema improvements () 2021-04-26 14:36:01 +02:00
Matthias Alphart 671148b6ca
Update xknx to version 0.18.1 () 2021-04-24 14:18:14 +02:00
Matthias Alphart 338be8c70b
KNX passive group addresses () 2021-03-30 18:14:38 +02:00
plomosits 18e6816373
Improve Docker and Kubernetes support for KNX ()
Co-authored-by: Matthias Alphart <farmio@alphart.net>
2021-03-22 20:03:57 +01:00
Matthias Alphart 66b537c0e3
Type check KNX integration factory and schema ()
these are used non-optional anyway
get them per config[] notation
2021-03-19 10:23:50 +01:00
Matthias Alphart 987c2d1612
Type check KNX integration expose () 2021-03-19 10:12:55 +01:00
Matthias Alphart a4075d9e11
KNX sensor: float no longer valid for `type` () 2021-03-16 21:33:56 +01:00
Matthias Alphart 3fda9fd0c6
KNX address constant () 2021-03-01 21:59:36 +01:00
Matthias Alphart a632215541
Validate KNX addresses () 2021-02-24 08:37:41 +01:00
Matthias Alphart d02b27a5d0
Update xknx to 0.17.1 () 2021-02-23 16:26:17 -08:00
Matthias Alphart b583ded8b5
Fix KNX services.yaml () 2021-02-23 22:59:16 +01:00
Matthias Alphart 2cf46330b1
Enable KNX routing optional local_ip () 2021-02-20 09:08:59 -10:00
Matthias Alphart 2940df09e9
Update xknx to 0.17.0 () 2021-02-20 08:45:04 -10:00
Martin 175f2f0275
Add fan platform to knx () 2021-02-09 22:09:34 -10:00
Matthias Alphart 8d3564e275
Update xknx to 0.16.1 () 2021-01-18 10:15:28 -05:00
Matthias Alphart 2bd8ee34f4
Update xknx to 0.16.0 ()
* 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 
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 67ed730c08
KNX BinarySensor takes float values for `reset_after` () 2020-12-22 12:39:50 +01:00
Matthias Alphart 7f9a7791bf
update xknx to 0.15.4 () 2020-11-24 22:58:17 +01:00
Marvin Wichmann 899fc3d35a
Update xknx to 0.15.3 ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-13 09:37:45 +01:00
Marvin Wichmann 45288431f9
Update xknx to 0.14.2 ()
* 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 ()
* 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 a2651845f3
Centralize knx config and update xknx to 0.12.0 ()
* Refactor KNX integration to centralize configuration yaml ()

* Updates for xknx 0.12.0 ()
2020-08-26 18:03:03 +02:00