add a virtual item and toggle it in your homekit good night scene. then create a rule which triggers when the switch is toggled and put your automation in that rule
add a virtual item and toggle it in your homekit good night scene. then create a rule which triggers when the switch is toggled and put your automation in that rule