Type of notifications based on time and presence

What I would like to achieve?

  1. I setup TTS notification on some automations and actions
  2. Play TTS with 0.4 sound level between 8:30-22:59 hours
  3. Between 23:00-8:29 hours OR everybody are AWAY then send push message via Telegram
  4. If Alarm triggered play TTS always with 0.8 sound level

Would be nice to put text message in a 1. step and then other “Notification Automation” deside to Play TTS or send push message like mentioned on 2-4 steps.

Please help

What have you created so far? Please share your script here so we can try to help improve it.