Google Home Bether Working

This commit is contained in:
JonatanRek
2020-05-02 13:18:15 +02:00
parent 8b39b727e1
commit 23aa83ec9a
5 changed files with 128 additions and 55 deletions

View File

@@ -22,7 +22,7 @@ $router->post('/api/devices', 'DevicesApi@getAllDevices');
$router->post('/api/login', 'AuthApi@login');
$router->get('/api/HA/auth', 'GoogleHomeApi@autorize');
$router->post('/api/HA', 'GoogleHomeApi@response');
$router->any('/api/HA', 'GoogleHomeApi@response');
// examples
$router->any('/api/example', 'ExampleApi@example');