mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-12 10:55:49 +00:00
disable availbity topic for tmSensr
This commit is contained in:
@ -230,7 +230,7 @@ HassDeviceInfo* hass_init_device_info(ENTITY_TYPE type, int index, char* payload
|
||||
flagavty = CFG_HasFlag(OBK_FLAG_NOT_PUBLISH_AVAILABILITY_SENSOR);
|
||||
// if door sensor is running, then deep sleep will be invoked mostly, then we dont want availability
|
||||
#ifndef OBK_DISABLE_ALL_DRIVERS
|
||||
if (DRV_IsRunning("DoorSensor") == false)
|
||||
if (DRV_IsRunning("DoorSensor") == false && DRV_IsRunning("tmSensor") == false)
|
||||
#endif
|
||||
{
|
||||
if (!isSensor || !flagavty) {
|
||||
|
||||
Reference in New Issue
Block a user