epenet
b10ee779f9
Adjust device_automation type hints in core platforms 3/3 ( #72211 )
2022-05-23 16:01:40 +02:00
epenet
50ca14538a
Cleanup deprecated async_get_registry in core ( #72087 )
2022-05-18 17:58:28 +02:00
Erik Montnemery
7b1e0e42f7
Allow device conditions and triggers for unitless sensors ( #70337 )
2022-04-21 09:31:15 -07:00
Marc Mueller
4d76ed9ceb
Fix implicit reexport [helpers.condition] ( #63830 )
2022-01-11 11:03:10 +01: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
0e3bc21d54
Teach state and numeric_state conditions about entity registry ids ( #60841 )
2021-12-02 14:55:12 -08:00
Erik Montnemery
caf5ee2fab
Remove optional validation when creating conditions ( #60481 )
2021-11-28 14:54:07 +01: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
06fc21e287
Improve editing of device conditions referencing non-added sensor ( #51835 )
2021-06-14 15:22:31 +02: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
Marc Mueller
a3cd1854f6
Update typing 12 ( #48073 )
2021-03-18 14:31:38 +01: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
fabiocastagnino
02d572aae5
Add device classes for electrical measurement ( #36800 )
...
* added device classes for electrical measurement
(cherry picked from commit 2409fe19ed43bef568a0cca826652867d3a2d71a)
* upadte power factor unit (%)
* update power factor unit (%)
2020-08-08 21:04:18 +02:00
Franck Nijhof
187b6525b4
Removal of extraneous parenthesis ( #33637 )
2020-04-04 20:08:55 +02:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Bas Nijholt
df85a50f3b
Sort imports according to PEP8 for sensor ( #29683 )
2019-12-09 11:57:49 +01:00
Erik Montnemery
475b43500a
Add above and below to sensor condition extra_fields ( #27364 )
...
* Add above and below to sensor condition extra_fields
* Change unit_of_measurement to suffix in extra_fields
* Check if sensor has unit when getting capabilities
* Improve tests
2019-10-26 06:55:42 +08:00
Ville Skyttä
759ad08930
Typing misc fixes ( #27543 )
...
* Make async_get_conditions return type hint more specific
* Exclude script/scaffold/templates/ from pre-commit mypy
2019-10-14 13:03:37 -07:00
Erik Montnemery
5d1dd6390d
Validate generated condition ( #27263 )
2019-10-06 21:06:16 -07:00
Erik Montnemery
b8f41dbb75
Add device condition support to sensor entities ( #27163 )
...
* Add device condition support to sensor entities
* Fix typing
2019-10-04 10:11:14 -07:00