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:
loredo
2017-01-07 11:39:01 +00:00
parent 74b972f650
commit 902ab60b7a

View File

@@ -1284,7 +1284,10 @@ my $rtypes = {
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',