The API was replaced and the library is no longer functional. It's only user 'home-assistant' is dropping support for it in 2021.3.0 depends on https://github.com/NixOS/nixpkgs/pull/115016