-
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.
docs: improve node documentations (#13)
- Loading branch information
1 parent
2027d38
commit fccf4b5
Showing
8 changed files
with
1,354 additions
and
45 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
import {assumedValues} from './node-config' | ||
|
||
Manage Ambilight brightness and modes. | ||
|
||
_If payload is passed, it will set values passed in the payload. | ||
All other values configured in the node will be ignored._ | ||
|
||
Valid `msg.payload`: | ||
|
||
{Object.entries(assumedValues).map(([key, value]) => ( | ||
<pre key={key}> | ||
<code> | ||
{JSON.stringify( | ||
{ | ||
action: key, | ||
value: value.join(' | '), | ||
}, | ||
null, | ||
2 | ||
)} | ||
</code> | ||
</pre> | ||
))} |
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
import nodeConfig from './node-config' | ||
|
||
Get TV information System, Ambilight current information and TV structure. | ||
|
||
_If payload is passed, it will set values passed in the payload. | ||
All other values configured in the node will be ignored._ | ||
|
||
Valid `msg.payload`: | ||
|
||
<ul> | ||
{nodeConfig.getAvailableKinds().map(val => ( | ||
<li key={val}><code>{val}</code></li> | ||
))} | ||
</ul> |
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
import {inputKeys} from './node-config' | ||
|
||
Send key to your TV (Play, Pause, Volume Up, Volume Down, etc.) | ||
|
||
_If payload is passed, it will set values passed in the payload. | ||
All other values configured in the node will be ignored._ | ||
|
||
Valid `msg.payload`: | ||
|
||
<ul> | ||
{inputKeys.map(val => ( | ||
<li key={val}><code>{val}</code></li> | ||
))} | ||
</ul> |