ESPHome 2025.5.0
Loading...
Searching...
No Matches
homeassistant_text_sensor.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome {
7namespace homeassistant {
8
10 public:
11 void set_entity_id(const std::string &entity_id) { entity_id_ = entity_id; }
12 void set_attribute(const std::string &attribute) { attribute_ = attribute; }
13 void setup() override;
14 void dump_config() override;
15 float get_setup_priority() const override;
16
17 protected:
18 std::string entity_id_;
20};
21
22} // namespace homeassistant
23} // namespace esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7