The care home has been issued with a warning notice after inspectors found residents were left at risk of serious harm