The state machine recognizes two commands: "command_open" and "command_close", which trigger state changes.
Stroj stanja prepoznaje dvije naredbe: command_open i command_close koje okidaju promjene stanja.