The council flat is "unfit for a dog to live in".