jclarke0000 / MMM-DarkSkyForecast

Magic Mirror module to display weather information using the Dark Sky API
84 stars 64 forks source link

units: si show rain as % instead of mm/h #22

Open alexbergsland opened 4 years ago

alexbergsland commented 4 years ago

If I understand it correctly setting units: "si", should result in wind as m/s and rain as mm/h but it only affects wind for me.

                {
                        module: "MMM-DarkSkyForecast",
                        header: "Väder",
                        position: "top_right",
                        classes: "default everyone",
                        disabled: false,
                        config: {
                                apikey: "xxx",
                                latitude: "59.3885351",
                                longitude: "17.0499467",
                                iconset: "4c",
                                concise: true,
                                forecastLayout: "table",
                                colored: true,
                                units: "si",
                                hourlyForecastInterval: 6,
                                maxHourliesToShow: 3,
                                maxDailiesToShow: 2,
                                label_timeFormat: "HH",
                                label_days: ["Sön", "Mån", "Tis", "Ons", "Tors", "Fre", "Lör"],
                        }
                },