A residential care home has been told it is in breach of legal regulations following a visit from a watchdog.