Commit Graph
63352 Commits
Author SHA1 Message Date
Erik dd15059cfb Improve type annotations 2023-06-26 23:28:39 +02:00
Erik c71768445b Improve type annotations 2023-06-26 23:11:38 +02:00
Erik 96a276a30c Add backport of cached_property from CPython 3.12 2023-06-26 20:26:27 +02:00
Erik MontnemeryandGitHub 89c9e72768 Use entity registry id in alarm_control_panel device actions (#95241) 2023-06-26 16:59:43 +02:00
Erik MontnemeryandGitHub 8e2ba81995 Add image platform to the template integration (#94928)
* Add image platform to the template integration

* Set a default name

* Fix typo

* Add tests

* Improve test coverage

* Derive content-type from fetched image
2023-06-26 15:54:51 +02:00
Erik MontnemeryandGitHub 8fda56d2c9 Stable entity registry id when a deleted entity is restored (#77710)
* Stable entity_id and registry id when a deleted entity is restored

* Don't restore area_id

* Don't restore entity_id

* Address review comments
2023-06-26 15:54:35 +02:00
Nalin MahajanandGitHub f08f0fbb8b Fix control4 light switches on OS 3.3+ (#95196) 2023-06-26 15:49:44 +02:00
Franck NijhofandGitHub 5bd5ca8433 Add identify device class to button (#95244) 2023-06-26 15:46:37 +02:00
Jan BouwhuisandGitHub 1029bcbbd3 Add mqtt image platform (#94769)
* Add mqtt image platform

* Follow up comments

* Use separate topics

* Set last_ image to `None` on error

* Fix encoding and schema validation

* Assing None to last_image when get image fails

* Follow up comment

* Remove content_type validation

* Add validation

* Rename options according suggestions

* Remove url_topic / template feature from PR

* Always set content_type
2023-06-26 14:42:24 +02:00
Joost LekkerkerkerandGitHub 7dae17a404 Add entity translations to Dremel 3D printer (#95234) 2023-06-26 14:37:04 +02:00
Pascal VizeliandGitHub c75e831b65 Cosign support (#95236) 2023-06-26 14:32:02 +02:00
DanandGitHub 45ff9d8f63 Allow rounding two decimal places for Flume usage sensors (#95219) 2023-06-26 14:31:28 +02:00
Paulus SchoutsenandGitHub a31e899741 Pass correct parameter when resolving media via WS (#90897) 2023-06-26 14:24:12 +02:00
J. Nick KostonandGitHub 021a39a09c Make deep sleep esphome entities unavailable on unexpected disconnect (#95211) 2023-06-26 14:21:45 +02:00
Joost LekkerkerkerandGitHub 5a98155700 Add entity translations for EasyEnergy (#95235) 2023-06-26 14:17:15 +02:00
Joost LekkerkerkerandGitHub d14f04eb7e Move Aurora coordinator to separate file (#95130) 2023-06-26 12:52:31 +02:00
Marc MuellerandGitHub 8ccb0c3e14 Update types packages (#95222) 2023-06-26 12:49:18 +02:00
J. Nick KostonandGitHub ad17a89531 Add additional coverage for ESPHome sensor and number (#95226) 2023-06-26 12:29:38 +02:00
Álvaro Fernández RojasandGitHub 74fb1ba51d Update aioairzone-cloud to v0.1.9 (#95155) 2023-06-26 12:02:32 +02:00
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 MuellerandGitHub 408c613731 Update mypy to 1.4.1 (#95220) 2023-06-25 21:32:06 -05:00
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
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
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 AlphartandGitHub 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 PorterandGitHub 1d9821efa2 Fix spelling mistake in script.py (#95210)
Update script.py
2023-06-25 21:00:50 -04:00
J. Nick KostonandGitHub 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 BieniekandGitHub 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 JohanssonandGitHub 67586caaf9 Cleanup ping (#95168) 2023-06-25 09:00:52 -05:00
J. Nick KostonandGitHub 9051750add Cache entity translation lookups and keys (#95180) 2023-06-25 08:50:48 -05:00
Matthias AlphartandGitHub 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 LekkerkerkerandGitHub f84887d5f8 Use device class translations for Coolmaster (#95182) 2023-06-25 13:10:37 +02:00
Joost LekkerkerkerandGitHub dffe468ceb Use device class translations for Broadlink (#95183) 2023-06-25 13:01:22 +02:00
Joost LekkerkerkerandGitHub 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 PorterandGitHub 528c206094 Add script specific error messages for response_variable (#95188) 2023-06-24 21:34:57 -07:00
J. Nick KostonandGitHub 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 KostonandGitHub 57a910a144 Relocate esphome entity code into its own module (#95092) 2023-06-24 23:12:36 -04:00
J. Nick KostonandGitHub 79f9a8a257 Add test coverage for esphome lock platform (#95023) 2023-06-24 23:10:47 -04:00
J. Nick KostonandGitHub 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 KostonandGitHub 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 LekkerkerkerandGitHub fa334cf2bd Add entity translations to Big Ass Fans (#95136) 2023-06-24 19:00:20 -05:00
J. Nick KostonandGitHub c8430e4557 Bump aiooncue to 0.3.5 (#95148) 2023-06-24 15:12:02 -05:00
J. Nick KostonandGitHub 74d342a000 Bump sense-energy to 0.12.0 (#95151) 2023-06-24 15:11:13 -05:00
J. Nick KostonandGitHub 3ea26efac9 Retry solaredge on socket.gaierror (#95153) 2023-06-24 15:10:54 -05:00
J. Nick KostonandGitHub 5059cee53f Reduce overhead to fire events (#95163) 2023-06-24 14:39:13 -05:00
J. Nick KostonandGitHub 9354df975c Reduce overhead to set up and write entity state (#95162) 2023-06-24 14:16:28 -05:00
J. Nick KostonandGitHub 7c49324f18 Bump aioesphomeapi to 14.1.1 (#95166) 2023-06-24 14:15:51 -05:00
Joost LekkerkerkerandGitHub 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 NijhofandGitHub 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 BieniekandGitHub 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