Add all events attribute to scheduler integration

Would great to expose a full schedule attribute. This could then sent to esphome device that will allow it to follow the last received schedule locally if wifi fails. Use cases heating and irrigation systems where opperation is essential. I am writing a esphome component that currently takes a text string via api and stores it in flash and uses a rtc ds3231 to provide local time source if wifi fails