def get_states(path):
    """
    Method to return an array containing all the states for a specified path
    """
    states = []
    if path == 1:
        # PATH 1
        states = ["0_off_start", "1_on", "2_rgb", "3_bright", "4_rgb_bright", "5_off_end",
                  "6_invalid"]

    elif path == 2:
        # PATH 2
        states = ["0_off_start", "1_on", "2_rgb", "3_bright", "4_rgb_bright", "5_off_end",
                  "6_invalid", "7_name", "8_on_name", "9_on_name_rgb", "10_on_name_bright", "11_on_name_rgb_bright"
                  ]

    elif path == 3:
        # PATH 3
        # If you want to visually check the optimal path related to this path,
        # start from 0_off_start and from rgb value set to 255 (blue)
        # in order to check that the lamp does not change the rgb value
        states = ["0_off_start", "1_on", "2_rgb", "3_bright", "4_rgb_bright", "5_off_end",
                  "6_invalid", "7_name", "8_on_name", "9_on_name_rgb", "10_on_name_bright", "11_on_name_rgb_bright",
                  "12_ct", "13_ct_bright", "14_rgb_ct", "15_rgb_bright_ct", "16_off_middle", "17_on_middle",
                  "18_ct_middle",
                  "19_rgb_middle", "20_bright_middle", "21_ct_rgb_middle", "22_ct_bright_middle",
                  "23_rgb_bright_middle", "24_ct_rgb_bright_middle",
                  ]
    elif path == 4:
        # PATH 4 (simplest path, starts from on and finish at rgb_bright in the optimal policy)
        states = ["0_off_start", "1_on", "2_rgb", "3_bright", "4_rgb_bright", "5_off_end",
                  "6_invalid"]
    return states