This commit is contained in:
Federico Leoni 2020-10-08 12:19:39 -03:00
parent b5ae50a4d6
commit 9ffd68e71c
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ void HassDiscoveryRelays(struct HASS &Hass)
Hass.RelPst = devices_present > 0;
#ifdef ESP8266
if (IsModuleIfan()) { iFan = true;}
if (SONOFF_IFAN02 == my_module_type || SONOFF_IFAN03 == my_module_type) { iFan = true;}
#endif // ESP8266
if (Light.subtype > LST_RGB) {