Releases: XKNX/xknx
Releases · XKNX/xknx
Bugfix release
Devices
- Climate: Don't set standby operation mode if telegram was not processed by any RemoteValue
- Cover: Allow covers to be inverted again
- All devices: Correctly process outgoing telegrams in our own devices
Bugfix release
Internals
- Make connection errors less noisy in the logs.
Bugfix release
Bugfixes
- Correctly reset the counter of the binary_sensor after a trigger.
Bugfix release
Bugfixes
- Use correct DPT 9.006 for the air pressure attribute of weather devices (#406)
- Reset binary sensor counters after the context has been timed out in order to be able to use state change events within HA
- Code cleanups
New sensor types and refactoring of binary sensor automations
Breaking changes
- Binary sensor automations within the home assistant integration have been refactored to use the HA built in events as automation source instead of having the automation schema directly attached to the sensors. (Migration Guide: https://xknx.io/migration_ha_0116.html)
New Features
- Add support for new sensor types DPT 12.1200 (DPT_VolumeLiquid_Litre) and DPT 12.1201 (DPTVolumeM3).
- Weather devices now have an additional
brightness_north
GA to measure the brightness. Additionally, all sensor values are now part of the HA device state attributes for a given weather device.
Bugfixes
- Fix hourly broadcasting of localtime
Internals
- Allow to pass GroupAddress and PhysicalAddress objects to wherever an address is acceptable.
- Stop heartbeat and reconnect tasks before disconnecting
New weather device, bugfixes for HA integration & configuration tweaks
New Features
- Adds support for a weather station via a dedicated weather device
- Support for configuring the previously hard-coded multicast address (@jochembroekhoff #312)
Internals
- GatewayScanner: Passing None or an integer <= 0 to the
stop_on_found
parameter now causes the scanner to only stop once the timeout is reached (@jochembroekhoff #311) - Devices are now added automatically to the xknx.devices list after initialization
- Device.sync() method now again has a
wait_for_result
parameter that allows the user to wait for the telegrams - The default timeout of the
ValueReader
has been extended from 1 second to 2 seconds
Bugfixes
- Device: Fixes a bug (#339) introduced in 0.12.0 so that it is again possible to have multiple devices with the same name in the HA integration
- Documentation fixes (@spacegaier #344)
Deprecation notes
- Python 3.5 is no longer supported
Thanks to everyone who contributed to this release!
New StateUpdater, improvements to the HA integrations and bug fixes
Breaking changes
- Climate:
setpoint_shift_step
renamed fortemperature_step
. This attribute can be applied to all temperature modes. Default is0.1
- Removed significant_bit attribute in BinarySensor
- DateTime devices are initialized with sting for broadcast_type: "time", "date" or "datetime" instead of an Enum value
- Removed
bind_to_multicast
option in ConnectionConfig and UDPClient
New Features
- Cover: add optional
group_address_stop
for manual stopping - Cover: start travel calculator when up/down telegram from bus is received
- HA integration:
knx.send
service takestype
attribute to allow sending DPT encoded values likesensor
- HA integration:
sensor
andexpose
accept int and float values fortype
(parsed as DPT numbers) - new StateUpdater: Devices
sync_state
can be set toinit
to just initialize state on startup,expire [minutes]
to read the state from the KNX bus when it was not updated for [minutes] orevery [minutes]
to update it regularly every [minutes] - Sensor and ExposeSensor now also accepts
value_type
of int (generic DPT) or float (specific DPT) if implemented. - Added config option ignore_internal_state in binary sensors (@andreasnanko #267)
- Add support for 2byte float type (DPT 9.002) to climate shiftpoint
- ClimateMode: add
group_address_operation_mode_standby
as binary operation mode - ClimateMode: add
group_address_heat_cool
and `group_address_heat_cool_state for switching heating mode / cooling mode with DPT1
Bugfixes
- Tunneling: don't process incoming L_Data.con confirmation frames. This avoids processing every outgoing telegram twice.
- enable multicast on macOS and fix a bug where unknown cemi frames raise a TypeError on routing connections
- BinarySensor: reset_after is now implemented as asyncio.Task to prevent blocking the loop
- ClimateMode: binary climate modes should be fully functional now (sending, receiving and syncing)
- Cover: position update from bus does update current position, but not target position (when moving)
Internals
- Cover travelcalculator doesn't start from 0% but is initialized by first movement or status telegram
- Cover uses 0% for open cover and 100% for closed cover now
- DPT classes can now be searched via value_type string or dpt number from any parent class (DPTBase for all) to be used in Sensor
- Use RemoteValue class in BinarySensor, DateTime and ClimateMode device
- use time.struct_time for internal time and date representation
- use a regular Bool type for BinarySensor state representation
- RemoteValue.process has always_callback attribute to run the callbacks on every process even if the payload didn't change
- Separate incoming and outgoing telegram queues; apply rate limit only for outgoing telegrams
- Automatically publish packages to pypi (@Julius2342 #277)
- keep xknx version in
xknx/__version__.py
(@farmio #278) - add raw_socket logger (@farmio #299)
Special thanks to everyone who contributed to this release!
Sensor types galore!
New Features
Bugfixes
- DPT_Step correction (used in Cover) (@recMartin #260)
- prevent reconnects on unknown CEMI Messages (@farmio #271)
- fix the parsing of operation mode strings to HVACOperationMode (@FredericMa #266)
- corrected binding to multicast address in Windows (Routing) (@FredericMa #256)
- finish tasks when stopping xknx (@farmio #264, #274)
Internals
Add invert for climate on_off; fixed RGBW lights and stability improvements
New Features
- Sensor: add DPT 9.006 as pressure_2byte #223 (@michelde)
- Climate: add new attribute on_off_invert #225 (@tombbo)
Bugfixes
- Light: Fix for wrong structure of RGBW DPT 251.600 #231 (@dstrigl)
- Core: Correct handling of E_NO_MORE_CONNECTIONS within ConnectResponses #217 (@Julius2342)
- Core: Fix exceptions #234 (@elupus)
- Core: Avoid leaking ValueError exception on unknown APCI command #235 (@elupus)
- add tests for Climate on_off_invert (#233) (@farmio)
- merge HA plugin from upstream 0.97.2 (#224) (@farmio)
- Small adjustments to the sensor documentation and example (#219) (@biggestj)
- merge HA plugin from upstream (@farmio)