96 Commits

Author SHA1 Message Date
Jakob Schlyter
5fc5cb8e37
Add support for MW/GW/TW and GWh/TWh (#2443) 2024-11-08 22:12:37 +01:00
Kars de Jong
12f889cdad
Add/update type information in sensor.md (#2372)
* Add/update type information in sensor.md

 - Updated types of various of properties to match the current implementation.
 - Use enum types instead of strings where appropriate.
 - Add more device classes to the list of classes that can't be of state class
   SensorStateClass.MEASUREMENT.

* Fix small grammatical error as suggested by coderabbitai

* Apply Markdownlint suggestions about table-pipe-style

* Replace StateType in by its expansion sensor.md

StateType is being phased out, so document the underlying basic types instead.

* Move None last

* Fix small grammar error in sensor.md

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-16 00:06:34 +02:00
Michael
d180c0584e
Add nmi (nautical miles) as valid distance unit (#2293) 2024-09-27 10:42:14 +02:00
Trevor Schirmer
d50255db3f
Add mm/s and in/s As Speed (#2298) 2024-09-22 09:02:14 -05:00
Sergey Dudanov
4aa7da6fa7
Add calories units (#2262)
* added calories units

* retrigger checks

* added calories blogpost

* added link to available device classes

* Adjust language

* Fix link

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-11 10:05:11 +02:00
dontinelli
615fc11729
Add docs for CONDUCTIVITY device class (#2285)
* Add documentation for SensorDeviceClass.CONDUCTIVITY

* Update number.md

* Remove period

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-08-24 13:53:31 +02:00
Christopher Fenner
14b2ff6d45
Fix typo in sensor energy device class (#2256) 2024-07-21 22:42:56 +02:00
c0ffeeca7
207c08678e
core: apply sentence-style capitalization to headings (#2188)
- to comply with MS Style Guide on [capitalization](https://learn.microsoft.com/en-us/style-guide/capitalization)
2024-05-23 10:10:20 +02:00
Jan Bouwhuis
8e8bf36017
Add sensor example - weight of pellets for sensor with total amount (#2073) 2024-02-05 18:13:23 +01:00
Joakim Plate
e11058f0ad
Add volume flow rate device class (#2034) 2024-01-30 15:04:25 +01:00
avee87
c05ad84b0d
Add mmHg as a valid pressure unit (#1384)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-08 13:54:56 +01:00
c0ffeeca7
b598d9d66e
Sensor entity: atmospheric pressure: add mmHg to units (#1898)
- related change in user documentation: #28781
2023-09-05 13:47:53 +02:00
Miguel Camba
6356916718
Document new pH device class for sensor and number (#1854) 2023-07-23 18:50:44 +02:00
Joost Lekkerkerker
57f75b937f
Align SensorDeviceClass page with code (#1810) 2023-06-22 16:39:47 +02:00
Franck Nijhof
30def44683
Add sensor device class volatile_organic_compounds_parts (#1780) 2023-05-16 22:19:36 +02:00
Andrew Betts
1b5a7916b5
Typo (#1773) 2023-05-08 09:48:27 +02:00
Raman Gupta
46be04bb38
Add ms as valid duration sensor unit type (#1741) 2023-04-04 12:42:02 +02:00
Erik Montnemery
19845c516d
Document ENERGY_STORAGE and VOLUME_STORAGE device classes. (#1698) 2023-03-01 16:02:10 +01:00
Erik Montnemery
c471f4ef53
Remove outdated comments about statistics (#1699) 2023-02-28 21:18:32 -05:00
Erik Montnemery
428318d797
Document + blog post sensor presentation rounding (#1673) 2023-02-08 15:00:23 +01:00
Erik Montnemery
9c735f9364
Fix typo in sensor documentation (#1657) 2023-01-30 17:20:47 +01:00
SgtBatten
fa7f6f2a7b
Add MJ and GJ energy types (#1639) 2023-01-25 14:25:08 +01:00
Erik Montnemery
5071e5e05f
Document K as a valid unit for temperature sensor and number (#1650) 2023-01-25 11:48:24 +01:00
Erik Montnemery
c1972a3d13
Document sensor attribute native_precision (#1648)
* Document sensor attribute native_precision

* 🔡
2023-01-25 08:56:03 +01:00
Erik Montnemery
84ce528485
Update allowed units for power factor sensor device class (#1614) 2023-01-09 10:42:16 +01:00
Franck Nijhof
dfd77cabdf
Replace device class strings with enums in dev docs (#1610) 2023-01-04 00:37:28 +02:00
Erik Montnemery
e0eb707572
Update SensorDeviceClass.PRECIPITATION documentation (#1608) 2023-01-03 11:11:09 +01:00
Steven Vondruska
21e63c3b75
Updating native_unit_of_measurement documentation (#1586) 2023-01-02 12:15:58 +01:00
SukramJ
b28c57600c
Add mA to SensorDeviceClass.CURRENT (#1593) 2022-12-30 13:55:39 +01:00
Jan Bouwhuis
7c5ede6fba
Add mV unit to number and sensor entity documentation (#1598) 2022-12-30 12:51:32 +01:00
epenet
9815c59189
Remove lumen from Illuminance units (#1592) 2022-12-27 14:26:00 +01:00
epenet
c5eae6f4e5
Add CCF to volume units (#1587) 2022-12-19 14:58:13 +01:00
epenet
2f4c542bde
Add stones to weight units (#1585) 2022-12-13 17:35:34 +01:00
epenet
8e3979ee81
Add new atmospheric pressure device class (#1573) 2022-12-09 13:49:21 +01:00
epenet
cfb86b5075
Add new sound pressure device class (#1574)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-12-08 20:11:45 +01:00
epenet
0896d1c000
Add new irradiance device class (#1575)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-12-08 18:46:50 +01:00
epenet
2aa3db4d0b
Add new data rate device class (#1577) 2022-12-08 18:20:33 +01:00
epenet
520ba8bc50
Add new data size device class (#1576) 2022-12-08 16:50:34 +01:00
epenet
8eda52dd4e
Add cm to precipitation units (#1567)
* Add cm to precipitation units

* Update number.md
2022-12-07 08:10:18 +01:00
Franck Nijhof
ea9f865cb5
Enum device class & options property of sensor entities (#1540) 2022-12-02 09:11:38 +01:00
epenet
8b5d5c4212
Add precipitation device class (#1517) 2022-11-18 12:42:06 +01:00
epenet
68ed590f2b
Add precipitation_intensity sensor device class (#1491) 2022-10-26 14:41:20 +02:00
Erik Montnemery
4bc5729629
Document sensor property suggested_unit_of_measurement (#1503)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-25 17:25:11 +02:00
epenet
9bd288eb84
Add wind_speed sensor device class (#1490) 2022-10-25 17:23:06 +02:00
epenet
d614799414
Add WATER sensor device class (#1509) 2022-10-24 21:06:59 +02:00
Erik Montnemery
bcefc60ab9
Update sensor.md, to make it easier to find the section about choosing state class (#1486)
* Update sensor.md

* Update sensor.md
2022-10-06 08:17:11 +02:00
epenet
1e6761fb2b
Add comment around weight device class (#1479) 2022-09-28 14:24:31 +02:00
epenet
985e8d4747
Add generic weight device class (#1476) 2022-09-28 12:20:06 +02:00
epenet
bf2edac078
Add generic speed device_class (#1466) 2022-09-28 08:27:14 +02:00
epenet
2250d2ed0b
Add generic volume device_class (#1464) 2022-09-28 08:22:38 +02:00