Nest Combination Lock component for Alarm

Saw this article the other day where a python script has been written to use a set of sequential Nest thermostat templates values as a combination lock.

Would love to be able to use this to deactivate an alarm system in hass!

Solve a lot of problems for those with a nest but nowhere to put a physical panel.