Skip to content

Commit ec20a02

Browse files
committed
README: reformat table
1 parent eef8258 commit ec20a02

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@ Tested against Home Asisstant 2025.8.3.
1010

1111
## Options
1212

13-
| Name | Type | Default | Description |
14-
|---------------------|--------|----------|-------------|
15-
| name | string | required | Friendly name |
16-
| expr | string | required | [PromQL](https://prometheus.io/docs/prometheus/latest/querying/basics/) expression |
17-
| unique_id | string | optional | [Unique ID](https://www.home-assistant.io/faq/unique_id/) |
13+
| Name | Type | Default | Description |
14+
|---------------------|--------|----------|-------------------------|
15+
| name | string | required | Friendly name |
16+
| expr | string | required | [PromQL] expression |
17+
| unique_id | string | optional | [Unique ID] |
1818
| unit_of_measurement | string | optional | Unit of the measurement |
19-
| device_class | string | optional | [Device class](https://www.home-assistant.io/integrations/sensor/#device-class) |
20-
| state_class | string | optional | [State class](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes) |
19+
| device_class | string | optional | [Device class] |
20+
| state_class | string | optional | [State class] |
21+
22+
[PromQL]: https://prometheus.io/docs/prometheus/latest/querying/basics/
23+
[Unique ID]: https://www.home-assistant.io/faq/unique_id/
24+
[Device class]: https://www.home-assistant.io/integrations/sensor/#device-class
25+
[State class]: https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes
2126

2227
## Example usage
2328

0 commit comments

Comments
 (0)