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

  1. // -----------------------------------------------------------------------------
  2. // TUYA
  3. // -----------------------------------------------------------------------------
  4. #pragma once
  5. namespace Tuya {
  6. void tuyaSendChannel(unsigned char, unsigned int);
  7. void tuyaSendSwitch(unsigned char, bool);
  8. void tuyaSetup();
  9. void tuyaSetupLight();
  10. void tuyaSyncSwitchStatus();
  11. void tuyaSetupSwitch();
  12. }
  13. using Tuya::tuyaSetup;
  14. using Tuya::tuyaSetupSwitch;
  15. using Tuya::tuyaSyncSwitchStatus;
  16. using Tuya::tuyaSendSwitch;
  17. #if LIGHT_PROVIDER == LIGHT_PROVIDER_TUYA
  18. using Tuya::tuyaSetupLight;
  19. using Tuya::tuyaSendChannel;
  20. #endif