Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
646 B

// -----------------------------------------------------------------------------
// TUYA
// -----------------------------------------------------------------------------
#pragma once
namespace Tuya {
void tuyaSendChannel(unsigned char, unsigned int);
void tuyaSendSwitch(unsigned char, bool);
void tuyaSetup();
void tuyaSetupLight();
void tuyaSyncSwitchStatus();
void tuyaSetupSwitch();
}
using Tuya::tuyaSetup;
using Tuya::tuyaSetupSwitch;
using Tuya::tuyaSyncSwitchStatus;
using Tuya::tuyaSendSwitch;
#if LIGHT_PROVIDER == LIGHT_PROVIDER_TUYA
using Tuya::tuyaSetupLight;
using Tuya::tuyaSendChannel;
#endif