2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

Unit.pm: extend condition_weather for nightly weather

git-svn-id: https://svn.fhem.de/fhem/trunk@12999 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2017-01-07 11:39:01 +00:00
parent f96752eded
commit 11d0dcce10

View File

@ -1281,10 +1281,13 @@ my $rtypes = {
condition_weather => {
ref_base => 900,
txt => {
de => [ 'klar', 'sonnig ', 'bewölkt', 'Regen' ],
en => [ 'clear', 'sunny', 'cloudy', 'rain' ],
de => [ 'klar', 'sonnig', 'bewölkt', 'Regen' ],
en => [ 'clear', 'sunny', 'cloudy', 'rain' ],
},
scope => [ '^(clear|0)$', '^(sunny|1)$', '^(cloudy|2)$', '^(rain|3)$' ],
scope => [
'^((nt_)?clear|nt_sunny|0)$', '^(sunny|1)$',
'^((nt_)?cloudy|2)$', '^((nt_)?rain|3)$'
],
rtype_description => {
de => 'Wetterbedingung',
en => 'weather condition',