See Tutorial: Migrating OH 1 addon to OH 2/3: preparing (1/x) to
It’s a work in progress but already very useful.