diff --git a/src/nodes/Time.js b/src/nodes/Time.js
index <HASH>..<HASH> 100644
--- a/src/nodes/Time.js
+++ b/src/nodes/Time.js
@@ -187,7 +187,7 @@ class Time extends EventsHaNode {
     }
 
     createCronjob(crontab) {
-        const node = this;
+        const node = this.node;
         this.cronjob = new CronJob({
             cronTime: crontab,
             onTick: () => {
refactor(time): use correct node reference