File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments