Send additional discovery on setoption 114 send
This commit is contained in:
stefanbode 2022-02-16 07:57:18 +01:00 committed by GitHub
parent 77432c3281
commit 07388b4511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1097,7 +1097,7 @@ void CmndSetoptionBase(bool indexed) {
SettingsSave(2);
}
#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
}
#endif // USE_HOME_ASSISTANT