Skip to content

Commit 10f1e78

Browse files
[hub75] Add set_brightness action (#5792)
* [hub75] Add set_brightness action * Fix template link * address review comments
1 parent 9031ad5 commit 10f1e78

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

content/components/display/hub75.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,24 @@ The three key settings for LVGL are:
306306
- `auto_clear_enabled: false` - LVGL handles clearing
307307
- `double_buffer: false` - LVGL manages its own buffering
308308

309+
## Actions
310+
311+
### `hub75.set_brightness` Action
312+
313+
This action allows you to dynamically change the brightness of the display at runtime.
314+
315+
```yaml
316+
on_...:
317+
- hub75.set_brightness:
318+
id: matrix_display
319+
brightness: 128
320+
```
321+
322+
**Configuration variables:**
323+
324+
- **id** (*Optional*, [ID](/guides/configuration-types#id)): The ID of the HUB75 display component. Only required if you have multiple `hub75` platform displays configured.
325+
- **brightness** (**Required**, int, [templatable](/automations/templates)): The brightness level to set (0-255). A value of 0 effectively turns off the display, while 255 is maximum brightness.
326+
309327
## Configuration Examples
310328

311329
### Basic Single Panel (with Board Preset)

0 commit comments

Comments
 (0)