1#ifndef _smart_switch_controller_h
2#define _smart_switch_controller_h
64 void start()
override;
85 return lhs.sk_sync_path <
rhs.sk_sync_path;
Used to store configuration internally.
BoolSKPutRequest * put_request
friend bool operator<(const SyncPath &lhs, const SyncPath &rhs)
A high level transform designed to control a digital output (such as a relay) via manual button press...
std::set< SyncPath > sync_paths
void set_input(bool new_value, uint8_t input_channel=0) override
virtual void get_configuration(JsonObject &doc) override
virtual bool set_configuration(const JsonObject &config) override
virtual String get_config_schema() override
A base class for piece of code (like a transform) that accepts data for input. ValueConsumers can acc...