Commit Graph

667 Commits (9fca594777eab07b28ed3c540226517bf646fe87)

Author SHA1 Message Date
Raman Gupta c0d0c89293
Add `time` platform (#81949) 2023-04-30 22:33:51 +02:00
Raman Gupta d138bbe26e
Add `date` platform (#81948) 2023-04-30 20:34:57 +02:00
Franck Nijhof b5edf47454
Bump version to 2023.6.0dev0 (#92081) 2023-04-26 22:58:26 +02:00
Franck Nijhof 7010447b04
Bump version to 2023.5.0dev0 (#90477) 2023-03-29 16:46:32 -04:00
Franck Nijhof aa3657e071
Bump version to 2023.4.0dev0 (#88630) 2023-02-22 21:29:49 +01:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof 7d672b4a4d
Bump version to 2023.3.0dev0 (#86632) 2023-01-25 20:50:44 +01:00
SgtBatten 0ccab19d2c
Add Mega Joule as valid unit of energy (#86055)
* Add Mega joule

* Reorder valid energy types

Alphabetical

* Add Mega Joule

* Add Mega Joule as valid energy unit

* Add Mega Joule

* Add Mega Joule as a Unit of Measurement to Energy

* Update tests

* Update tests

* Update number docstring

Co-authored-by: Roving Ronin <108674933+Roving-Ronin@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-01-25 14:13:42 +01:00
Franck Nijhof 5102d1a5f3
Drop Python 3.9 support (#85456) 2023-01-22 20:40:33 +01:00
J. Nick Koston 57239769ba
Only build compressed states once (#85561) 2023-01-09 12:07:32 -10:00
Franck Nijhof ba24cb6e72
Bump version to 2023.2.0dev0 (#84707) 2022-12-28 18:46:04 +01:00
epenet bbecf6ca37
Introduce unit enums for volume flow rate (#84310) 2022-12-21 09:28:49 +01:00
epenet f4c13645d2
Add support for CCF volume unit (#84029) 2022-12-19 14:57:04 +01:00
Michaël Arnauts 627a208d9f
Use a global const for CONF_UUID (#84093) 2022-12-19 12:16:30 +01:00
epenet 4a848e8222
Add stones to mass units (#83933) 2022-12-13 17:35:14 +01:00
epenet 96c442349f
Introduce unit enums for sound pressure (#83450)
* Introduce unit enums for sound pressure

* Adjust based on architecture comment

* Adjust
2022-12-08 20:06:02 +01:00
epenet 90438edc17
Introduce unit enums for irradiance (#83414) 2022-12-08 18:41:38 +01:00
epenet 0eacd84ff3
Introduce unit enums for apparent power (#83451) 2022-12-08 18:23:23 +01:00
epenet b8613ec09d
Allow cm in precipitation units (#83360)
* Use new device class in zamg

* Adjust docstring

* Undo component changes
2022-12-06 10:34:58 +01:00
epenet 67192d4ea7
Introduce unit enums for information and data rate (#83291)
* Introduce UnitOfData enum

* Introduce UnitOfDataRate enum

* UnitOfData > UnitOfInformation
2022-12-05 23:32:00 +01:00
epenet 7eda67be11
Introduce unit enums for electric current and potential (#83287)
* Introduce UnitOfElectricCurrent enum

* Introduce UnitOfElectricalPotential enum

* UnitOfElectricalPotential > UnitOfElectricPotential
2022-12-05 23:31:43 +01:00
epenet 8fdf35b80a
Introduce UnitOfFrequency enum (#83289) 2022-12-05 20:03:47 +01:00
epenet 6295cf3dc4
Introduce UnitOfTime enum (#83288) 2022-12-05 20:03:27 +01:00
Franck Nijhof 4bef6ac191
Bump version to 2023.1.0dev0 (#83025) 2022-11-30 21:12:57 -05:00
Erik Montnemery e1338adf1a
Allow configuring country and language in core config (#81734)
* Allow configuring country and language in core config

* Add script for updating list of countries

* Use black for formatting

* Fix quoting

* Move country codes to a separate file

* Address review comments

* Add generated/countries.py

* Get default language from owner account

* Remove unused variable

* Add script to generate list of supported languages

* Add tests

* Fix stale docsring

* Use format_python_namespace

* Correct async_user_store

* Improve typing

* Fix with_store decorator

* Initialize language in core store migration

* Fix startup

* Tweak

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Update storage.py

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 23:25:50 +01:00
Raman Gupta 003e4224c8
Add `text` platform (#79454)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 20:01:01 +01:00
epenet 697b5db3f2
Migrate precipitation units to an enum (#81143) 2022-11-24 08:23:30 +01:00
Franck Nijhof 6a1bb8c421
Deprecate Python 3.9 (#82193) 2022-11-16 15:38:10 +01:00
Franck Nijhof cee7b788d4
Bump version to 2022.12.0dev0 (#81044) 2022-10-26 23:44:38 +02:00
epenet a28b0e1b6f
Migrate volume units to an enum (#81028)
* Migrate volume units to an enum

* Adjust docstring

* Deprecate -> Deprecated

* Plural
2022-10-26 17:57:41 +02:00
epenet 8645e47b07
Migrate power units to an enum (#81026) 2022-10-26 17:28:23 +02:00
epenet e18adb379d
Migrate mass units to an enum (#81021) 2022-10-26 16:21:29 +02:00
epenet e0d94d799a
Migrate temperature units to an enum (#81006)
* Migrate temperature units to an enum

* Adjust spacing
2022-10-26 08:00:15 -04:00
epenet 9ee4d77935
Migrate speed units to an enum (#81004) 2022-10-26 13:59:54 +02:00
epenet 945c991e84
Migrate pressure units to an enum (#81009) 2022-10-26 13:58:22 +02:00
epenet 91df68de1f
Migrate length units to an enum (#81011) 2022-10-26 13:57:49 +02:00
epenet 842cb18d39
Migrate energy units to an enum (#80998) 2022-10-26 13:56:51 +02:00
epenet 7838bb3ebe
Replace new PRECIPITATION_INTENSITY with enum (#80653) 2022-10-25 16:45:45 +02:00
Erik Montnemery 727eccfec4
Add GJ as supported unit for energy sensors (#80870)
* Add GJ as supported unit for energy sensors

* Update homeassistant/const.py

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

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-25 16:43:00 +02:00
epenet 26d3c34838
Remove precipitation note from length units (#80677) 2022-10-24 10:45:16 +02:00
epenet 9afb4c6c9e
Adjust precipitation units (#79780)
* Adjust precipitation units

* Use PRECIPITATION_INTENSITY

* Revert isy994

* Adjust SensorDeviceClass docstring

* Adjust comment
2022-10-19 14:35:49 +02:00
epenet bff5d1123f
Deprecate CONF_UNIT_SYSTEM_*** constants (#80320)
* Deprecate CONF_UNIT_SYSTEM_*** constants

* Adjust pylint plugin

* Add tests

* Remove single-use function

* Revert logic change

* Revert "Revert logic change"

This reverts commit 60959a0050.

* Tweak again
2022-10-14 16:50:04 +02:00
Charles Garwood 58d531841b
Fix typo SIGNAL_BOOTSTRAP_INTEGRATONS -> SIGNAL_BOOTSTRAP_INTEGRATIONS (#79970) 2022-10-09 17:06:28 -10:00
Erik Montnemery 18033532ca
Fix search throwing on templated services (#79637) 2022-10-05 10:59:18 +03:00
epenet 2fd62b571d
Add docstring to US volume constants (#79582)
* Add docstring to US volume constants

* A blank line separation
2022-10-04 14:47:57 +02:00
Raman Gupta 3884b4b6bf
Bump zwave-js-server-python to 0.42.0 (#79020) 2022-09-28 21:24:04 -04:00
Franck Nijhof 99f4ce9e5a
Bump version to 2022.11.0dev0 (#79224) 2022-09-28 21:51:06 +02:00
epenet 7cfc28e915
Add unit constant for revolutions per minute (#78752) 2022-09-19 15:46:47 +02:00
Paulus Schoutsen 8dda2389c8
2022.10.0.dev0 (#77635) 2022-09-01 07:01:10 +02:00
Erik Montnemery 60c8d95a77
Remove white_value support from light (#76926) 2022-08-18 08:21:05 -04:00