Releases: XKNX/xknx
Releases · XKNX/xknx
Connection Manager
Internals
- DPTString: replace invalid characters with question marks in
to_knx
- Catch and log exceptions raised in callbacks to not stall the TelegramQueue
- Handle callbacks in separate asyncio Tasks
- GatewayScanFilter: Ignore non-gateway KNX/IP devices
- Introduce connection state change handler
Home Assistant Plugin
- Properly handle disconnected state in the UI.
HS-color
Position-only cover
- Update dependencies - most importantly use current pylint again.
Devices
- Cover: enable
set_up
andset_down
withgroup_address_position
only (withoutgroup_address_long
).
RawValue
NumericValue
Devices
- Add
respond_to_read
option to Switch. IfTrue
GroupValueRead telegrams addressed to thegroup_address
are answered. - Add NumericValue device.
Internals
- Add RemoteValueNumeric for values of type
float | int
. - Fix DPTBase classmethod return types
DPTNumeric
Internals
DPTBase.parse_transcoder
is now a classmethod to allow parsing only subclasses.- Add
DPTNumeric
as base class for DPTs representing numeric values.
ClimateMode bugfix
Bugfix
- ClimateMode: Fix telegram processing when operation_mode and controller_mode (heat/cool) are both used
XYY colors
Devices
- Light: support for xyY-color (DPT 242.600)
Climate and Light improvements
Devices
- Climate: make
setpoint_shift_mode
optional. WhenNone
auto-assign its DPT from the first incoming payload. - Light: Support individual color lights without switch object, only brightness group address.
Internal group addresses
Devices
- Add InternalGroupAddress for communication between Devices without sending to the bus.
Internals
- RemoteValue.value changed to a settable property. It is used to create payloads for outgoing telegrams.
- RemoteValue.update_value (async) sets a new value and awaits the callbacks without sending to the bus.
- Round DPT 14 values to precision of 7 digits