summaryrefslogtreecommitdiff
path: root/platformio/common/libs/relay/homekit/relay.h
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-05-30 01:01:09 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-05-30 01:01:09 +0300
commitd1435e2b1acc31fba64d21994d40297ae900c549 (patch)
tree18665fe89efc7819ac4ad72f2dda00f5d4cb8ffb /platformio/common/libs/relay/homekit/relay.h
parent0e021d0f1e17f4e2c07f927284cda4bd2754caf0 (diff)
platformio: make relay a library
Diffstat (limited to 'platformio/common/libs/relay/homekit/relay.h')
-rw-r--r--platformio/common/libs/relay/homekit/relay.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/platformio/common/libs/relay/homekit/relay.h b/platformio/common/libs/relay/homekit/relay.h
new file mode 100644
index 0000000..288cc05
--- /dev/null
+++ b/platformio/common/libs/relay/homekit/relay.h
@@ -0,0 +1,13 @@
+#ifndef HOMEKIT_LIB_RELAY_H
+#define HOMEKIT_LIB_RELAY_H
+
+namespace homekit::relay {
+
+void init();
+bool state();
+void on();
+void off();
+
+}
+
+#endif //HOMEKIT_LIB_RELAY_H