"One" as a number: in counting, clock times, room numbers. Uninflected on its own; before a noun it switches to ein / eine / ein and declines like the indefinite article.
Kardinalzahl 1 in Zählkontexten. Vor Substantiv: ein/eine/ein (wie unbestimmter Artikel).