mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Google API change Fix
This commit is contained in:
1 parent
9c565d90fa
commit
0045bdeb84
5 files changed
+31
-20
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
https://console.cloud.google.com/logs/query;cursorTimestamp=2021-04-11T07:51:16.567357750Z?project=simple-home-79188
|
||||
class GoogleHome
|
||||
{
|
||||
static function sync($requestId)
|
||||
@@ -42,7 +43,10 @@ class GoogleHome
|
||||
],
|
||||
|
||||
'willReportState' => false,
|
||||
'roomHint' => $roomData['name']
|
||||
'roomHint' => $roomData['name'],
|
||||
"otherDeviceIds" => [
|
||||
["deviceId" => "SH#".(string) $deviceData['device_id']]
|
||||
]
|
||||
];
|
||||
if ($tempDevice['attributes'] == null) unset($tempDevice['attributes']);
|
||||
|
||||
|
||||
Reference in new issue
Block a user