Fresh start - excluded large ROM JSON files
This commit is contained in:
3
scripts/open-garage.ps1
Normal file
3
scripts/open-garage.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
$token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJmM2QzZWU1NGQyMWI0NGVkYWJmZGE4OGFiMTE3OTQ0MyIsImlhdCI6MTc2OTYxMzM0MiwiZXhwIjoyMDg0OTczMzQyfQ.L5atWZ-zyn-gA7QELxzRXoMnVilyz338hApOuL5MFas"
|
||||
$body = @{entity_id = "cover.garage_door"} | ConvertTo-Json
|
||||
Invoke-WebRequest -Uri "http://192.168.0.39:8123/api/services/cover/open_cover" -Method Post -Headers @{Authorization="Bearer " + $token} -ContentType "application/json" -Body $body
|
||||
Reference in New Issue
Block a user