Flow (created to turn TV off) keeps turning TV on