Compare commits

..
2 changed files with 4 additions and 2 deletions

No files matched your search

@@ -8,6 +8,8 @@ namespace esphome::template_ {
class TemplateBinaryOutput final : public output::BinaryOutput {
public:
// User provided, not "= default": `new(p) TemplateBinaryOutput()` would zero-fill .bss that is already zero.
TemplateBinaryOutput() {}
Trigger<bool> *get_trigger() { return &this->trigger_; }
protected:
+2 -2
View File
@@ -30,8 +30,8 @@ class TextTraits {
TextMode get_mode() const { return this->mode_; }
protected:
int min_length_{0};
int max_length_{0};
int min_length_;
int max_length_;
const char *pattern_{""};
TextMode mode_{TEXT_MODE_TEXT};
};