public override bool Init() { base.Init(); if (Parent is KnxLevelBase parentLevel) { var mainAddress = ((KnxLevelBase)Parent.Parent).Address; var middleAddress = ((KnxLevelBase)Parent).Address; var group = Address; GroupAddress = $"{mainAddress}/{middleAddress}/{group}"; } else { GroupAddress = $"{Address}"; } DptType = GetPropertyValueInt("knx-dpt"); DptTypeString = GetDptString(DptType); DriverContext.Logger.LogDebug($"GA {GroupAddress} - DptType {DptType} - DptTypeString {DptTypeString}"); Driver.AddAddressNotifier(GroupAddress, TelegramReceivedCallback); return(true); }