[hdpowerview] Refresh battery level when receiving refresh command (#11933)
* Refresh battery level when receiving REFRESH command. Fixes #11932 Update README with shade refresh logic. Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
@@ -156,6 +156,17 @@ then
|
||||
end
|
||||
```
|
||||
|
||||
For single shades the refresh takes the item's channel into consideration:
|
||||
|
||||
| Channel | Hard refresh kind |
|
||||
|----------------|-------------------|
|
||||
| position | Position |
|
||||
| secondary | Position |
|
||||
| vane | Position |
|
||||
| lowBattery | Battery |
|
||||
| batteryLevel | Battery |
|
||||
| batteryVoltage | Battery |
|
||||
|
||||
## Full Example
|
||||
|
||||
### `demo.things` File
|
||||
|
||||
Reference in New Issue
Block a user