Skip to content

Commit

Permalink
docs: Adding LightScript Affiliate Links ( Fixes #121 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Apr 30, 2024
1 parent fe4ace2 commit 5f18fa7
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Commands/Hue/README.ps1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
This directory contains LightScript's functions for [Philips Hue Bridges](https://www.philips-hue.com/).

> Don't have a Hue Bridge? [Buy On Amazon](https://amzn.to/4bguVQO)
<blockquote>
<details>
<summary>Want more Hue?</summary>
<ul>
<li>
<a href='https://amzn.to/4bepXE3'>Gradient LightStrip</a>
</li>
<li>
<a href='https://amzn.to/3QlYSXB'>Candlelights</a>
</li>
<li>
<a href='https://amzn.to/3Up1THA'>Color Bulbs</a>
</li>
<li>
<a href='https://amzn.to/4di8igy'>Smart Dimmer Switch</a>
</li>
</ul>
</details>
</blockquote>
~~~PipeScript {
Import-Module ../../LightScript.psd1 -Global
[PSCustomObject]@{
Expand Down
17 changes: 17 additions & 0 deletions Commands/LaMetric/README.ps1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
This directory contains LightScript's functions for [LaMetric Time](https://lametric.com/en-US).

> [Don't have a LaMetric Time?](https://amzn.to/44p3HF6)
~~~PipeScript {
Import-Module ../../LightScript.psd1 -Global
[PSCustomObject]@{
Table = Get-Command -Module LightScript |
Where-Object { $_.ScriptBlock.File -like "$pwd*" } |
.Name .Verb .Noun .Source {
$relativePath = $_.ScriptBlock.File.Substring("$pwd".Length) -replace '^[\\/]'
"[$relativePath]($relativePath)"
}
}
}
~~~
2 changes: 2 additions & 0 deletions Commands/NanoLeaf/README.ps1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This directory contains LightScript's functions for [NanoLeaf](https://nanoleaf.me/).

> [Don't have a NanoLeaf?](https://amzn.to/3QrzxeS)
~~~PipeScript {
Import-Module ../../LightScript.psd1 -Global
[PSCustomObject]@{
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,26 @@ Import-Module LightScript -Force -PassThru

## Philips Hue Bridges

> Don't have a Hue Bridge? [Buy On Amazon](https://amzn.to/4bguVQO)
<blockquote>
<details>
<summary>Want more Hue?</summary>
<ul>
<li>
<a href='https://amzn.to/4bepXE3'>Gradient LightStrip</a>
</li>
<li>
<a href='https://amzn.to/3QlYSXB'>Candlelights</a>
</li>
<li>
<a href='https://amzn.to/3Up1THA'>Color Bulbs</a>
</li>
<li>
<a href='https://amzn.to/4di8igy'>Smart Dimmer Switch</a>
</li>
</ul>
</details>
</blockquote>
Hue Bridges let you control every Philips Hue (or compatible ZigBee) light in your house.

Expand Down

0 comments on commit 5f18fa7

Please sign in to comment.