From 3a34fe285f99a1d0b16d0d2607de0ef7cf0951e5 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Mon, 2 Aug 2021 00:45:08 +0200 Subject: [PATCH] Send sensordata with current state --- src/hasp/hasp_dispatch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hasp/hasp_dispatch.cpp b/src/hasp/hasp_dispatch.cpp index dd2375ffa..4a9850e2d 100644 --- a/src/hasp/hasp_dispatch.cpp +++ b/src/hasp/hasp_dispatch.cpp @@ -1059,6 +1059,7 @@ void dispatch_current_state(uint8_t source) dispatch_statusupdate(NULL, NULL, source); dispatch_idle(NULL, NULL, source); dispatch_current_page(); + dispatch_send_sensordata(NULL, NULL, source); dispatch_send_discovery(NULL, NULL, source); }