Esphome Initial state of light component when booting

I have a led switched on/off with a latching flip flop which has only one falling edge trigger. Is it possible to get the current state of the led when starting up to set it initially in order to keep real state and state in home assistant synchonous.