Merge pull request #14871 from stefanbode/patch-7

Address #14863
This commit is contained in:
Theo Arends 2022-02-16 08:43:58 +01:00 committed by GitHub
commit f6f1448e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1097,7 +1097,7 @@ void CmndSetoptionBase(bool indexed) {
SettingsSave(2); SettingsSave(2);
} }
#ifdef USE_HOME_ASSISTANT #ifdef USE_HOME_ASSISTANT
if ((19 == pindex) || (30 == pindex)) { if ((19 == pindex) || (30 == pindex) || (114 == pindex)) {
HAssDiscover(); // Delayed execution to provide enough resources during hass_discovery or hass_light HAssDiscover(); // Delayed execution to provide enough resources during hass_discovery or hass_light
} }
#endif // USE_HOME_ASSISTANT #endif // USE_HOME_ASSISTANT