mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-13 03:37:05 +01:00
Merge pull request #520 from mcspr/hass-web-ws
Home Assistant switch in WebUI + typo fix
This commit is contained in:
@@ -18,6 +18,7 @@ bool _haSendFlag = false;
|
||||
void _haWebSocketOnSend(JsonObject& root) {
|
||||
root["haVisible"] = 1;
|
||||
root["haPrefix"] = getSetting("haPrefix", HOMEASSISTANT_PREFIX);
|
||||
root["haEnabled"] = getSetting("haEnabled", HOMEASSISTANT_ENABLED).toInt() == 1;
|
||||
}
|
||||
|
||||
#if SENSOR_SUPPORT
|
||||
Reference in New Issue
Block a user