Skip to content

Commit

Permalink
Version 2.1.1
Browse files Browse the repository at this point in the history
Fix missing return in Function statusgateway()
  • Loading branch information
strfl89 committed Sep 14, 2019
1 parent 26faabb commit 564bf23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Release-Notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# phpTradfri - Version History
## Version 2.1.1
* Fix missing return in Function statusgateway()
## Version 2.1
* Add Subclass for Trådfri Gateway
* defines.php
Expand Down
2 changes: 2 additions & 0 deletions gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function statusgateway(){
$details = $this->getDetails(GATEWAY."/15012");

$output = array('setup' => $details[GATEWAY_SETUP_TIME], 'ntp' => $details['GATEWAY_NTP'], 'time' => $details[GATEWAY_TIME_UNIX], 'firmware' => $details[GATEWAY_FIRMWARE], 'alexa' => $details[GATEWAY_ALEXA_STATUS], 'google' => $details[GATEWAY_GOOGLE_STATUS]);

return $output;
}

}
Expand Down

0 comments on commit 564bf23

Please sign in to comment.