The latest upstream version of pychromecast has broken the API again (removing e.g. cast.device).
cast.device