mirror of
https://github.com/esphome/esphome.git
synced 2025-09-16 18:22:22 +01:00
15 lines
223 B
C++
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
|