alias: Boys Room White Noise Off id: automation_boys_room_white_noise_off trigger: - platform: state entity_id: input_boolean.boys_room_asleep to: "off" action: - action: media_player.turn_off entity_id: media_player.ma_boys_room_clock