Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nall-chan committed Jan 21, 2024
1 parent e254fa5 commit 3ca8659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tapo Hub IO/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public function RequestState()
'requestData'=> \TpLink\Api\Protocol::BuildRequest(\TpLink\Api\Method::GetDeviceInfo)
];
$Request = \TpLink\Api\Protocol::BuildRequest(\TpLink\Api\Method::ControlChild, $this->terminalUUID, $Values);
//$Response = $this->SendRequest($Request);
$Response = json_decode(file_get_contents(dirname(__DIR__) . '/tests/get_info_' . $ChildID . '.json'), true)['result'];
$Response = $this->SendRequest($Request);
//$Response = json_decode(file_get_contents(dirname(__DIR__) . '/tests/get_info_' . $ChildID . '.json'), true)['result'];
if ($Response === null) {
continue;
}
Expand Down

0 comments on commit 3ca8659

Please sign in to comment.