Solved by tom in post #2 
              
              
                I think you’re missing a bunch of self. in the init. 
Best regards 
Thomas 
P.S.: If you put triple backticks ``` before and after your code, you’ll get proper formatting.