1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 18:22:22 +01:00
Files
esphome/esphome/components/device/device.h
2025-04-08 22:07:09 +02:00

15 lines
223 B
C++

#pragma once
namespace esphome {
class Device {
public:
void set_name(std::string name) { name_ = name; }
std::string get_name(void) {return name_;}
protected:
std::string name_ = "";
};
} // namespace esphome