From ded490dc9fe9b148d69f5613544fe2034b47fddc Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 18 Mar 2026 21:24:09 -1000 Subject: [PATCH] [combination] Move SensorSource to protected and fix grammar nit --- esphome/components/combination/combination.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/combination/combination.h b/esphome/components/combination/combination.h index 6e3f7c5ece..463eedc564 100644 --- a/esphome/components/combination/combination.h +++ b/esphome/components/combination/combination.h @@ -46,16 +46,16 @@ class CombinationOneParameterComponent : public CombinationComponent { void add_source(Sensor *sensor, std::function const &compute); void add_source(Sensor *sensor, float value); - /// @brief Logs all source sensor's names in sensor_sources_ + /// @brief Logs all source sensors' names in sensor_sources_ void log_source_sensors() override; + protected: struct SensorSource { sensor::Sensor *sensor; std::function compute; CombinationOneParameterComponent *parent; }; - protected: FixedVector sensor_sources_; };