785 Commits

Author SHA1 Message Date
Franck Nijhof
b8793760a1
Bump version to 2025.4.3 2025-04-19 09:17:04 +00:00
Franck Nijhof
667cb772e9
Bump version to 2025.4.2 2025-04-11 16:12:45 +00:00
Franck Nijhof
4f799069ea
Bump version to 2025.4.1 2025-04-04 19:24:45 +00:00
Franck Nijhof
0c19e47bd4
Bump version to 2025.4.0 2025-04-02 15:02:28 +00:00
Franck Nijhof
94558e2d40
Bump version to 2025.4.0b15 2025-04-02 14:19:49 +00:00
Franck Nijhof
aa4eb89eee
Bump version to 2025.4.0b14 2025-04-02 09:44:23 +00:00
Franck Nijhof
cd363d48c3
Bump version to 2025.4.0b13 2025-04-01 19:12:16 +00:00
Franck Nijhof
427e1abdae
Bump version to 2025.4.0b12 2025-03-31 20:12:58 +00:00
Franck Nijhof
649d8638ed
Bump version to 2025.4.0b11 2025-03-31 18:34:34 +00:00
Franck Nijhof
04f5315ab2
Bump version to 2025.4.0b10 2025-03-31 08:09:39 +00:00
Franck Nijhof
7766649304
Bump version to 2025.4.0b9 2025-03-29 17:50:46 +00:00
Franck Nijhof
14eed1778b
Bump version to 2025.4.0b8 2025-03-28 20:46:26 +00:00
Franck Nijhof
d1512d46be
Bump version to 2025.4.0b7 2025-03-28 16:00:45 +00:00
Franck Nijhof
ff458c8417
Bump version to 2025.4.0b6 2025-03-28 15:04:34 +00:00
Franck Nijhof
4f3e8e9b94
Bump version to 2025.4.0b5 2025-03-27 20:03:14 +00:00
Franck Nijhof
841c727112
Bump version to 2025.4.0b4 2025-03-27 16:59:36 +00:00
Franck Nijhof
a1fe6b9cf3
Bump version to 2025.4.0b3 2025-03-27 15:38:31 +00:00
Franck Nijhof
5d75e96fbf
Bump version to 2025.4.0b2 2025-03-27 10:19:35 +00:00
Franck Nijhof
89c3266c7e
Bump version to 2025.4.0b1 2025-03-26 23:21:26 +00:00
Franck Nijhof
785e5b2c16
Bump version to 2025.4.0b0 2025-03-26 17:41:03 +00:00
Bram Kragten
7f0db3181d
Bump version to 2025.4.0 (#139381) 2025-02-26 19:54:29 +01:00
Franck Nijhof
5f98d5a65a
Revert Python 3.13.2 requirement for now (#138948) 2025-02-20 19:42:11 +01:00
Franck Nijhof
b71d5737a5
Update Home Assistant base image to 2025.02.1 (#138746)
* Update Home Assistant base image to 2025.02.1

* Require Python 3.13.2 now
2025-02-18 22:34:08 +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
Bram Kragten
46cef2986c
Bump version to 2025.3.0 (#136859) 2025-01-29 19:32:36 +01:00
Franck Nijhof
60bdc13c94
Drop Python 3.12 support (#135589) 2025-01-14 16:23:15 +01:00
Lukas Schlötterer
7b63c17101
Add kV and MV unit conversion for voltages (#135396) 2025-01-13 13:00:35 +01:00
Franck Nijhof
8d32531bc1
Bump version to 2025.2.0dev0 (#133893) 2024-12-23 17:54:32 +01:00
Stefan Agner
962f1bad32
Add mW as unit of measurement for Matter electrical power sensors (#133504) 2024-12-19 11:40:05 +00:00
Stefan Agner
9ab69aa41c
Add mWh as unit of measurement for Matter energy sensors (#133005) 2024-12-13 09:33:58 +01:00
Robert Resch
a67045ee6c
Remove deprecated home assistant const constants (#131799) 2024-11-28 12:12:37 +01:00
Marc Mueller
7110df04e6
Bump version to 2025.1.0dev0 (#131751) 2024-11-27 22:32:56 +01:00
Josef Zweck
3cfd958dc2
Allow mL/s as UnitOfVolumeFlowRate (#130771) 2024-11-21 20:47:24 +01: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
Manu
397a299f15
Add µV as UnitOfElectricPotential (#130838) 2024-11-19 22:38:22 +01:00
Marc Mueller
ed5560aec2
Update base image to Python 3.13 and deprecated 3.12 (#130425) 2024-11-13 19:28:53 +01:00
epenet
25fb70f281
Add blood glucose concentration device class (#129340) 2024-11-09 11:29:24 +01:00
Jakob Schlyter
cd11f01ace
Add support for MW/GW/TW and GWh/TWh (#130089) 2024-11-08 22:12:16 +01:00
Bram Kragten
208b15637a
Bump version to 2024.12 (#129525) 2024-10-30 20:59:56 +01:00
Erik Montnemery
4b56701152
Move core config class to core_config.py (#129163) 2024-10-26 07:00:31 +02:00
G Johansson
cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum (#126283)
* Alarm state from enum

* Fixes

* Set final

* Fix rebase

* Test const

* Fix breaking version

* Fix other for alarm_control_panel

* Fix integrations

* More

* More

* More

* More

* Fix zha

* Replace _attr_state

* Fix alarm_control_panel

* Fix tests

* Fixes

* Mods

* Change some

* More

* More

* More

* Tests

* Last tests

* Return enum

* Fix zha

* Remove not needed check

* Fix wording

* Fix homekit

* Mod prometheus

* Fix mypy

* Fix homekit

* Fix ifttt
2024-10-21 22:54:27 +02:00
Erik Montnemery
0956dbb578
Rename UnitOfConductivity enum members (#127919)
* Rename UnitOfConductivity enum members

* Update test snapshots
2024-10-08 14:44:01 +02:00
Michael
ffa6b5fcb2
Use two words for Nautical miles unit (#126905) 2024-09-27 13:16:13 +02:00
Michael
26b5dab12b
Add nmi (nautical miles) as valid distance unit (#124723) 2024-09-27 10:40:59 +02:00
Franck Nijhof
9afd270111
Bump version to 2024.11.0dev0 (#126776) 2024-09-25 21:08:07 +02:00
Joost Lekkerkerker
a1906b434f
Change trigger platform key to trigger (#124357)
* fix

* Fix

* Fix

* Update homeassistant/helpers/config_validation.py

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

* Fix

* Fix

* Fix

* Fix

* Add more tests

* Fix

* Fix tests

* Add tests

* Let's see what the CI does

* It fails on the code that tested the thing ofc

* It fails on the code that tested the thing ofc

* Revert test thingy

* Now the test works again, lovely

* Another one

* Fix websocket thingy

* Only copy when needed

* Improve comment

* Remove test

* Fix docstring

* I think this now also work since this transforms trigger to platform

* Add comment

* Update homeassistant/helpers/config_validation.py

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

* Update homeassistant/helpers/config_validation.py

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

* Update homeassistant/helpers/config_validation.py

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

* Check for mapping

* Add test

* Update homeassistant/helpers/config_validation.py

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

* Update test to also test for trigger keys

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-25 14:19:58 +02:00
G Johansson
93aade6e8e
Change lock state to an enum (#126379)
* Add new LockState enum for lock states

* Add rest

* Fix insteon tests

* Fix mqtt tests

* Fix tesla_fleet

* Revert back ST_STATE_LOCKED

* Add back constant
2024-09-24 12:30:50 +02:00
Trevor Schirmer
96b7fc9a75
Add mm/s and in/s As Unit Of Speed (#125044)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-22 09:01:46 -05:00
epenet
c81d104822
Sort values in Platform enum (#126259) 2024-09-19 13:12:37 +02:00
Sergey Dudanov
dcd7830a35
Add calories to energy sensor device class (#122796)
* added calories to energy class

* changes

* temporarily solving the problem with conversion accuracy

* add tests

* added calories to energy class

* changes

* add tests

* Update homeassistant/util/unit_conversion.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Update homeassistant/util/unit_conversion.py

Co-authored-by: Robert Resch <robert@resch.dev>

* apply suggestions

* Update homeassistant/util/unit_conversion.py

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-10 12:22:15 +02:00