From 882cec99bf571a91185f2712ffd2be2172a7385d Mon Sep 17 00:00:00 2001 From: DigiH Date: Wed, 29 May 2024 17:21:58 +0200 Subject: [PATCH] Alphabetical sorting --- main/config_RF.h | 74 ++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/main/config_RF.h b/main/config_RF.h index 5dc38c6845..daf1149393 100644 --- a/main/config_RF.h +++ b/main/config_RF.h @@ -82,57 +82,57 @@ struct RTL_433device { const char parameters[53][4][24] = { // RTL_433 key, name, unit, device_class - {"temperature_C", "temperature", "°C", "temperature"}, - {"temperature_1_C", "temperature", "°C", "temperature"}, - {"temperature_2_C", "temperature", "°C", "temperature"}, - {"temperature_F", "temperature", "°F", "temperature"}, - {"time", "timestamp", "", "timestamp"}, - {"battery_ok", "battery", "%", "battery"}, + {"alarm", "alarm", "", ""}, {"battery_mV", "battery", "mV", "voltage"}, + {"battery_ok", "battery", "%", "battery"}, + {"co2_ppm", "Carbon Dioxide", "ppm", "carbon_dioxide"}, + {"depth_cm", "depth", "cm", "distance"}, + {"estimated_pm10_0_ug_m3", "estimated PM10", "μg/m³", "pm10"}, + {"event", "Status", "", "moisture"} + {"group", "Group", "", ""}, + {"gust_speed_km_h", "gust speed", "km/h", "wind_speed"}, + {"gust_speed_m_s", "gust speed", "m/s", "wind_speed"}, {"humidity", "humidity", "%", "humidity"}, + {"light_lux", "light", "lx", "illuminance"}, + {"lux", "lux", "lx", "illuminance"}, {"moisture", "moisture", "%", "humidity"}, + {"motion", "motion", "", "motion"}, + {"noise", "noise", "dB", "sound_pressure"}, + {"pm1_ug_m3", "PM1", "μg/m³", "pm1"}, + {"pm10_ug_m3", "PM10", "μg/m³", "pm10"}, + {"pm2_5_ug_m3", "PM2.5", "μg/m³", "pm25"}, + {"power_W", "power", "W", "power"}, {"pressure_hPa", "pressure", "hPa", "pressure"}, {"pressure_kPa", "pressure", "kPa", "pressure"}, - {"wind_speed_km_h", "wind speed", "km/h", "wind_speed"}, - {"wind_avg_km_h", "wind average", "km/h", "wind_speed"}, - {"wind_avg_mi_h", "wind average", "mi/h", "wind_speed"}, - {"wind_avg_m_s", "wind average", "m/s", "wind_speed"}, - {"wind_speed_m_s", "wind speed", "m/s", "wind_speed"}, - {"group", "Group", "", ""}, - {"gust_speed_km_h", "gust speed", "km/h", "wind_speed"}, - {"wind_max_km_h", "wind max", "km/h", "wind_speed"}, - {"wind_max_m_s", "wind max", "m/s", "wind_speed"}, - {"gust_speed_m_s", "gust speed", "m/s", "wind_speed"}, - {"wind_dir_deg", "wind direction", "°", ""}, - {"rain_mm", "rain", "mm", "precipitation"}, - {"rain_rate_mm_h", "rain", "mm/h", "precipitation_intensity"}, {"rain_in", "rain", "in", "precipitation"}, + {"rain_mm", "rain", "mm", "precipitation"}, {"rain_rate_in_h", "rain", "in/h", "precipitation_intensity"}, + {"rain_rate_mm_h", "rain", "mm/h", "precipitation_intensity"}, {"rssi", "rssi", "dB", "signal_strength"}, {"snr", "snr", "dB", ""}, - {"noise", "noise", "dB", "sound_pressure"}, - {"depth_cm", "depth", "cm", "distance"}, - {"power_W", "power", "W", "power"}, - {"light_lux", "light", "lx", "illuminance"}, - {"lux", "lux", "lx", "illuminance"}, - {"uvi", "UVI", "UV index", ""}, - {"uv", "UV", "UV level", ""}, {"state", "State", "", ""}, - {"storm_dist", "storm distance", "mi", "distance"}, {"storm_dist_km", "storm distance", "km", "distance"}, + {"storm_dist", "storm distance", "mi", "distance"}, {"strike_count", "strike count", "", ""}, // from rtl_433_mqtt_hass.py - {"strike_distance", "strike distance", "mi", "distance"}, {"strike_distance_km", "strike distance", "km", "distance"}, - {"unit", "Unit", "", ""}, - {"co2_ppm", "Carbon Dioxide", "ppm", "carbon_dioxide"}, - {"pm2_5_ug_m3", "PM2.5", "μg/m³", "pm25"}, - {"pm10_ug_m3", "PM10", "μg/m³", "pm10"}, - {"estimated_pm10_0_ug_m3", "estimated PM10", "μg/m³", "pm10"}, - {"pm1_ug_m3", "PM1", "μg/m³", "pm1"}, + {"strike_distance", "strike distance", "mi", "distance"}, {"tamper", "tamper", "", ""}, - {"alarm", "alarm", "", ""}, - {"motion", "motion", "", "motion"}, - {"event", "Status", "", "moisture"}}; + {"temperature_1_C", "temperature", "°C", "temperature"}, + {"temperature_2_C", "temperature", "°C", "temperature"}, + {"temperature_C", "temperature", "°C", "temperature"}, + {"temperature_F", "temperature", "°F", "temperature"}, + {"time", "timestamp", "", "timestamp"}, + {"unit", "Unit", "", ""}, + {"uv", "UV", "UV level", ""}, + {"uvi", "UVI", "UV index", ""}, + {"wind_avg_km_h", "wind average", "km/h", "wind_speed"}, + {"wind_avg_m_s", "wind average", "m/s", "wind_speed"}, + {"wind_avg_mi_h", "wind average", "mi/h", "wind_speed"}, + {"wind_dir_deg", "wind direction", "°", ""}, + {"wind_max_km_h", "wind max", "km/h", "wind_speed"}, + {"wind_max_m_s", "wind max", "m/s", "wind_speed"}, + {"wind_speed_km_h", "wind speed", "km/h", "wind_speed"}, + {"wind_speed_m_s", "wind speed", "m/s", "wind_speed"}}; # endif # ifdef RTL_433_DISCOVERY_LOGGING # define DISCOVERY_TRACE_LOG(...) Log.trace(__VA_ARGS__)