Skip to content

Commit 938138d

Browse files
authored
Merge pull request #4 from strfl89/testing
Version 2.1.1
2 parents 1cdd381 + 564bf23 commit 938138d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Release-Notes.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# phpTradfri - Version History
2+
## Version 2.1.1
3+
* Fix missing return in Function statusgateway()
24
## Version 2.1
35
* Add Subclass for Trådfri Gateway
46
* defines.php

gateway.php

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ function statusgateway(){
2121
$details = $this->getDetails(GATEWAY."/15012");
2222

2323
$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]);
24+
25+
return $output;
2426
}
2527

2628
}

0 commit comments

Comments
 (0)