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