You set initial_state to ‘off’ that means that the automation is disabled by default. Did you enable the automation after you created it? Also the homeassistant.turn_on doesn’t need to be in quotes, and because you only turn on a light you can just use light.turn_on instead.
Further to what burning said (you have learnt that setting initial to false is bad)
But setting it to true is also bad as this initialises the automation on a core restart.
You may not fall foul of this for a while but eventually, when your automations get more complex, you will need to know when that automation was last triggered - and you won’t know if you set this to true as that gets reinitialised too.
Best just to remove that line completely