Commit graph

16667 commits

Author SHA1 Message Date
J. Nick Koston
c6b3d538de
Remove deprecated non-native number support ()
* Remove deprecated non-native number support

These were scheduled to be removed in 2022.10 but were left
in to give custom component authors a bit more time.

Its been a year since they were deprecated so its time
to remove the old code

https://developers.home-assistant.io/blog/2022/06/14/number_entity_refactoring/

* strip unneeded change from testing
2023-06-24 23:01:44 -04:00
J. Nick Koston
5059cee53f
Reduce overhead to fire events () 2023-06-24 14:39:13 -05:00
Franck Nijhof
a2f9caa482
Clean up device class based entity translations in Elgato ()
* Clean up device class based entity translations in Elgato

* Update snapshots
2023-06-24 12:45:47 +02:00
Maciej Bieniek
fe9366eee6
Add new properties to the weather entity in Accuweather integration ()
* Add new properties to the current conditions

* Add new properties to forecast

* Use existing constants

* Update tests
2023-06-24 12:38:20 +02:00
Allen Porter
b9b5fe6be8
Add service response data for listing calendar events ()
* Add service response data for listing calendar events

Add the capability of response data for for the entity component.

* Rename input arguments and add service description

* Improve list events to be more user friendly

Allow the end date to be determined based on a relative time duration. Make the start time optional and set to "now". Add additional test coverage. Update demo calendar to actually perform date range checks.

* Wrap docstrings properly.

* Increase test coverage

* Update to use new API calls

* Readability improvements

* Wrap docstrings

* Require at least one of end or duration

* Check for multiple entity matches earlier in the request

* Update documentation strings
2023-06-23 23:34:34 -04:00
Michael Hansen
65454c945d
Add VAD sensitivity option to VoIP devices ()
* Add VAD sensitivity option to VoIP devices

* Use select entitiy for VAD sensitivity

* Add sensitivity to tests

* Add to assist pipeline tests

* Update homeassistant/components/assist_pipeline/select.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Update tests/components/voip/test_voip.py

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-23 23:28:13 -04:00
Paulus Schoutsen
c42d0feec1
Allow passing in device_id to pipeline run WS API () 2023-06-23 21:29:56 -05:00
Paulus Schoutsen
3f10233833
Add return value to conversation.process service ()
* Add return value to conversation.process service

* Adjust for new API
2023-06-23 13:32:03 -04:00
Álvaro Fernández Rojas
cd66da0ab1
Add Airzone Cloud Binary Sensors support ()
* airzone_cloud: add Binary Sensors support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone_cloud: binary_sensor: fix copy&paste

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone_cloud: remote available attribute

This is not working as expected and will require minor library changes.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone_cloud: binary_sensor: remove unique_id

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone_cloud: binary_sensors: remove name

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone_cloud: use entity_name

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone_cloud: binary_sensor: add name=None

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone_cloud: binary_sensor: fix device class name

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Update homeassistant/components/airzone_cloud/binary_sensor.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-06-23 16:32:40 +02:00
Daniel Kent
983ff10541
Fix ESPHome color temperature precision for light entities ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-23 08:08:28 -05:00
Dominik
239f5fe56b
Fix glances raid plugin data ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-06-23 14:36:43 +02:00
Álvaro Fernández Rojas
e5c1ce65df
Use entity name in Airzone Cloud sensors () 2023-06-23 14:26:38 +02:00
J. Nick Koston
3d8bf33d03
Add test coverage for esphome alarm control panels () 2023-06-23 12:59:05 +01:00
G Johansson
071679f91f
Use new attributes in Smhi () 2023-06-23 11:32:20 +02:00
G Johansson
5d365ecb6b
Implement Wind Gust speed in Weather entity component ()
* Weather wind gust speed

* strings

* No compat
2023-06-23 08:22:46 +02:00
Michael Hansen
d811fa0e74
Sentence trigger ()
* Add async_register_trigger_sentences for default agent

* Add trigger response and trigger handler

* Check callback in test

* Clean up and move response to callback

* Add trigger test

* Drop TriggerAction

* Test we pass sentence to callback

* Match triggers once, allow multiple sentences

* Don't use trigger id

* Use async callback

* No response for now

* Use asyncio.gather for callback responses

* Fix after rebase

* Use a list for trigger sentences

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-22 18:29:34 -05:00
Arjan
29ef925d73
Add humidity to weather forecast ()
* allow humidty in forecast

* Add tests

