Command Line Switch issues

I am trying to add two command line switches to my switch.yanl file. When i have just the first switch (playstation4) everything works fine. but when i add the second (netflix) home assistant crashes. Any idea what I am doing wrong?

- platform: command_line
  switches:
    playstation4:
      command_on: 'sudo ps4-waker'
      command_off: 'sudo ps4-waker standby'
      friendly_name: "Playstation 4"
      value_template: '{{ value == "1" }}'
    netflix:
      command_on: 'sudo ps4-waker start CUSA00129'
      command_off:'sudo ps4-waker standby'
      friendly_name: "Netflix"
      value_template: '{{ value == "1" }}'

Never mind. I see my typo. Sigh