core/homeassistant/components/hue
Erik Montnemery ba284c0d27
Add sensor state_class property (#50063)
* Add sensor state_class property

* STATE_CLASS_LATEST -> STATE_CLASS_MEASUREMENT

* Export sensor.state_class in capability_attributes

* Add STATE_CLASS_UNKNOWN

* Fix typing

* Update tests

* STATE_CLASS_UNKNOWN -> STATE_CLASS_OTHER

* Update homeassistant/components/sensor/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Remove STATE_CLASS_OTHER

* Update tests

* Revert test changes

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-07 23:04:00 +02:00
..
translations [ci skip] Translation update 2021-04-20 00:04:05 +00:00
__init__.py Fix Hue activate scene (#49556) 2021-04-22 19:29:11 +02:00
binary_sensor.py Bump aiohue to 2.3.0 (#50217) 2021-05-07 14:24:47 +02:00
bridge.py Bump aiohue to 2.3.0 (#50217) 2021-05-07 14:24:47 +02:00
config_flow.py Clean up connection classes in integrations H-L (#49891) 2021-04-30 21:02:53 -10:00
const.py Fix Hue service being removed on entry reload (#48663) 2021-04-13 09:31:23 -07:00
device_trigger.py
errors.py
helpers.py
hue_event.py
light.py Reduce hue gamut warning to debug (#49624) 2021-04-25 11:50:08 +02:00
manifest.json Bump aiohue to 2.3.0 (#50217) 2021-05-07 14:24:47 +02:00
sensor.py Bump aiohue to 2.3.0 (#50217) 2021-05-07 14:24:47 +02:00
sensor_base.py Add sensor state_class property (#50063) 2021-05-07 23:04:00 +02:00
sensor_device.py
services.yaml
strings.json