Files
core/tests/components/statistics/fixtures/configuration.yaml
Thomas Dietrich bee3c9102c Add binary characteristics, add deprecation warning for optional state_characteristic parameter (#60402)
* Add binary source sensor statistics

* Make state_characteristic a required parameter

* Move binary unitless testcase

* Add testcases for binary characteristics

* Revert charact. to optional with deprecation warning

* Correctly check for binary supported characteristic
2021-12-02 09:03:24 +01:00

6 lines
108 B
YAML

sensor:
- platform: statistics
entity_id: sensor.cpu
name: cputest
state_characteristic: mean