Looking for bluprint to use Ring2 Kepad, as door opener in a B&B

Hi all
I would like to implement a system for my B&B, with Ring2 Alarm;

The idea is that,

  • when inserting the correct code “xxxx” in keypad id=1,
  • HA will check code AND also current datetime to be inside a given interval, (datetime_checkin, datetime_checkout)
  • if everything is correct HA will close for k seconds the switch id=10
  • so the door will be opened.

Is there some bluprint to begin with ?

Thanks in advance
Giuliano