Address https://github.com/toblum/McLighting/issues/248 Commented our because # only is ment to change color and not the state
This commit is contained in:
parent
97120a196c
commit
c53d02bdbe
1 changed files with 2 additions and 2 deletions
|
@ -410,8 +410,8 @@ void checkpayload(uint8_t * payload, bool mqtt = false, uint8_t num = 0) {
|
|||
amqttClient.publish(mqtt_outtopic.c_str(), qospub, false, String(String("OK ") + String((char *)payload)).c_str());
|
||||
#endif
|
||||
#ifdef ENABLE_HOMEASSISTANT
|
||||
stateOn = true;
|
||||
if(!ha_send_data.active()) ha_send_data.once(5, tickerSendState);
|
||||
// stateOn = true; //Commented our because # only is ment to change color and not the state
|
||||
if(!ha_send_data.active()) ha_send_data.once(5, tickerSendState);
|
||||
#endif
|
||||
#ifdef ENABLE_STATE_SAVE_SPIFFS
|
||||
if(!spiffs_save_state.active()) spiffs_save_state.once(3, tickerSpiffsSaveState);
|
||||
|
|
Loading…
Reference in a new issue