iCloud authenfication fails with app specific password

Hello everyone,
I’m starting with HA absolutely by zero. I don’t know if my question is right here.

I’ve a problem to integrate iCloud. I’ve created an app specific password. But the authentification fails every time I tried.
The error ist “Invalid authentification”.

Can someone help me?

Best regards
Ralph

I have this exact same issue.

maybe take a look at icloud3, it’s custom and has similar+additional features but is still fully maintained