mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-20 23:27:10 +01:00
sns: report both used & supported units to the webui
Generic way to find out which units the magnitude type supports. Clean-up UI related to temperature, energy and power units. Resolves #2482 Also apply some refactoring to the 'schema'-generated payloads by using the EnumerableConfig helper class. Class received some new features: - optional callback, verifying that index should be used at all specific use-case is magnitudes list that needs only 'counted' ones - std::iota / ranges::iota_view -like helper object for sequences starting with something other than 0 Reordered payloads, prefer queueing over sending everything at once.
This commit is contained in:
@@ -64,7 +64,6 @@ h2 {
|
||||
color:inherit;
|
||||
}
|
||||
|
||||
legend.module,
|
||||
.module {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user