mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-03-03 08:34:02 +01:00
Fixes
This commit is contained in:
@@ -76,7 +76,7 @@ class WebSocketAPIBridge
|
||||
public function turnOn($itemID)
|
||||
{
|
||||
return $this->send([
|
||||
'type' => 'turnON',
|
||||
'type' => 'turn_on',
|
||||
'item_id' => $itemID,
|
||||
]);
|
||||
}
|
||||
@@ -88,7 +88,7 @@ class WebSocketAPIBridge
|
||||
public function turnOff($itemID)
|
||||
{
|
||||
return $this->send([
|
||||
'type' => 'turnOFF',
|
||||
'type' => 'turn_off',
|
||||
'item_id' => $itemID,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user