mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Fix
This commit is contained in:
1 parent
13678630f2
commit
8d2af9181a
2 files changed
+7
-5
No files matched your search
@@ -83,7 +83,9 @@ class GoogleHomeDeviceTypes {
|
||||
static function getSyncObj($deviceBaseObj, $deviceType){
|
||||
switch ($deviceType) {
|
||||
case 'action.devices.types.OUTLET':
|
||||
$deviceBaseObj['traits'] = 'action.devices.traits.OnOff';
|
||||
$deviceBaseObj['traits'] = [
|
||||
'action.devices.traits.OnOff'
|
||||
];
|
||||
break;
|
||||
case 'action.devices.types.THERMOSTAT':
|
||||
$deviceBaseObj['traits'] = [
|
||||
|
||||
Reference in new issue
Block a user