mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 23:46:03 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@3690 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a2c7e79050
commit
163b34e8fc
@ -314,7 +314,7 @@ OWO_GetStatus($;$){
|
||||
}
|
||||
|
||||
readingsBeginUpdate($hash);
|
||||
readingsBulkUpdate($hash, "_myHtmlResponse", $htmlDummy->status_line);
|
||||
readingsBulkUpdate($hash, "_my_HtmlResponse", $htmlDummy->status_line);
|
||||
readingsBulkUpdate($hash, "state","active");
|
||||
if(AttrVal($name, "owoTimestamp", 0) == 1){
|
||||
readingsBulkUpdate($hash, "my_lastSent", time);
|
||||
@ -336,7 +336,7 @@ OWO_GetStatus($;$){
|
||||
if(defined($cId)){
|
||||
my $cName = ReadingsVal($name,"stationName", "");
|
||||
Log3($name, 3, "openweather $name: retrievingStationData: Id: $cId Name: $cName");
|
||||
fhem("set $name stationById $cId");# if($cId ne "");
|
||||
fhem("set $name stationById $cId");
|
||||
}
|
||||
|
||||
##### end of update job
|
||||
|
Loading…
x
Reference in New Issue
Block a user