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.
|
// -----------------------------------------------------------------------------
|
|
// TUYA
|
|
// -----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "espurna.h"
|
|
|
|
namespace tuya {
|
|
|
|
#if LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
|
|
void setupChannels();
|
|
void sendChannel(unsigned char, unsigned int);
|
|
#endif
|
|
|
|
#if RELAY_SUPPORT
|
|
void setupSwitches();
|
|
void sendSwitch(unsigned char, bool);
|
|
#endif
|
|
|
|
void setup();
|
|
|
|
} // namespace tuya
|