Update KNX component to xknx 0.11 (#24738)

* update component for xknx 0.11.0

- expose sensor state is not casted to float anymore
- climate mode operation list has no more None values
- light supports white_value (rgbw)
- sensor expects `group_address_state` now instead of `group_address`
- sensor forwards device_class if available

* update manifest to use xknx 0.11.0

* update requirements_all for xknx 0.11.0

* update for xknx 0.11.1

- require xknx 0.11.1
- use 'state_address' instead of 'address' in sensor and binary_sensor configuration
- optional 'sync_state' for sensors and binary_sensors

* remove questionable `del kwargs`
This commit is contained in:
Matthias Alphart authored and Martin Hjelmare committed 2019-07-11 22:01:37 +02:00
1 parent 78a5dc71ac
commit e299d7b3d6
11 files changed
+108 -66

No files matched your search

+2 -2
View File
@@ -43,8 +43,8 @@ def async_get_service_config(hass, config):
import xknx
notification = xknx.devices.Notification(
hass.data[DATA_KNX].xknx,
name=config.get(CONF_NAME),
group_address=config.get(CONF_ADDRESS))
name=config[CONF_NAME],
group_address=config[CONF_ADDRESS])
hass.data[DATA_KNX].xknx.devices.add(notification)
return KNXNotificationService([notification, ])