Amend HB 2947 by adding the following appropriately numbered sections to read as follows: SECTION _____. Chapter 54, Family Code, is amended by adding Section 54.0406 to read as follows: Sec. 54.0406. CHILD PLACED IN COUNTY DETENTION FACILITY AS CONDITION OF PROBATION. (a) If a court or jury makes a disposition under Section 54.04(d) (1) in which a child is placed on probation, the court may, as a condition of the probation, place the child for not more than 30 days in a certified juvenile detention or correctional facility operated by or under contract with the county in which the disposition is made. The court may place the child in a detention facility at the time the court makes the disposition placing the child on probation or at any time during the period of probation in an order to modify the disposition under Section 54.05. (b) A court may place a child in a certified juvenile detention or correctional facility as provided by Subsection (a) more than once during the same period of probation, except that the total amount of time that the child is placed in a detention facility may not exceed 30 days. SECTION _____. (a) The change in law made by Section 54.0406, Family Code, as added by this Act, applies only to a child placed on probation for conduct that occurs on or after the effective date of this Act. Conduct violating a penal law of the state occurs on or after the effective date of this Act if every element of the violation occurs on or after that date. (b) A child placed on probation for conduct that occurs before the effective date of this Act is covered by the law in effect at the time the conduct occured, and the former law is continued in effect for that purpose.