Can't get automation to trigger with the editor

I can’t get this automation to trigger. I’ve tried to add quotation around the “to” value but no luck. When I add quotation marks they also seem to be “doubled up” in the YAML file.

The YAML looks like this:

- id: '1568489307134'
  alias: Automasjon Vekk oss på en arbeidsdag
  trigger:
  - entity_id: input_select.home_mode
    platform: state
    to: God Morgen
  condition:
  - condition: state
    entity_id: group.familie
    state: Home
  action:
  - data:
      entity_id: script.1568489121772
    service: script.turn_on

Thanks for any assistance.

Check the group.familie state. It’s most likely home, not Home.

That might be it! Thanks.