MTQQ Sensor or Switch for Sleep Tracking and MQTT time stamp for bed time and alarms

I use home assistant with my automation and sleep as android. What would be awesome if I could pull the bedtime time and alarm time as a dedicated sensor on MQTT and be able to control the sleep tracking state via a flick of a switch.

The bedtime time stamp would be amazing because I could trigger a bed time briefing and reminders before the notification goes off.

A dedicated switch or binary sensor would be awesome because sometimes the sleep as android events don’t get pushed to the MQTT broker for some reason. And having sleep tracking as a switch would add an extra degree to the automation capabilities of sleep as android.