HI,
How can I get the simple script below to disconnect / mute pool speakers if it is before 7:30 AM , then pause 2 seconds to ensure the speakers were shut off? Wife tells me the neighbors do not need to know the time that early in the morning...
import datetime
---If time is less than 7:30 AM, turn off pool speakers, but time will run in rest of house so everyone stays on schedule ....... ---Name of speakers to be muted, or turned to zero is "Airplay-Pool"
indigo.server.speak ("The time is %s" % datetime.datetime.now().strftime('%I:%M %p'))
Thanks