mirror of
https://github.com/esphome/esphome.git
synced 2025-09-09 23:02:23 +01:00
Add sensor force_update option (#783)
* Add sensor force_update option * Add test
This commit is contained in:
@@ -364,6 +364,7 @@ class ListEntitiesSensorResponse : public ProtoMessage {
|
||||
std::string icon{}; // NOLINT
|
||||
std::string unit_of_measurement{}; // NOLINT
|
||||
int32_t accuracy_decimals{0}; // NOLINT
|
||||
bool force_update{false}; // NOLINT
|
||||
void encode(ProtoWriteBuffer buffer) const override;
|
||||
void dump_to(std::string &out) const override;
|
||||
|
||||
|
Reference in New Issue
Block a user