mirror of
https://github.com/esphome/esphome.git
synced 2026-02-21 00:45:35 -07:00
Merge branch 'number_reorder_reduce' into integration
This commit is contained in:
@@ -8,7 +8,7 @@ namespace esphome::number {
|
||||
|
||||
class Number;
|
||||
|
||||
enum NumberOperation {
|
||||
enum NumberOperation : uint8_t {
|
||||
NUMBER_OP_NONE,
|
||||
NUMBER_OP_SET,
|
||||
NUMBER_OP_INCREMENT,
|
||||
@@ -38,8 +38,8 @@ class NumberCall {
|
||||
float limit);
|
||||
|
||||
Number *const parent_;
|
||||
NumberOperation operation_{NUMBER_OP_NONE};
|
||||
optional<float> value_;
|
||||
NumberOperation operation_{NUMBER_OP_NONE};
|
||||
bool cycle_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user