J. Nick Koston
93f10cdce8
Move event permissions out of the websocket api into auth ( #101975 )
2023-10-15 23:14:19 +02:00
Franck Nijhof
97f24b855f
Bump version to 2023.11.0dev0 ( #101013 )
2023-09-27 19:03:06 +02:00
Raman Gupta
067b94899f
Move EVENT_LOGGING_CHANGED to constants ( #100974 )
...
* Move EVENT_LOGGING_CHANGED to constants
* fix test
* remove logger as dependency for bluetooth and fix test
2023-09-27 01:06:14 -04:00
Jan Rieger
ee65aa91e8
Allow setting the elevation in `set_location` ( #99978 )
...
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-09-13 18:09:12 +02:00
Joost Lekkerkerker
59b1d4ba69
Bump version to 2023.10.0dev0 ( #99349 )
2023-08-30 19:32:10 +02:00
Michael Arthur
82b3ced4f1
Add lawnmower entity ( #93623 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-08-21 12:19:55 +02:00
Michael Hansen
7ea2998b55
Add wake word integration ( #96380 )
...
* Add wake component
* Add wake support to Wyoming
* Add helper function to assist_pipeline (not complete)
* Rename wake to wake_word
* Fix platform
* Use send_event and clean up
* Merge wake word into pipeline
* Add wake option to async_pipeline_from_audio_stream
* Add start/end stages to async_pipeline_from_audio_stream
* Add wake timeout
* Remove layer in wake_output
* Use VAD for wake word timeout
* Include audio metadata in wake-start
* Remove unnecessary websocket command
* wake -> wake_word
* Incorporate feedback
* Clean up wake_word tests
* Add wyoming wake word tests
* Add pipeline wake word test
* Add last processed state
* Fix tests
* Add tests for wake word
* More tests for the codebot
2023-08-07 22:22:16 -04:00
Franck Nijhof
9b7dcce7ed
Bump version to 2023.9.0dev0 ( #97265 )
2023-07-26 17:40:17 +02:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum ( #97101 )
2023-07-23 23:19:24 +02:00
Franck Nijhof
ce1f5f997e
Drop Python 3.10 support ( #97007 )
2023-07-22 23:03:45 +02:00
Franck Nijhof
747f4d4a73
Add event entity ( #96797 )
2023-07-21 12:16:35 +02:00
J. Nick Koston
29aa89bea0
Add lightweight API to get core state ( #96860 )
2023-07-19 20:31:48 +02:00
Franck Nijhof
ec7beee4c1
Bump version to 2023.8.0dev0 ( #95476 )
2023-06-28 16:07:54 -04:00
Erik Montnemery
cb22fb16f8
Allow returning a script variable from a script ( #95346 )
...
* Allow returning a script variable from a script
* Don't allow returning a template result
* Raise if response variable is undefined
* Add test
* Update homeassistant/helpers/script.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Format code
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-27 17:13:53 +02:00
Paulus Schoutsen
5f14cdf69d
Allow stopping a script with a response value ( #95284 )
2023-06-27 08:24:22 +02:00
Erik Montnemery
5303bef83e
Add image entity component ( #90564 )
2023-06-19 17:03:48 +02:00
Allen Porter
c4284c07b6
Allow scripts to capture service response data in variables ( #94757 )
...
* Allow scripts service actions to save return values
* Simplify script service response data
* Rename result_variable to response_variable based on feedback
2023-06-16 22:59:44 -04:00
Franck Nijhof
8d8d0fc9d2
Bump version to 2023.7.0dev0 ( #93869 )
2023-05-31 20:34:30 +02:00
Franck Nijhof
8e05e3850b
Deprecate Python 3.10 ( #93794 )
2023-05-30 18:46:33 +02:00
Raman Gupta
24290e5d08
Add `datetime` platform ( #81943 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-29 23:24:15 +02:00
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
Franck Nijhof
7659555ce5
Bump version to 2022.9.0dev0 ( #75818 )
2022-07-27 15:55:52 +02:00
Franck Nijhof
fe68c15a4a
Bump version to 2022.8.0dev0 ( #74184 )
2022-06-29 21:20:57 +03:00
Erik Montnemery
d3f4108a91
Support knots and ft/s in weather wind speed ( #74175 )
2022-06-29 16:34:41 +02:00
Franck Nijhof
3e0e8dd105
Bump version to 2022.7.0dev0 ( #72500 )
2022-05-25 12:57:55 -07:00
Erik Montnemery
1aaf78ef99
Remove entity category system in favor of hidden_by ( #68550 )
2022-05-02 09:33:16 -07:00
Franck Nijhof
f17cf7c6a2
Bump version to 2022.6.0dev0 ( #70913 )
2022-04-27 17:34:34 +02:00
Erik Montnemery
66551e6fcb
Add state buffering to media_player and use it in cast ( #70802 )
2022-04-27 09:49:50 +02:00
Franck Nijhof
1b48d7eda1
Add for each item support to repeat action ( #70093 )
2022-04-15 19:10:25 +02:00
Franck Nijhof
e04fef3c2d
Allow disabling specific triggers/actions/conditions ( #70082 )
2022-04-15 09:33:09 -07:00
Franck Nijhof
cdabcce83a
Add ability to continue scripts/automations on error ( #70004 )
2022-04-14 13:43:14 -07:00
Franck Nijhof
d704d4f853
Add parallel automation/script actions ( #69903 )
2022-04-13 13:07:44 -07:00
Franck Nijhof
67b200a532
Add if/else automation/script action ( #69811 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-04-12 15:02:17 +02:00
Franck Nijhof
81d90b1bc7
Add stop/error script/automation action ( #67340 )
2022-04-11 14:22:22 -07:00
Franck Nijhof
7087020283
Allow any entity to match state condition ( #69763 )
2022-04-11 10:53:42 -07:00
Franck Nijhof
800bf926aa
Add attribute to zone indicating persons in zone ( #69767 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-10 23:36:40 -07:00
J. Nick Koston
fe6a4bfb1d
Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC ( #69643 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 09:05:54 -10:00
Franck Nijhof
217d98e008
Bump version to 2022.5.0dev0 ( #68923 )
2022-03-30 23:02:19 +02:00
epenet
2bb42f48aa
Add CONF_MODEL to core constants ( #68806 )
...
* Add CONF_MODEL to core constants
* Use CONF_MODEL in SamsungTV
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 10:01:10 +02:00
Raman Gupta
aa013fa8f6
Add CONF_LOCATION constant ( #68474 )
...
* Add CONF_LOCATION constant
* Update all custom CONF_LOCATION definitions to point to constant
* remove CONF_LOCATION from homeassistant/components/totalconnect/const
2022-03-26 00:10:54 -04:00
Franck Nijhof
073fb40b79
Add update entity platform ( #68248 )
...
Co-authored-by: Glenn Waters <glenn@watrs.ca>
2022-03-21 11:02:48 +01:00
Franck Nijhof
43b847220e
Bump version to 2022.4.0dev0 ( #67132 )
2022-02-23 22:12:37 +01:00
Ville Skyttä
6473edd88a
Fix REQUIRED_NEXT_PYTHON_HA_RELEASE comment placement ( #65251 )
2022-01-30 19:09:51 +01:00
Franck Nijhof
0f63fb221c
Bump version to 2022.3.0dev0 ( #64996 )
2022-01-26 20:53:09 +01:00
Joakim Sørensen
04c5e51cbd
Remove the deprecated discovery_info endpoint ( #64534 )
2022-01-20 13:46:48 +01:00
Erik Montnemery
8d6e2ae354
Import persistent notification part 1 ( #63898 )
2022-01-11 17:24:59 +01:00
Franck Nijhof
cb66685174
Drop Python 3.8 support ( #63883 )
2022-01-11 12:00:53 +01:00
Ruslan Sayfutdinov
55f4962c06
Fix pylint plugin which checks relative imports ( #62693 )
2021-12-23 11:14:47 -08:00
Erik Montnemery
8e8e49d3e7
Add sensor device classes for apparent and reactive power ( #62010 )
2021-12-23 10:29:38 +01:00
J. Nick Koston
b1ac1596d8
Add ATTR_HW_VERSION to homeassistant.const ( #62258 )
2021-12-18 14:46:22 +01:00
Franck Nijhof
a9879487cc
Bump version to 2022.2.0dev0 ( #62011 )
2021-12-16 09:54:45 +01:00