mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
New Endpoint API
This commit is contained in:
1 parent
7954ae49b9
commit
78c29482a6
3 files changed
+167
-2
No files matched your search
@@ -72,7 +72,7 @@ class GoogleHomeDeviceTypes {
|
||||
const YogurtMaker = 'action.devices.types.YOGURTMAKER';*/
|
||||
|
||||
private static $actionWordBook = [
|
||||
'control-light' => 'action.devices.types.OUTLET',
|
||||
'control-light' => 'action.devices.types.LIGHT',
|
||||
'control-socket' => 'action.devices.types.OUTLET',
|
||||
'control-temp' => 'action.devices.types.THERMOSTAT',
|
||||
'control-media' => 'action.devices.types.REMOTECONTROL',
|
||||
@@ -103,6 +103,35 @@ class GoogleHomeDeviceTypes {
|
||||
'levelStepSize' => 2,
|
||||
'commandOnlyVolume' => false,
|
||||
],
|
||||
'media_status'=> [
|
||||
'transportControlSupportedCommands' => [
|
||||
"NEXT",
|
||||
"PREVIOUS",
|
||||
"PAUSE",
|
||||
"STOP",
|
||||
"RESUME",
|
||||
],
|
||||
],
|
||||
'media_apps' => [
|
||||
[
|
||||
"key" => "kodi",
|
||||
"names" => [
|
||||
"name_synonym" => [
|
||||
"Kodi",
|
||||
],
|
||||
"lang" => "en"
|
||||
]
|
||||
],
|
||||
],
|
||||
'media_inputs' => [
|
||||
"key" => "pc",
|
||||
"names" => [
|
||||
"name_synonym" => [
|
||||
"PC",
|
||||
],
|
||||
"lang" => "en"
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
static function getAction($deviceType){
|
||||
|
||||
Reference in new issue
Block a user