alorente
1d47dc41c9
Add reactive energy device class and units ( #143941 )
2025-05-15 12:05:46 +01:00
Robert Resch
97c558b694
Add WIND_DIRECTION to SensorDeviceClass and NumberDeviceClass ( #138714 )
...
* Add WIND_DIRECTION to SensorDeviceClass
* Add WIND_DIRECTION to NumberDeviceClass
* Fix tests
2025-02-19 12:24:22 +01:00
Jakob Schlyter
84ae476b67
Energy distance units ( #136933 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2025-01-31 14:22:25 +00:00
Michael Arthur
d8549409f7
Area units and conversion between metric and US ( #123563 )
...
* area conversions
* start work on tests
* add number device class
* update unit conversions to utilise distance constants
* add area unit
* update test unit system
* update device condition and trigger
* update statistic unit converters
* further tests work WIP
* update test unit system
* add missing string translations
* fix websocket tests
* add deprecated notice
* add more missing strings and missing initialisation of unit system
* adjust icon and remove strings from scrape and random
* Fix acre to meters conversion
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Tidy up valid units
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* fix ordering of area
* update order alphabetically
* fix broken test
* update test_init
* Update homeassistant/const.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* remove deprecated unit and fix alphabetical order
* change deprecation and add tests, change to millimeter conversion for inches
* fix order
* re-order defs alphabetically
* add measurement as well
* update icons
* fix up Deprecation of area square meters
* Update core integrations to UnitOfArea
* update test recorder tests
* unit system tests in alphabetical
* update snapshot
* rebuild
* revert alphabetization of functions
* other revert of alphabetical order
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2024-11-21 16:10:44 +01:00
epenet
25fb70f281
Add blood glucose concentration device class ( #129340 )
2024-11-09 11:29:24 +01:00
epenet
6ef1dd56f5
Use root import for device_automation ( #125836 )
2024-09-12 17:01:25 +02:00
dontinelli
0dd5391cd7
Add Siemes and Millisiemens as additional units of conductivity and enable conversion between conductivity units ( #118728 )
2024-06-21 11:10:15 +02:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Joakim Plate
cece117c93
Flow rate unit conversions and device class ( #106077 )
...
* Add volume flow rate conversions
* Add missing translations
* Adjust liter unit and add gallons per minute
* Adjust to min instead of m for minutes
* Add matching class for number
* Add some tests for number and sensor platform
* Add deprecated constants
* Add explicit list of flow rate for check
This reverts commit 105171af31 .
2024-01-30 15:01:08 +01:00
Miguel Camba
38111141f9
Add new device class: PH (potential hydrogen) ( #95928 )
2023-07-23 18:49:10 +02:00
Erik Montnemery
5884afd485
Teach sensor device trigger about entity registry ids ( #94988 )
2023-06-22 11:13:54 +02:00
Erik Montnemery
5a7c3aaa2d
Add sensor device class volatile_organic_compounds_parts ( #92973 )
2023-05-12 14:37:54 +02:00
Erik Montnemery
fca5cc6ea3
Add number + sensor device class volume storage ( #88312 )
...
* Add number + sensor device class volume storage
* Fix typo
* Format code
* Update device automations
2023-03-01 11:22:57 +01:00
Erik Montnemery
69ce6980d6
Add number + sensor device class energy storage ( #88310 )
...
* Add number + sensor device class energy storage
* Format code
* Update device automations
2023-02-28 19:35:43 +01:00
epenet
488d78571e
Add missing device class triggers ( #88316 )
...
* Add constant tests for sensor device classes
* Add missing strings
* Adjust tests
* Add missing conditions
* Add missing trigger
* Cleanup
2023-02-20 08:30:51 +01:00
SukramJ
e53758c1bb
Add missing CONF_SPEED to sensor device_trigger SCHEMA ( #83679 )
...
* Update device_trigger.py
* add missing CONF_IS_SPEED to device_condition
2022-12-09 21:18:47 -05:00
epenet
b172abaeeb
Add new atmospheric pressure device class ( #83455 )
...
* Add new atmospheric pressure device class
* Translations
* Automatic conversion
* Convert all pressure units
2022-12-09 08:02:53 +01:00
epenet
38f62ae622
Add new sound pressure device class ( #83453 )
...
* Add new sound pressure device class
* Translations
* Docstring
* Adjust unit
2022-12-08 19:46:03 +01:00
epenet
c4326ed1ef
Add new irradiance device class ( #83452 )
2022-12-08 18:44:23 +01:00
epenet
9987f7a125
Add new data rate device class ( #83377 )
2022-12-08 18:20:05 +01:00
epenet
25961d71ef
Add new data size device class ( #83376 )
2022-12-08 16:47:36 +01:00
epenet
55d1474e4a
Fix sensor schema for device classes ( #83378 )
2022-12-06 10:29:23 +01:00
epenet
dd960c4e62
Add precipitation device class ( #81145 )
2022-11-18 12:41:33 +01:00
epenet
cc46564488
Add wind_speed sensor device class ( #79789 )
2022-10-25 17:21:44 +02:00
epenet
613ea28b0e
Add new WATER device class ( #80886 )
2022-10-24 21:06:35 +02:00
epenet
05ef02bff6
Add precipitation_intensity sensor device class ( #79779 )
2022-10-19 16:04:11 +02:00
epenet
5389ff3253
Add new weight device class ( #79185 )
2022-09-28 12:13:49 +02:00
epenet
12e4d18038
Add volume to SensorDeviceClass ( #77960 )
...
* Add volume to SensorDeviceClass
* Adjust recorder
* Adjust tests
* Adjust sensor UNIT_CONVERTERS
* Adjust recorder
* Update strings.json
2022-09-27 19:37:52 +02:00
epenet
7c448416e1
Add speed to SensorDeviceClass ( #77953 )
...
* Add speed to SensorDeviceClass
* Adjust recorder
* Adjust tests
* Adjust sensor UNIT_CONVERTERS
* Add tests
* Add websocket tests
* Update strings.json
2022-09-27 17:19:34 +01:00
epenet
bfcc18e5b8
Add distance to SensorDeviceClass ( #77951 )
...
* Add distance to SensorDeviceClass
* Adjust recorder
* Adjust tests
* Adjust recorder
* Update __init__.py
* Update test_websocket_api.py
* Update test_websocket_api.py
* Update test_websocket_api.py
* Update strings.json
* Fix tests
* Adjust docstring
2022-09-27 15:34:00 +01:00
epenet
253d355526
Remove unused mypy ignore statements ( #78292 )
2022-09-12 09:25:11 -04:00
Ernst Klamer
db4391adff
Add device class moisture ( #77666 )
2022-09-01 11:47:47 -04:00
Marc Mueller
1ebac6c7ca
Use TriggerActionType [core, r-t] ( #76807 )
2022-08-15 17:40:16 +02:00
epenet
b10ee779f9
Adjust device_automation type hints in core platforms 3/3 ( #72211 )
2022-05-23 16:01:40 +02:00
Franck Nijhof
69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass ( #72005 )
2022-05-17 16:40:45 +02:00
Erik Montnemery
7b1e0e42f7
Allow device conditions and triggers for unitless sensors ( #70337 )
2022-04-21 09:31:15 -07:00
Marc Mueller
048d8f9263
Add strict typing to core.py (6) - Implicit reexport ( #63345 )
2022-01-04 19:51:19 +01:00
Erik Montnemery
8e8e49d3e7
Add sensor device classes for apparent and reactive power ( #62010 )
2021-12-23 10:29:38 +01:00
epenet
cd452552af
Use relative imports in sensor ( #62638 )
2021-12-22 13:22:15 -10:00
Erik Montnemery
684c380ce2
Use SensorDeviceClass enum in sensor device automations ( #62480 )
2021-12-21 14:07:01 +01:00
Erik Montnemery
36734972f0
Teach numeric state trigger about entity registry ids ( #60835 )
2021-12-02 09:45:40 -08:00
epenet
a3885f4fda
Add frequency device class for sensor ( #59700 )
...
Co-authored-by: Hedda <rockerc.harley@gmail.com >
Co-authored-by: epenet <epenet@users.noreply.github.com >
2021-11-15 14:33:50 +01:00
Jc2k
2dd4de060b
Add device class for volatile organic compounds ( #55050 )
2021-08-23 11:14:43 +02:00
Jc2k
de0460de61
Add device classes that were part of deprecated air quality entity ( #54075 )
2021-08-16 23:33:28 +02:00
Bram Kragten
e23750b2a4
Add device class gas and enable statistics for it ( #54110 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2021-08-11 09:58:19 -07:00
Erik Montnemery
76c3058d15
Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA ( #51719 )
2021-06-10 19:11:38 +02:00
Erik Montnemery
a1e3283f8f
Improve editing of device automations referencing non-added sensors ( #51312 )
2021-06-08 23:28:08 -07:00
Martin Hjelmare
fdbef90a57
Remove device class timestamp from device condition and trigger ( #48431 )
...
* Remove unit from garmin connect
* Remove unit from hvv departures
* Remove device class timestamp from device condition and trigger
* Remove unit from systemmonitor
* Use device class constant for timestamp in ring
2021-04-01 15:05:10 +02:00
Alexei Chetroi
79b5ca9415
Add device classes for CO and CO2 measurements ( #47487 )
2021-03-07 00:52:43 +01:00
Ville Skyttä
da66a4e933
Device automation config error message improvements ( #44656 )
...
Refs #44654 , #44655
2020-12-31 00:02:14 +01:00