Please help withe Boolean variable

I would love for your help with the following automation What I am doing wrong ? I give an ON value to a boolean variable when switch 1 switches from OFF to ON. When the second switch powerd to ON I check the status of the boolean variable if it is in the ON state it should send me a message but I can’t make it send me a message probably because the boolian variable does not get the value ON. Where am I wrong? thank you very much
Regards
David
https://paste.ofcode.org/buebhQSJLfvpAmizExP7z

  - data:
      data: input_boolean.notify_home
    service: input_boolean.turn_on

change to

  - data:
      entity_id: input_boolean.notify_home
    service: input_boolean.turn_on

Thank you ! thank You Thank you very much :slight_smile: it’s work
Best regards
David