US state residency rules

Moved to Texas permanently from New York in August (residential as well as office location to Texas) how do I prove to NYS taxation so that I do not owe taxes to them post August salary? Could you confirm the rules on how my annual income will be taxed for the two states ( my salary was reduced with the Texas transfer)