Skip to content

Commit e98282e

Browse files
authored
Update devices.php
Add Firmware Version to output of Function statusremotecontrol()
1 parent d014e94 commit e98282e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function statusremotecontrol(){
8585
foreach($Ids as $device){
8686
$details = $this->getDetails("15001/$device");
8787
if($details[TYPE] == TYPE_REMOTE_CONTROL || $details[TYPE] == TYPE_MOTION_SENSOR){
88-
$output[] = array("id" => $device,"name" => $details[NAME], "type" => $details['3']['1'], "battery" => $details['3']['9']);
88+
$output[] = array("id" => $device,"name" => $details[NAME], "type" => $details['3']['1'], "battery" => $details['3']['9'], "firmware" => $details['3']['3']);
8989
}
9090
}
9191

0 commit comments

Comments
 (0)