You can check the secret code in Home > Settings in Apple Home App