Skip to content

Commit fef90fa

Browse files
smuskiewSteve Muskiewicz
and
Steve Muskiewicz
authored
Update SP_224 documentation (Koenkk#2917)
* Update SP_224.md Fix some typos/punctuation in SP_224 doc. * fix change to be on source file, not (auto-generated) markdown --------- Co-authored-by: Steve Muskiewicz <[email protected]>
1 parent fbf6735 commit fef90fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docgen/device_page_exposes.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ function getExposeDocs(expose, definition) {
5858
lines.push(``);
5959
lines.push(`#### On with timed off`);
6060
lines.push(`When setting the state to ON, it might be possible to specify an automatic shutoff after a certain amount of time. To do this add an additional property \`on_time\` to the payload which is the time in seconds the state should remain on.`);
61-
lines.push(`Additionnaly an \`off_wait_time\` property can be added to the payload to specify the cooldown time in seconds when the ${expose.type} will not answer to other on with timed off commands.`);
62-
lines.push(`Support depend on the ${expose.type} firmware. Some devices might require both \`on_time\` and \`off_wait_time\` to work`);
61+
lines.push(`Additionally an \`off_wait_time\` property can be added to the payload to specify the cooldown time in seconds when the ${expose.type} will not answer to other on with timed off commands.`);
62+
lines.push(`Support depends on the ${expose.type} firmware. Some devices might require both \`on_time\` and \`off_wait_time\` to work`);
6363
lines.push(`Examples : \`{"state" : "ON", "on_time": 300}\`, \`{"state" : "ON", "on_time": 300, "off_wait_time": 120}\`.`);
6464
}
6565

0 commit comments

Comments
 (0)