Starts playing music and reads off today's weather when you turn off your alarm
- Sleep as Android
- Tasker
- AutoInput
- Spotify
- DarkSky API key
- Spotify playlist URI
alias: Turn Off TV When It's Too Late | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- media_player.living_room_tv | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 0 |
SELECT | |
`posts`.*, | |
(WITH `k` AS ( | |
SELECT | |
`member_id` | |
FROM | |
`members_subscription_created_events` | |
WHERE | |
posts.id = members_subscription_created_events.attribution_id | |
UNION |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; Adjust these as required. | |
#include lib\Midi.ahk | |
#include lib\OBS.ahk | |
#include lib\PlayMedia.ahk |
source 'https://rubygems.org' | |
gem 'guard' | |
gem 'guard-shell' | |
gem 'guard-process' |
I hereby claim:
To claim this, I am signing this object: