Error with duplicate input booleans

i have setup an alarm card and now want to add a 2nd alarm card for the wife, when i copy the code in the configuration.yaml file it gives an error about my input_boolean. I have used unique names for the 2 cards. I’m not sure why its complaining about duplicated mapping key at line 35

boo2

Because there’s already an input_boolean: key on line 17 thereby making the one on line 35 a duplicate.

Get rid of line 35 and move lines 36 to 43 to line 26. In other words, consolidate all input_boolean definitions under one input_boolean: key.