mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-28 08:48:27 +02:00
Cleanup dashboard JS (#491)
* Cleanup dashboard JS * Add vscode * Save start_mark/end_mark * Updates * Updates * Remove need for cv.nameable It's a bit hacky but removes so much bloat from integrations * Add enum helper * Document APIs, and Improvements * Fixes * Fixes * Update PULL_REQUEST_TEMPLATE.md * Updates * Updates * Updates
This commit is contained in:
@@ -9,7 +9,7 @@ namespace uart {
|
||||
|
||||
class UARTSwitch : public switch_::Switch, public UARTDevice, public Component {
|
||||
public:
|
||||
UARTSwitch(const std::string &name, const std::vector<uint8_t> &data);
|
||||
void set_data(const std::vector<uint8_t> &data) { data_ = data; }
|
||||
|
||||
void dump_config() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user