mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-18 12:06:04 +00:00
59_Wunderground: update formula_symbol names
git-svn-id: https://svn.fhem.de/fhem/trunk@12620 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4a271bceb0
commit
bcf1fac513
@ -59,17 +59,21 @@ sub Wunderground_Initialize($) {
|
||||
|
||||
$hash->{readingsDesc} = {
|
||||
'UV' => { rtype => 'uvi' },
|
||||
'dewpoint' => { rtype => 'c' },
|
||||
'dewpoint_f' => { rtype => 'f' },
|
||||
'fc0_high_c' => { rtype => 'c', format => '%i' },
|
||||
'fc0_high_f' => { rtype => 'f', format => '%i' },
|
||||
'dewpoint' => { rtype => 'c', formula_symbol => 'Td', },
|
||||
'dewpoint_f' => { rtype => 'f', formula_symbol => 'Td', },
|
||||
'fc0_high_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Th', },
|
||||
'fc0_high_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Th', },
|
||||
'fc0_humidity' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc0_humidity_max' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc0_humidity_min' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc0_icon_url' => { rtype => 'url_http' },
|
||||
'fc0_icon_url_night' => { rtype => 'url_http' },
|
||||
'fc0_low_c' => { rtype => 'c', format => '%i' },
|
||||
'fc0_low_f' => { rtype => 'f', format => '%i' },
|
||||
'fc0_low_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc0_low_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc0_rain_day' => { rtype => 'mm' },
|
||||
'fc0_rain_day_in' => { rtype => 'in' },
|
||||
'fc0_rain_night' => { rtype => 'mm' },
|
||||
@ -86,15 +90,19 @@ sub Wunderground_Initialize($) {
|
||||
'fc0_wind_speed_max' => { rtype => 'kmh', formula_symbol => 'Ws' },
|
||||
'fc0_wind_speed_max_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'fc0_wind_speed_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'fc1_high_c' => { rtype => 'c', format => '%i' },
|
||||
'fc1_high_f' => { rtype => 'f', format => '%i' },
|
||||
'fc1_high_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Th', },
|
||||
'fc1_high_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Th', },
|
||||
'fc1_humidity' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc1_humidity_max' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc1_humidity_min' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc1_icon_url' => { rtype => 'url_http' },
|
||||
'fc1_icon_url_night' => { rtype => 'url_http' },
|
||||
'fc1_low_c' => { rtype => 'c', format => '%i' },
|
||||
'fc1_low_f' => { rtype => 'f', format => '%i' },
|
||||
'fc1_low_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc1_low_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc1_rain_day' => { rtype => 'mm' },
|
||||
'fc1_rain_day_in' => { rtype => 'in' },
|
||||
'fc1_rain_night' => { rtype => 'mm' },
|
||||
@ -111,15 +119,19 @@ sub Wunderground_Initialize($) {
|
||||
'fc1_wind_speed_max' => { rtype => 'kmh', formula_symbol => 'Ws' },
|
||||
'fc1_wind_speed_max_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'fc1_wind_speed_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'fc2_high_c' => { rtype => 'c', format => '%i' },
|
||||
'fc2_high_f' => { rtype => 'f', format => '%i' },
|
||||
'fc2_high_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Th', },
|
||||
'fc2_high_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Th', },
|
||||
'fc2_humidity' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc2_humidity_max' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc2_humidity_min' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc2_icon_url' => { rtype => 'url_http' },
|
||||
'fc2_icon_url_night' => { rtype => 'url_http' },
|
||||
'fc2_low_c' => { rtype => 'c', format => '%i' },
|
||||
'fc2_low_f' => { rtype => 'f', format => '%i' },
|
||||
'fc2_low_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc2_low_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc2_rain_day' => { rtype => 'mm' },
|
||||
'fc2_rain_day_in' => { rtype => 'in' },
|
||||
'fc2_rain_night' => { rtype => 'mm' },
|
||||
@ -136,15 +148,19 @@ sub Wunderground_Initialize($) {
|
||||
'fc2_wind_speed_max' => { rtype => 'kmh', formula_symbol => 'Ws' },
|
||||
'fc2_wind_speed_max_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'fc2_wind_speed_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'fc3_high_c' => { rtype => 'c', format => '%i' },
|
||||
'fc3_high_f' => { rtype => 'f', format => '%i' },
|
||||
'fc3_high_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Th', },
|
||||
'fc3_high_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Th', },
|
||||
'fc3_humidity' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc3_humidity_max' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc3_humidity_min' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
'fc3_icon_url' => { rtype => 'url_http' },
|
||||
'fc3_icon_url_night' => { rtype => 'url_http' },
|
||||
'fc3_low_c' => { rtype => 'c', format => '%i' },
|
||||
'fc3_low_f' => { rtype => 'f', format => '%i' },
|
||||
'fc3_low_c' =>
|
||||
{ rtype => 'c', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc3_low_f' =>
|
||||
{ rtype => 'f', format => '%i', formula_symbol => 'Tl', },
|
||||
'fc3_rain_day' => { rtype => 'mm' },
|
||||
'fc3_rain_day_in' => { rtype => 'in' },
|
||||
'fc3_rain_night' => { rtype => 'mm' },
|
||||
@ -161,8 +177,8 @@ sub Wunderground_Initialize($) {
|
||||
'fc3_wind_speed_max' => { rtype => 'kmh', formula_symbol => 'Ws' },
|
||||
'fc3_wind_speed_max_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'fc3_wind_speed_mph' => { rtype => 'mph', formula_symbol => 'Ws' },
|
||||
'feelslike_c' => { rtype => 'c' },
|
||||
'feelslike_f' => { rtype => 'f' },
|
||||
'feelslike_c' => { rtype => 'c', formula_symbol => 'Tf', },
|
||||
'feelslike_f' => { rtype => 'f', formula_symbol => 'Tf', },
|
||||
'forecast_url' => { rtype => 'url_http' },
|
||||
'history_url' => { rtype => 'url_http' },
|
||||
'humidity' => { rtype => 'pct', formula_symbol => 'H' },
|
||||
@ -184,9 +200,14 @@ sub Wunderground_Initialize($) {
|
||||
'sunset' => { rtype => 'time' },
|
||||
'temp_c' => { rtype => 'c' },
|
||||
'temp_f' => { rtype => 'f' },
|
||||
'visibility' => { rtype => 'km', scope => { empty_replace => '-.-' } },
|
||||
'visibility_mi' =>
|
||||
{ rtype => 'mi', scope => { empty_replace => '-.-' } },
|
||||
'visibility' => {
|
||||
rtype => 'km',
|
||||
scope => { empty_replace => '-.-' }
|
||||
},
|
||||
'visibility_mi' => {
|
||||
rtype => 'mi',
|
||||
scope => { empty_replace => '-.-' }
|
||||
},
|
||||
'wind_chill' => {
|
||||
rtype => 'c',
|
||||
formula_symbol => 'Wc',
|
||||
|
Loading…
x
Reference in New Issue
Block a user