* float

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-06-23 00:22:07 +02:00
dougiteixeira
e5afff7f98
Add the device of the source entity in the helper entities for Riemann sum integral () 2023-06-23 00:04:51 +02:00
Guido Schmitz
d804d3fca3
Use snapshot for devolo Home Network diagnostics test () 2023-06-22 23:56:09 +02:00
Franck Nijhof
a48030f5dd
Name unnamed buttons by their device class () 2023-06-22 23:51:41 +02:00
Franck Nijhof
e68916b2fc
Name unnamed numbers by their device class () 2023-06-22 23:48:49 +02:00
G Johansson
893b74d77e
Add missing test for Apparent temperature in Weather component () 2023-06-22 23:19:51 +02:00
G Johansson
eafddaae83
Implement Cloud coverage in Weather entity component () 2023-06-22 23:10:36 +02:00
G Johansson
b8de7df609
Implement dew point in weather entity component () 2023-06-22 21:34:23 +02:00
J. Nick Koston
fe71ed8c50
Add esphome media player tests () 2023-06-22 21:28:58 +02:00
J. Nick Koston
3d12c7409d
Add basic light tests to esphome () 2023-06-22 21:22:29 +02:00
Matthias Alphart
733bca88f1
Fix KNX device trigger passing info data () 2023-06-22 21:13:10 +02:00
J. Nick Koston
66b2214c55
Add esphome sensor tests () 2023-06-22 21:02:47 +02:00
J. Nick Koston
c7f2dab13c
Add climate tests to esphome () 2023-06-22 20:31:55 +02:00
J. Nick Koston
1cf4a008c3
Add coverage for binary_sensor platform to esphome () 2023-06-22 19:55:28 +02:00
G Johansson
6ad3b60adf
Implement Apparent temperature in Weather entity component () 2023-06-22 19:52:14 +02:00
Michael Hansen
38614bc3f0
Add websocket command to test intent recognition for default agent ()
* Add websocket command to test intent recognition for default agent

* Return results as a list

* Only check intent name/entities in test

* Less verbose output in debug API
2023-06-22 12:24:59 -04:00
Raman Gupta
5265584159
Fix zwave_js device diagnostics dump ()
* Fix zwave_js device diagnostics dump

* Update tests/components/zwave_js/test_diagnostics.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/zwave_js/test_diagnostics.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/zwave_js/test_diagnostics.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/zwave_js/test_diagnostics.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/zwave_js/test_diagnostics.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/zwave_js/test_diagnostics.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* improve test

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-22 10:10:36 -04:00
Joost Lekkerkerker
6ceb973606
Add entity translations for Abode () 2023-06-22 16:03:28 +02:00
Joost Lekkerkerker
acdf309c47
Add entity translations for Aladdin Connect () 2023-06-22 16:01:51 +02:00
Petro31
e4c8a94aaf
Add persistent_notification.dismiss_all service call () 2023-06-22 14:27:18 +02:00
Jan Bouwhuis
3c86497bc8
Improve mqtt climate turn_on and turn_off service ()
* Improve mqtt climate turn_on and turn_off service

* Remove POWER_COMMAND_TOPIC when mode is changed

* Call super
2023-06-22 13:46:14 +02:00
Franck Nijhof
e2f5a707ce
Fix use_device_name in case device device class translations are used ()
Co-authored-by: Erik <erik@montnemery.com>
2023-06-22 11:30:19 +02:00
J. Nick Koston
ed55632a66
Add esphome fan platform tests and remove unreachable code () 2023-06-22 11:29:59 +02:00
Erik Montnemery
5884afd485
Teach sensor device trigger about entity registry ids () 2023-06-22 11:13:54 +02:00
Erik Montnemery
e204e80528
Teach vacuum device trigger about entity registry ids () 2023-06-22 08:20:59 +02:00
J. Nick Koston
65a5244d5a
Fix race and add test coverage for esphome select platform () 2023-06-22 01:19:47 +02:00
J. Nick Koston
8d2daaa694
Limit cache size of EntityValues () 2023-06-21 22:23:35 +02:00
Jan Bouwhuis
31f845bfe0
Add current_humidity attribute to mqtt humidifier () 2023-06-21 19:19:26 +02:00
Barry Williams
57c9aad9b1
Migrate Linn / Openhome integration to SSDP config flow ()
* Migrate Linn / Openhome integration to SSDP config flow

* moved device initialisation into __init__

* wait for user step before adding openhome entities

* add CONFIG_SCHEMA

* cover confirmation step in config flow test

* Address comments

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-21 12:46:17 -04:00
Erik Montnemery
c8cd469c95
Teach media_player device trigger about entity registry ids () 2023-06-21 16:09:28 +02:00
Martin Hjelmare
f9366e5cc7
Migrate google translate to config entries ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-21 14:58:58 +02:00
Erik Montnemery
22e1feb223
Teach humidifier device trigger about entity registry ids () 2023-06-21 14:58:11 +02:00
Erik Montnemery
af97857c87
Teach select device trigger about entity registry ids () 2023-06-21 14:51:39 +02:00
Erik Montnemery
7f0be78ebb
Teach netatmo device trigger about entity registry ids () 2023-06-21 14:51:24 +02:00