See: https://gitlab.com/tango-controls/pytango/-/merge_requests/577/diffs#541115159d3dde1a30bd8168429f868e50bc8c03