[mqtt] Move Home Assistant discovery keys to PROGMEM on ESP8266 (#13011)
This commit is contained in:
1 parent
1e56325b33
commit
e0981323bd
52 files changed
+420
-737
No files matched your search
@@ -6,8 +6,7 @@
|
||||
#ifdef USE_MQTT
|
||||
#ifdef USE_BINARY_SENSOR
|
||||
|
||||
namespace esphome {
|
||||
namespace mqtt {
|
||||
namespace esphome::mqtt {
|
||||
|
||||
static const char *const TAG = "mqtt.binary_sensor";
|
||||
|
||||
@@ -57,8 +56,7 @@ bool MQTTBinarySensorComponent::publish_state(bool state) {
|
||||
return this->publish(this->get_state_topic_(), state_s);
|
||||
}
|
||||
|
||||
} // namespace mqtt
|
||||
} // namespace esphome
|
||||
} // namespace esphome::mqtt
|
||||
|
||||
#endif
|
||||
#endif // USE_MQTT
|
||||
Reference in new issue
Block a user