Commit Graph

63338 Commits (5a9815570002c7383534dee2e3421d970db64042)

Author SHA1 Message Date
Joost Lekkerkerker 5a98155700
Add entity translations for EasyEnergy (#95235) 2023-06-26 14:17:15 +02:00
Joost Lekkerkerker d14f04eb7e
Move Aurora coordinator to separate file (#95130) 2023-06-26 12:52:31 +02:00
Marc Mueller 8ccb0c3e14
Update types packages (#95222) 2023-06-26 12:49:18 +02:00
J. Nick Koston ad17a89531
Add additional coverage for ESPHome sensor and number (#95226) 2023-06-26 12:29:38 +02:00
Álvaro Fernández Rojas 74fb1ba51d
Update aioairzone-cloud to v0.1.9 (#95155) 2023-06-26 12:02:32 +02:00
Erik Montnemery a338e7e242
Use entity registry id in toggle_entity device automations (#94995)
* Use entity registry id in toggle_entity device automations

* Update tests

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-26 09:59:01 +02:00
Marc Mueller 408c613731
Update mypy to 1.4.1 (#95220) 2023-06-25 21:32:06 -05:00
J. Nick Koston 3b7095c63b
Fix esphome not removing entities when static info changes (#95202)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-25 21:31:31 -05:00
Kevin Cathcart d700415045
Support notification_id in notify.persistent_notification (#74822)
* Support notification_id in notify.persistent_notification

* Apply suggestions from code review

Co-authored-by: Scott Giminiani <ScottG489@Gmail.com>

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Scott Giminiani <ScottG489@Gmail.com>
2023-06-25 22:25:58 -04:00
J. Nick Koston 85d6e03dd3
Require newly configured esphome device to allow Home Assistant service calls (#95143)
* Require esphome service calls to be enabled

For existing devices, calling Home Assistant services continues
to be allowed.

For newly configured devices, it must now be enabled in the options
flow

* fix

* adjust

* coverage

* adjust

* fix test

* Update homeassistant/components/esphome/strings.json

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

* Update homeassistant/components/esphome/strings.json

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

* Update homeassistant/components/esphome/strings.json

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

* Update homeassistant/components/esphome/__init__.py

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

* Update homeassistant/components/esphome/__init__.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Update homeassistant/components/esphome/__init__.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-25 21:18:21 -04:00
Matthias Alphart f4756fe1f9
Update xknx to 2.11.0: Add support for Light DPT 9 color temperature (#95213)
Update xknx to 2.11.0
2023-06-25 21:05:35 -04:00
Allen Porter 1d9821efa2
Fix spelling mistake in script.py (#95210)
Update script.py
2023-06-25 21:00:50 -04:00
J. Nick Koston c1045d6c82
Fix hass_storage not clearing task (#95209)
hass_storage would never allow another load if the
no data path was hit

discovered while writing tests for https://github.com/home-assistant/core/pull/95202
2023-06-25 19:54:02 -04:00
Maciej Bieniek 62e518badb
Add new attributes to OpenWeatherMap weather entity (#95173)
* Add new attrs to current condition

* Add new attrs to forecast
2023-06-25 16:30:59 +02:00
G Johansson 67586caaf9
Cleanup ping (#95168) 2023-06-25 09:00:52 -05:00
J. Nick Koston 9051750add
Cache entity translation lookups and keys (#95180) 2023-06-25 08:50:48 -05:00
Matthias Alphart 2ce23c17ca
Update KNX frontend - add Group monitor telegram detail view (#95144)
* Use TelegramDict for WS communication

* Update knx_frontend
2023-06-25 14:58:08 +02:00
Joost Lekkerkerker f84887d5f8
Use device class translations for Coolmaster (#95182) 2023-06-25 13:10:37 +02:00
Joost Lekkerkerker dffe468ceb
Use device class translations for Broadlink (#95183) 2023-06-25 13:01:22 +02:00
Joost Lekkerkerker 58ddd17495
Add entity translations to Deluge (#95184)
* Add entity translations to Deluge

* Update sensor.py

* Fix black
2023-06-25 12:59:04 +02:00
Allen Porter 528c206094
Add script specific error messages for `response_variable` (#95188) 2023-06-24 21:34:57 -07:00
J. Nick Koston ef2e55ecec
Add dual IP stack support to HomeKit (#94126)
* Add dual IP stack support to HomeKit

* fix tests

* Update homeassistant/components/network/__init__.py

* remove scopes

* Bump HAP-python to 4.7.0

fixes pairing with newer iOS

changelog: https://github.com/ikalchev/HAP-python/compare/v4.6.0...4.7.0

* fixes

* update tests

* Relocate get_announced_addresses from zeroconf to network

needed for #94126

* rename

* rename

* Update homeassistant/components/network/__init__.py

* Update homeassistant/components/network/__init__.py

* rename

* fix import

* coverage
2023-06-24 23:18:38 -04:00
J. Nick Koston 57a910a144
Relocate esphome entity code into its own module (#95092) 2023-06-24 23:12:36 -04:00
J. Nick Koston 79f9a8a257
Add test coverage for esphome lock platform (#95023) 2023-06-24 23:10:47 -04:00
J. Nick Koston 9eedc8a602
Fix esphome binary sensors when state is missing (#95140)
* Fix esphome binary sensors when state is missing

* Fix esphome binary sensors when state is missing

* Fix esphome binary sensors when state is missing
2023-06-24 23:09:26 -04:00
J. Nick Koston c6b3d538de
Remove deprecated non-native number support (#95178)
* 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
Joost Lekkerkerker fa334cf2bd
Add entity translations to Big Ass Fans (#95136) 2023-06-24 19:00:20 -05:00
J. Nick Koston c8430e4557
Bump aiooncue to 0.3.5 (#95148) 2023-06-24 15:12:02 -05:00
J. Nick Koston 74d342a000
Bump sense-energy to 0.12.0 (#95151) 2023-06-24 15:11:13 -05:00
J. Nick Koston 3ea26efac9
Retry solaredge on socket.gaierror (#95153) 2023-06-24 15:10:54 -05:00
J. Nick Koston 5059cee53f
Reduce overhead to fire events (#95163) 2023-06-24 14:39:13 -05:00
J. Nick Koston 9354df975c
Reduce overhead to set up and write entity state (#95162) 2023-06-24 14:16:28 -05:00
J. Nick Koston 7c49324f18
Bump aioesphomeapi to 14.1.1 (#95166) 2023-06-24 14:15:51 -05:00
Joost Lekkerkerker e4a7c57b81
Use device class translations for Airly (#95115)
* Use device class translations for Airly

* Use device class translations for Airly

* Use device class translations for Airly
2023-06-24 13:13:36 +02:00
Franck Nijhof a2f9caa482
Clean up device class based entity translations in Elgato (#95122)
* 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 (#95110)
* 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 (#94759)
* 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 (#94688)
* 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 (#95139) 2023-06-23 21:29:56 -05:00
Paulus Schoutsen 3f10233833
Add return value to conversation.process service (#94740)
* Add return value to conversation.process service

* Adjust for new API
2023-06-23 13:32:03 -04:00
dougiteixeira 00075520c2
Add `volatile_organic_compounds_parts` to device class selector strings for Scrape (#95128)
Add  to device class selector strings for Scrape
2023-06-23 18:48:29 +02:00
Franck Nijhof 31a2b2e3a9
Clean up device class based entity translations in Rituals Perfume Genie (#95124) 2023-06-23 17:24:57 +02:00
Álvaro Fernández Rojas cd66da0ab1
Add Airzone Cloud Binary Sensors support (#93583)
* 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
starkillerOG 2702124130
Motion blinds improve async_request_position_till_stop (#93304) 2023-06-23 16:26:34 +02:00
J. Nick Koston 85a9654e52
Remove signal strength device class from hunterdouglas_powerview (#95113) 2023-06-23 16:11:19 +02:00
Joost Lekkerkerker 8fd930ba87
Handle LastFM unavailable (#94456) 2023-06-23 15:34:37 +02:00
Franck Nijhof 4255cd6bbc
Remove invalid Signal Strength device class from Ondilo (#95109) 2023-06-23 08:26:57 -05:00
Daniel Kent 983ff10541
Fix ESPHome color temperature precision for light entities (#91424)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-23 08:08:28 -05:00
G Johansson 91611bbd3b
Add missing apparent temp in forecast (#95108) 2023-06-23 14:49:11 +02:00
Marc Mueller 6033f39a0d
Partial revert "Add TypeVar defaults for DataUpdateCoordinator (#95026)" (#95101)
* Revert "Add TypeVar defaults for DataUpdateCoordinator and EntityComponent (#95026)"

This reverts commit 90f5b1c323.

* Don't revert everything
2023-06-23 14:42:34 +02:00