forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add service to set the AC schedule of renault vehicles (home-assistan…
…t#125006) * Add service to set the AC schedule of renault vehicles * Remove executable permission * Applied review comments (use snapshot) * Rewrote examples to not use JSON
- Loading branch information
Showing
9 changed files
with
618 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
tests/components/renault/fixtures/action.set_ac_schedules.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"data": { | ||
"type": "HvacSchedule", | ||
"id": "guid", | ||
"attributes": { | ||
"schedules": [ | ||
{ | ||
"id": 1, | ||
"activated": true, | ||
"tuesday": { "readyAtTime": "T04:30Z" }, | ||
"wednesday": { "readyAtTime": "T22:30Z" }, | ||
"thursday": { "readyAtTime": "T22:00Z" }, | ||
"friday": { "readyAtTime": "T23:30Z" }, | ||
"saturday": { "readyAtTime": "T18:30Z" }, | ||
"sunday": { "readyAtTime": "T12:45Z" } | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"data": { | ||
"type": "Car", | ||
"id": "VF1AAAAA555777999", | ||
"attributes": { | ||
"dateTime": "2020-12-24T20:00:00.000Z", | ||
"mode": "scheduled", | ||
"schedules": [ | ||
{ | ||
"id": 1, | ||
"activated": false | ||
}, | ||
{ | ||
"id": 2, | ||
"activated": true, | ||
"wednesday": { "readyAtTime": "T15:15Z" }, | ||
"friday": { "readyAtTime": "T15:15Z" } | ||
}, | ||
{ | ||
"id": 3, | ||
"activated": false, | ||
"monday": { "readyAtTime": "T23:30Z" }, | ||
"tuesday": { "readyAtTime": "T23:30Z" }, | ||
"wednesday": { "readyAtTime": "T23:30Z" }, | ||
"thursday": { "readyAtTime": "T23:30Z" }, | ||
"friday": { "readyAtTime": "T23:30Z" }, | ||
"saturday": { "readyAtTime": "T23:30Z" }, | ||
"sunday": { "readyAtTime": "T23:30Z" } | ||
}, | ||
{ | ||
"id": 4, | ||
"activated": false | ||
}, | ||
{ | ||
"id": 5, | ||
"activated": false | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.