Skip to content

Commit

Permalink
Add-HueSensor: Adding -New (Fixes #25)
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Oct 3, 2022
1 parent 4d9ab4f commit 230e61a
Showing 1 changed file with 88 additions and 22 deletions.
110 changes: 88 additions & 22 deletions docs/Write-HueSensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,25 @@ Writes data to sensors on the Hue Bridge
---
### Related Links
* [Read-HueSensor](Read-HueSensor.md)



* [Get-HueSensor](Get-HueSensor.md)



* [Get-HueBridge](Get-HueBridge.md)



* [Add-HueSensor](Add-HueSensor.md)



* [Remove-HueSensor](Remove-HueSensor.md)



---
### Examples
#### EXAMPLE 1
Expand All @@ -31,72 +46,123 @@ If provided, will filter returned items by name



|Type |Requried|Postion|PipelineInput |
|----------------|--------|-------|---------------------|
|```[String[]]```|false |1 |true (ByPropertyName)|
> **Type**: ```[String[]]```
> **Required**: false
> **Position**: 1
> **PipelineInput**:true (ByPropertyName)


---
#### **RegularExpression**

If set, will treat the Name parameter as a regular expression pattern. By default, Name will be treated as a wildcard



|Type |Requried|Postion|PipelineInput |
|--------------|--------|-------|---------------------|
|```[Switch]```|false |named |true (ByPropertyName)|
> **Type**: ```[Switch]```
> **Required**: false
> **Position**: named
> **PipelineInput**:true (ByPropertyName)


---
#### **ExactMatch**

If set, will treat the Name parameter as a specific match



|Type |Requried|Postion|PipelineInput |
|--------------|--------|-------|---------------------|
|```[Switch]```|false |named |true (ByPropertyName)|
> **Type**: ```[Switch]```
> **Required**: false
> **Position**: named
> **PipelineInput**:true (ByPropertyName)


---
#### **ID**

If provided, will filter returned items by ID



|Type |Requried|Postion|PipelineInput |
|----------------|--------|-------|---------------------|
|```[String[]]```|false |named |true (ByPropertyName)|
> **Type**: ```[String[]]```
> **Required**: false
> **Position**: named
> **PipelineInput**:true (ByPropertyName)


---
#### **Config**

If set, will write values from to configuration. By default, values are written to the sensor state.



|Type |Requried|Postion|PipelineInput|
|--------------|--------|-------|-------------|
|```[Switch]```|false |named |false |
> **Type**: ```[Switch]```
> **Required**: false
> **Position**: named
> **PipelineInput**:false


---
#### **Data**

The data that will be written to the sensor



|Type |Requried|Postion|PipelineInput |
|----------------|--------|-------|--------------|
|```[PSObject]```|true |named |true (ByValue)|
> **Type**: ```[PSObject]```
> **Required**: true
> **Position**: named
> **PipelineInput**:true (ByValue)


---
#### **OutputInput**

If set, will output the data that would be sent to the bridge. This is useful for creating scheudles, routines, and other macros.



|Type |Requried|Postion|PipelineInput |
|--------------|--------|-------|---------------------|
|```[Switch]```|false |named |true (ByPropertyName)|
> **Type**: ```[Switch]```
> **Required**: false
> **Position**: named
> **PipelineInput**:true (ByPropertyName)


---
### Outputs
System.Management.Automation.PSObject
* [Management.Automation.PSObject](https://learn.microsoft.com/en-us/dotnet/api/System.Management.Automation.PSObject)




---
Expand Down

0 comments on commit 230e61a

Please sign in to comment.