mirror of
https://github.com/esphome/esphome.git
synced 2025-09-12 08:12:22 +01:00
Webui small fixes (#3713)
This commit is contained in:
committed by
GitHub
parent
e008b054cb
commit
01a4443b6c
@@ -415,6 +415,9 @@ ParseOnOffState parse_on_off(const char *str, const char *on = nullptr, const ch
|
||||
/// Create a string from a value and an accuracy in decimals.
|
||||
std::string value_accuracy_to_string(float value, int8_t accuracy_decimals);
|
||||
|
||||
/// Derive accuracy in decimals from an increment step.
|
||||
int8_t step_to_accuracy_decimals(float step);
|
||||
|
||||
///@}
|
||||
|
||||
/// @name Colors
|
||||
|
Reference in New Issue
Block a user