2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 14:04:15 +00:00

59_Weather: change attribut

git-svn-id: https://svn.fhem.de/fhem/trunk@18322 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2019-01-18 19:22:54 +00:00
parent 8ec4a741ad
commit 5c406d261c

View File

@ -137,7 +137,6 @@ sub Weather_Initialize($) {
$hash->{SetFn} = 'Weather_Set';
$hash->{AttrList} =
'disable:0,1 '
. 'model '
. $readingFnAttributes;
$hash->{NotifyFn}= 'Weather_Notify';
@ -439,8 +438,6 @@ sub Weather_Define($$) {
$hash->{READINGS}->{current_date_time}->{VAL}= "none";
$hash->{fhem}->{allowCache}= 1;
CommandAttr(undef,$name . ' model ' . $api) if ( AttrVal($name,'model','none') ne $api );
readingsSingleUpdate($hash,'state','Initialized',1);
Weather_LanguageInitialize($hash->{LANG});