110 Commits

Author SHA1 Message Date
Robert Resch
d80fb2fd04
Add SensorStateClass.MEASUREMENT_ANGLE (#2624)
* Add SensorStateClass.MEASUREMENT_ANGLE

* Update docs/core/entity/sensor.md

Co-authored-by: Erik Montnemery <erik@montnemery.com>

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-03-26 13:42:03 +01:00
Erik Montnemery
ad9d22d634
Improve wind speed sensor device class documentation (#2623)
* Improve wind speed sensor device class documentation

* Update sensor.md
2025-03-26 13:01:50 +01:00
Joost Lekkerkerker
f36e3584d0
Update sensor.md (#2622) 2025-03-25 18:52:23 +01:00
victorclaessen
d9796eced4
Add µs to duration device class for sensor and number components (#2597)
* Update sensor.md

add µs to SensorDeviceClass.DURATION

* Update number.md

add µs unit to NumberDeviceClass.DURATION
2025-03-11 21:53:13 +00:00
Robert Resch
82ac1c5005
Add wind_direction sensor and number device class (#2572) 2025-02-19 12:25:12 +01:00
Jakob Schlyter
e19fd86f33
Add documentation for units for energy by distance (#2548) 2025-01-31 14:24:04 +00:00
Lukas Schlötterer
0af931dcc4
Add kV and MV unit conversion for voltages (#2526) 2025-01-13 13:00:46 +01:00
Michael Arthur
80935d4b8a
Add blog and update number and sensor entity docs (#2448)
* add blog and update number and sensor entity docs

* Update docs/core/entity/sensor.md

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update blog/2024-12-04-area-squared-units.md

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* remove space

* add number and sensor changes to the blog

* Update blog/2024-12-04-area-squared-units.md

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update blog/2024-12-04-area-squared-units.md

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update blog/2024-12-04-area-squared-units.md

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* remove example

* Update blog/2024-12-04-area-squared-units.md

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update blog/2024-12-04-area-squared-units.md

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Rename 2024-12-04-area-squared-units.md to 2024-12-26-area-squared-units.md

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-12-26 12:45:35 +01:00
Stefan Agner
4520e57472
Add mW as unit of measurement of power (#2508) 2024-12-19 12:45:28 +01:00
Stefan Agner
271215813e
Add mWh as unit of measurement (#2493) 2024-12-13 09:34:18 +01:00
Abílio Costa
766c2705ba
Update remark on translated units and native unit definition (#2485) 2024-12-03 19:05:18 +01:00
Josef Zweck
b385a5fec9
Add mL/s for volume flow rate (#2453) 2024-11-21 20:48:17 +01:00
Manu
a1f286224a
Add µV unit for voltage (#2456) 2024-11-19 22:38:36 +01:00
epenet
36e2ff5b90
Add device class for blood glucose concentration (#2429) 2024-11-09 11:31:04 +01:00
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