From 89de7fc3ff745dbf4ac74f71b0a702eb746d5623 Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Sun, 5 Feb 2017 16:34:38 +0100 Subject: [PATCH] Return status JSON when switching animation mode via REST API. --- Arduino/McLighting/McLighting.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 07efc5e..1f0fe8b 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -341,6 +341,7 @@ void setup() { server.on("/set_mode", []() { getArgs(); mode = SET_MODE; + getStatusJSON(); }); server.begin();