|
|
@ -74,8 +74,8 @@ PROGMEM const char* const magnitude_topics[] = { |
|
|
|
}; |
|
|
|
|
|
|
|
PROGMEM const char magnitude_empty[] = ""; |
|
|
|
PROGMEM const char magnitude_celsius[] = "C"; |
|
|
|
PROGMEM const char magnitude_fahrenheit[] = "F"; |
|
|
|
PROGMEM const char magnitude_celsius[] = "°C"; |
|
|
|
PROGMEM const char magnitude_fahrenheit[] = "°F"; |
|
|
|
PROGMEM const char magnitude_percentage[] = "%"; |
|
|
|
PROGMEM const char magnitude_hectopascals[] = "hPa"; |
|
|
|
PROGMEM const char magnitude_amperes[] = "A"; |
|
|
@ -84,11 +84,12 @@ PROGMEM const char magnitude_watts[] = "W"; |
|
|
|
PROGMEM const char magnitude_kw[] = "kW"; |
|
|
|
PROGMEM const char magnitude_joules[] = "J"; |
|
|
|
PROGMEM const char magnitude_kwh[] = "kWh"; |
|
|
|
PROGMEM const char magnitude_ugm3[] = "µg/m3"; |
|
|
|
PROGMEM const char magnitude_ugm3[] = "µg/m³"; |
|
|
|
PROGMEM const char magnitude_ppm[] = "ppm"; |
|
|
|
PROGMEM const char magnitude_lux[] = "lux"; |
|
|
|
PROGMEM const char magnitude_uv[] = "uv"; |
|
|
|
PROGMEM const char magnitude_distance[] = "m"; |
|
|
|
PROGMEM const char magnitude_mgm3[] = "mg/m³"; |
|
|
|
|
|
|
|
PROGMEM const char* const magnitude_units[] = { |
|
|
|
magnitude_empty, magnitude_celsius, magnitude_percentage, |
|
|
@ -98,7 +99,7 @@ PROGMEM const char* const magnitude_units[] = { |
|
|
|
magnitude_empty, magnitude_empty, magnitude_empty, |
|
|
|
magnitude_ugm3, magnitude_ugm3, magnitude_ugm3, |
|
|
|
magnitude_ppm, magnitude_lux, magnitude_uv, |
|
|
|
magnitude_distance, magnitude_empty |
|
|
|
magnitude_distance, magnitude_mgm3 |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|