Commit Graph

48909 Commits (1eb2ddf0103b3795632d6a98d96350593eece9ef)

Author SHA1 Message Date
tronikos 1dcaec4ece
Bump google-generativeai to 0.1.0 (#95515) 2023-06-29 22:55:51 -04:00
Paulus Schoutsen e77f419142
Wiz set name explicitely to None (#95593) 2023-06-29 22:20:53 -04:00
puddly b44e15415f
Fix ZHA multi-PAN startup issue (#95595)
Bump ZHA dependencies
2023-06-29 22:20:33 -04:00
dougiteixeira f2f0c38fae
Fix device source for Utility Meter (#95585)
* Fix Device Source

* Remove debug
2023-06-29 21:52:48 -04:00
J. Nick Koston 734614bdda
Fix device_id not set in esphome (#95580) 2023-06-29 18:04:13 -05:00
J. Nick Koston 93b4e6404b
Bump bluetooth-data-tools to 1.3.0 (#95576) 2023-06-29 18:03:59 -05:00
RenierM26 449109abd5
Ezviz IR string align with depreciation. (#95563) 2023-06-29 14:20:14 -04:00
Paulus Schoutsen decb1a3118
Fix entity name for iBeacon and Roku (#95574)
* Fix entity nmae for iBeacon and Roku

* Roku remote too
2023-06-29 13:43:13 -04:00
Allen Porter 7252c33df8
Limit fields returned for the list events service (#95506)
* Limit fields returned for the list events service

* Update websocket tests and fix bugs in response fields

* Omit 'None' fields in the list events response
2023-06-29 13:25:25 -04:00
Bram Kragten 63218adb65
Update frontend to 20230629.0 (#95570) 2023-06-29 13:18:24 -04:00
Luke 3474f46b09
Bump Roborock to 0.29.2 (#95549)
* init work

* fix tests
2023-06-29 13:13:37 -04:00
Paulus Schoutsen 9cace8e4bd
Fix some entity naming (#95562) 2023-06-29 13:11:17 -04:00
Artem Draft 33be262ad7
Fix Android TV Remote entity naming (#95568)
Return None as Android TV Remote entity name
2023-06-29 18:53:50 +02:00
Raman Gupta 1f840db333
Fix binary sensor device trigger for lock class (#95505) 2023-06-29 12:29:27 -04:00
Franck Nijhof 23e23ae80e
Mark text input required for conversation.process service (#95520) 2023-06-29 17:39:08 +02:00
Joost Lekkerkerker 45bbbeee19
Use explicit naming in workday sensor (#95531) 2023-06-29 11:36:39 -04:00
J. Nick Koston e3e1bef376
Fix manual specification of multiple advertise_ip with HomeKit (#95548)
fixes #95508
2023-06-29 11:35:32 -04:00
Joost Lekkerkerker 8e00bd4436
Philips.js explicit device naming (#95551) 2023-06-29 16:40:35 +02:00
Marcel van der Veldt e9d8fff0dd
Bump Matter Server to 3.6.3 (#95519) 2023-06-29 15:28:34 +02:00
Joost Lekkerkerker 9d7007df63
Use explicit naming in Nest (#95532) 2023-06-29 14:49:46 +02:00
Franck Nijhof a3ffa0aed7
Revert "Remove Brottsplatskartan YAML configuration (#94101)" (#95521) 2023-06-29 12:03:42 +02:00
Joost Lekkerkerker 369de1cad3
Add explicit device name to Broadlink (#95516) 2023-06-29 12:03:25 +02:00
Joost Lekkerkerker 5d1c1b35d3
Add explicit device name to Roborock (#95513) 2023-06-29 12:02:09 +02:00
Franck Nijhof a6cfef3029
Revert "Remove qbittorrent YAML configuration (#93548)" (#95522) 2023-06-29 12:01:26 +02:00
Franck Nijhof 06d47185fe
Revert "Remove snapcast YAML configuration (#93547)" (#95523) 2023-06-29 12:00:41 +02:00
Franck Nijhof 34ac541493
Revert "Remove Workday YAML configuration (#94102)" (#95524) 2023-06-29 12:00:13 +02:00
Franck Nijhof ed16fffa79
Bump breaking version for YAML features ADR-0021 (#95525) 2023-06-29 11:59:36 +02:00
Evan Jarrett 2205f62cc1
Update matter locks to support pin code validation (#95481)
Update matter locks to support PINCode validation based on device attributes
2023-06-29 11:29:54 +02:00
Joost Lekkerkerker 9fb3d4de30
Add explicit device name to Switchbot (#95512) 2023-06-29 11:25:39 +02:00
Joost Lekkerkerker e6c4f98354
Add explicit device name to Tuya (#95511)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-06-29 11:24:59 +02:00
Joost Lekkerkerker 3c7912f7a4
Add explicit device name to Spotify (#95509) 2023-06-29 11:09:45 +02:00
Joost Lekkerkerker 48049d588c
Add entity translations to iOS (#95467) 2023-06-28 22:22:55 -04:00
Joost Lekkerkerker b0c0b58340
Remove statement in iss config flow (#95472)
Remove conf name
2023-06-28 22:21:50 -04:00
Brandon Rothweiler c93c3bbdcd
Remove incompatible button entities for Mazda electric vehicles (#95486)
* Remove incompatible button entities for Mazda electric vehicles

* Update tests
2023-06-28 21:46:08 -04:00
Matthias Alphart 1615f3e1fd
Add reload service to KNX (#95489) 2023-06-28 21:45:17 -04:00
Joost Lekkerkerker b86b41ebe5
Fix YouTube coordinator bug (#95492)
Fix coordinator bug
2023-06-28 21:43:42 -04:00
Michael Hansen 33c7cdcdb3
Disconnect VoIP on RTCP bye message (#95452)
* Support RTCP BYE message

* Make RtcpState optional
2023-06-28 21:41:11 -04:00
J. Nick Koston 54255331d5
Small cleanups to bluetooth manager advertisement processing (#95453)
Avoid a few lookups that are rarely used now
2023-06-28 21:40:03 -04:00
J. Nick Koston dfe7c5ebed
Refactor ESPHome connection management logic into a class (#95457)
* Refactor ESPHome setup logic into a class

Avoids all the nonlocals and fixes the C901

* cleanup

* touch ups

* touch ups

* touch ups

* make easier to read

* stale
2023-06-28 21:39:31 -04:00
Bram Kragten a7dfe46fb1
Add conversation agent selector, use in `conversation.process` service (#95462) 2023-06-28 21:38:06 -04:00
puddly 392e2af2b7
Bump ZHA dependencies (#95478)
* Bump ZHA dependencies

* Account for new EZSP metadata keys
2023-06-28 18:35:05 -04:00
Michael Hansen 487dd3f956
Add targeted entities to sentence debug API (#95480)
* Return targets with debug sentence API

* Update test

* Update homeassistant/components/conversation/__init__.py

* Include area/domain in test sentences

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-28 18:34:43 -04:00
Marcel van der Veldt 0b81550092
Fix Matter entity names (#95477) 2023-06-28 23:40:12 +02:00
Franck Nijhof ec7beee4c1
Bump version to 2023.8.0dev0 (#95476) 2023-06-28 16:07:54 -04:00
Barry Williams aaf2846a53
Add Update Entity for Linn devices (#95217)
* added update entity for Linn devices

* Update homeassistant/components/openhome/update.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* use parent methods for version attributes

* fixed issue with mocking openhome device

* Update homeassistant/components/openhome/update.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* update entity name in tests

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-06-28 16:06:24 -04:00
J. Nick Koston 25dc9f5942
Migrate esphome climate platform to use _on_static_info_update (#95471) 2023-06-28 20:37:35 +02:00
Eric Severance 03dac6e171
Remove polling_interval_seconds option from wemo (#95468) 2023-06-28 20:27:10 +02:00
Emory Penney 804b27cc2f
Improve Obihai Connection Stability (#94406)
* Improving Obihai Connectivity

* Update homeassistant/components/obihai/sensor.py

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

* PR feedback

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-28 20:12:09 +02:00
Michael b64be798df
Fix qr code data update in AVM Fritz!Tools (#95470)
* use async_update

* improve tests

* use async_image
2023-06-28 19:57:03 +02:00
Michael Hansen 79f1c86789
Bump home-assistant-intents to 2023.6.28 (#95451) 2023-06-28 19:35:18 +02:00
Joost Lekkerkerker ecfb259438
Add entity translations to iBeacon (#95460)
* Add entity translations to iBeacon

* Add entity translations to iBeacon
2023-06-28 19:32:58 +02:00
Olen 4959fce1e0
Fix setting number of digits for verisure lock PIN (#95449)
* Fix error when setting number of digits

* Update test_config_flow.py

Add test for empty code
2023-06-28 19:18:45 +02:00
Michael Hansen 3d84c6e21c
Use "Done" as a default response for sentence triggers (#95463)
* Use "Done" as a default response for sentence triggers

* Move response to trigger callback
2023-06-28 12:34:55 -04:00
Joost Lekkerkerker d8d580ad58
Make smartthings use the right unit of measurement for illuminance sensors (#95456) 2023-06-28 18:18:24 +02:00
Joost Lekkerkerker e0d1d16da1
Remove mutable object from hvv sensor (#95454) 2023-06-28 18:18:11 +02:00
Bram Kragten b2c0ca304b
Update frontend to 20230628.0 (#95458) 2023-06-28 18:16:39 +02:00
Martin Hjelmare de4e3b5ffe
Disable sun.sun no platform log (#95450) 2023-06-28 17:06:23 +02:00
Artem Draft c14a2dd912
Add `active_child_template` to universal media player (#88816)
* Add active_children_template in universal

* handle multiple updates

* edit docstring

* Rename parameter to active_child_template
2023-06-28 16:36:18 +02:00
Michael acb7b1fe3b
Apply suggestion from late review of #95282 (#95437) 2023-06-28 16:20:23 +02:00
Joost Lekkerkerker 4393aa4f50
Add entity translations to Growatt Server (#95410)
* Add entity translations to Growatt Server

* Fix feedback
2023-06-28 15:28:01 +02:00
Jan Bouwhuis 0a74bffe67
Fix error for stt when async_get_engine is not implemented (#95443)
* Fix error for stt

* Revert "Fix error for stt"

This reverts commit 723cd191fe.

* Remove legacy stt platform component
2023-06-28 15:27:06 +02:00
Matthias Alphart 489781c1e6
Add time platform to KNX (#95302) 2023-06-28 15:19:32 +02:00
Erik Montnemery 24ea865553
Fix a couple of typos (#95441) 2023-06-28 14:37:13 +02:00
Jan Bouwhuis 0856121046
Add action topic to MQTT humidifier (#95212)
* Add action topic to MQTT humidifier

* Add tests
2023-06-28 14:21:15 +02:00
Joost Lekkerkerker e9495c9cc6
Add entity translations for homewizard (#95416)
* Add entity translations for homewizard

* Add entity translations for homewizard

* Add entity translations for homewizard

* Fix tests
2023-06-28 14:02:54 +02:00
avee87 6c2c4c989f
Migrate Transmission to new entity naming (#95436) 2023-06-28 14:00:06 +02:00
Joost Lekkerkerker 103375ef95
Add entity translations to HVV Departures (#95442)
* Add entity translations to HVV Departures

* Add entity translations to HVV Departures
2023-06-28 13:57:04 +02:00
Joost Lekkerkerker ff015310fd
Add entity translations to honeywell (#95440) 2023-06-28 13:55:42 +02:00
Sab44 c1953b0ae4
Decouple Hyperion entitites and clear source when light is off (#80478)
* Remove Hyperion Priority Light

* Remove coupling between light entity and led device

* Merge HyperionLight and HyperionBaseLight as we will only have one light entity

* Set state based on whether priority channel is open or not

* Remove leftover variable from Priority Light

* Remove external sources from light entity; use switch entities instead

* Remove external effects from effects to show dropdown

* Remove workaround for hyperion.ng issue 992

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-28 13:51:42 +02:00
starkillerOG ee4459f41e
Extend Reolink update entity (#94323)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-06-28 13:32:14 +02:00
Christopher Johnson c2cd4d0517
Expose host in ubus device tracker (#80621)
* Expose host in ubus device tracker

* Update homeassistant/components/ubus/device_tracker.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-06-28 13:27:47 +02:00
Dominik 796b5ef196
Bump glances-api to 0.4.3 (#95431) 2023-06-28 13:23:15 +02:00
Denis Shulyaka ae21ab2945
Add `action` attribute to Humidifier entity (#95131)
* Add HumidifierAction StrEnum

* Add action attribute to HumidifierEntity

* Update strings.json

* Add action to demo humidifier

* Add tests

* Fix imports

* Add 'off' humidifier action

* Set action to 'off' when state is 'off'

* Add 'off' action to strings.json

* Test that action sets to "off" when state is "off"

* Use is_on instead of state

* Fix typo

* black
2023-06-28 13:21:17 +02:00
Jan Bouwhuis fe7857c8ec
Add current_humidity device_trigger for humidity component (#95435)
Add current_humidity device_trigger for humidity
2023-06-28 13:13:55 +02:00
Maximilian 0bfb81ecf3
Replace NINA corona filter with regex (#83181)
* Change headline filter to regex

* Add config migration

* Update config flow
2023-06-28 13:00:08 +02:00
Maxim Oei 36b0fc17df
Update Telegram bot to support URLs in inlineKeyboard (#70445)
* Update Telegram bot to support URLs in inlineKeyboard

Update creation of InlineKeyboardButton to support url case, on top of callbacks

* linting

* Apply suggestions from code review

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-28 12:56:00 +02:00
Jan Bouwhuis 8b563120b5
Add comment for assumed trigger_type (#95432)
* Add comment for assumed tigger_type

* Update homeassistant/components/climate/device_trigger.py

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

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-28 12:22:56 +02:00
Álvaro Fernández Rojas d430e089d2
Update aioairzone-cloud to v0.2.0 (#95429) 2023-06-28 11:09:17 +02:00
Paulus Schoutsen 149ac4f99e
Capitalize a bunch of translations (#95421) 2023-06-28 11:08:53 +02:00
avee87 a5b91cb7e3
Fix invalid unique id for Transmission entities (#84664)
* Update unique id for Transmission entities

* Moved migration to a separate function

* Hopefully fixed coverage

* Extracted dictionary to constant

* review comments

* more comments

* revert accidental name change

* more review comments

* more review comments

* use lists instead of incorrect tuple syntax
2023-06-28 10:45:13 +02:00
Joost Lekkerkerker 2747da784c
Move Fjaraskupan coordinator to separate file (#95342)
* Move coordinator to separate file

* Move coordinator to separate file

* Move coordinator to separate file
2023-06-28 10:41:50 +02:00
Luke f6aae8b01b
Remove unneded construct import for Eddystone (#95418) 2023-06-28 10:02:01 +02:00
Jan Bouwhuis 265ccae54f
Do not allow zerovalue as total_increasing for homewizard sensors (#90982)
* Do not allow zerovalue  as total_increasing

* Fix for solar exports

* Revert not needed change

* Adjust handling, making tests pass

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-28 09:53:33 +02:00
cpolhout cfb133d431
Add new integration Loqed (#70080) 2023-06-28 09:42:12 +02:00
aschobba f5b2273fc1
Add support for HmIP-BS2 to HomematicIP Cloud (#93599)
* Add support for HmIP-BS2

Add support for HmIP-BS2

* Run ruff fix

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-28 09:33:48 +02:00
hcross13 5955be46a4
Fix ness_alarm tasks being fired before required sensors and panel are loaded asynchronously (#94590)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-28 09:30:48 +02:00
Ruben Bokobza 7a82176670
Add preset support to electrasmart climate (#94068) 2023-06-28 09:29:58 +02:00
starkillerOG d2cd0c9934
Add reolink channel based record, push, email, ftp, and buzzer switches (#91006)
* Add channel based email, ftp, push, rec and buzzer switches

* fix dataclass
2023-06-28 09:18:14 +02:00
Don Holly 04e277ac95
Add AirQuality SensorState support for Google Assistant (#80579)
* Add AirQuality SensorState support for Google Assistant

* Code formatting

* Apply suggestions from code review

Co-authored-by: Joakim Plate <elupus@ecce.se>

* Update trait.py

* Update trait.py

* Fix google_assistant tests

* Update trait.py

* Simplify sensor state payload and tests

* Add more tests to fix coverage

* fix tests

* Truncate once

---------

Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: Erik <erik@montnemery.com>
2023-06-28 08:55:00 +02:00
J. Nick Koston 72806bfaf2
Add more test coverage for ESPHome lights (#95415) 2023-06-28 08:40:21 +02:00
Joost Lekkerkerker b53b162d05
Add entity translations to Flo (#95347)
* Add entity translations to Flo

* Add entity translations to Flo
2023-06-28 08:36:10 +02:00
Michael 4daacf9c4b
Add Guest WiFi QR-Code image entity to AVM Fritz!Tools (#95282) 2023-06-27 23:48:28 +02:00
Joost Lekkerkerker aaa4ee79b8
Add entity translations to HERE Travel time (#95412) 2023-06-27 23:35:12 +02:00
shbatm 4e05205174
Add updated ISY994/IoX Units of Measurement (#95408) 2023-06-27 16:17:36 -05:00
Nathan Spencer ec8988f8ea
Add time entity for sleep mode start time to Litter-Robot 3 (#94194) 2023-06-27 22:25:29 +02:00
Joost Lekkerkerker 21c619e702
Add entity translations to Guardian (#95411) 2023-06-27 22:24:41 +02:00
zry98 bafb81337b
Add buttons for resetting vacuum consumable status in xiaomi_miio (#91483)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Eugenio Panadero <eugenio.panadero@gmail.com>
2023-06-27 21:58:29 +02:00
Dave T 7fa86d3998
Simplify parsing of user input during config flow for generic (#86256)
Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2023-06-27 21:29:06 +02:00
Álvaro Fernández Rojas 78380c0cd4
Allow turning Airzone slave zones on with any HVAC mode (#94721)
airzone: climate: allow turning slave zone on with any hvac mode

If the user selects a different mode on a slave zone from the one selected on
the master zone, it will raise an exception and it won't change the operation
mode or turn it on.
Change this behaviour so that the exception will still be raised but the slave
zone will be turned on and the hvac mode won't be changed.
This allows commanding airzone slave zones from limited APIs like homekit.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-27 21:25:41 +02:00
Marcel van der Veldt ed2daf1f65
Change subscription logic for Matter devices (#95387) 2023-06-27 21:12:29 +02:00
Joost Lekkerkerker a885ceefa2
Add entity translations to Gios (#95403) 2023-06-27 20:58:03 +02:00
Eric Severance a4a6972237
Set webhook local_only deprecation to 2023.11.0 (#95401) 2023-06-27 20:43:11 +02:00
Charles Garwood 34827571ba
Add set_config service to Fully Kiosk Browser integration (#95318)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-27 20:42:18 +02:00
micha91 16fe79db75
Improve the source labels for MusicCast players (#74954) 2023-06-27 20:34:04 +02:00
Joost Lekkerkerker dd3693caca
Add entity translations to Github (#95404) 2023-06-27 20:33:27 +02:00
Ian Foster 286bdff8bc
Fix keyboard_remote device_descriptor when using symbolic links (#94744) 2023-06-27 20:31:41 +02:00
Marcel van der Veldt e7f29263e3
Fix sending a (default) pincode to Matter Lock operations (#95402) 2023-06-27 20:27:48 +02:00
Mick Vleeshouwer 99a622c8ee
Bump pyoverkiz to 1.9.0 (#95400) 2023-06-27 20:25:31 +02:00
Erik Montnemery 179e1da164
Use entity registry id in text device actions (#95398) 2023-06-27 20:24:40 +02:00
Franck Nijhof d7b7deb95f
Improve climate turn_on service (#94645) 2023-06-27 20:17:13 +02:00
Eric Severance bbae2061e7
Add wemo options enable_subscription & enable_long_press (#56972)
* Add wemo options enable_subscription & enable_long_press

* Also add polling_interval_seconds option

* Give feedback about invalid option combinations

* Use a frozen dataclass for Options

* Validate polling_interval_seconds

* Describe message arg

* Replace broad exception with PyWeMoException
2023-06-27 20:10:13 +02:00
Joost Lekkerkerker 6a85e227db
Show all YouTube subscriptions in config flow (#94287) 2023-06-27 20:07:44 +02:00
Franck Nijhof 48776f86dc
Use identify device class in Elgato identify button entity (#95361)
* Use identify device class in Elgato identify button entity

* Clean up strings
2023-06-27 13:59:49 -04:00
Erik Montnemery 0fc51ac75a
Remove current humidity humidifier device trigger (#95394) 2023-06-27 19:55:59 +02:00
Richard Kroegel f1a54a510c
Re-add "deactivate air conditioning" button to bmw_connected_drive (#94765) 2023-06-27 19:55:46 +02:00
Mike Knoop 2092bd225d
Distinguish multiple raise lower buttons on one Lutron keypad (#92380) 2023-06-27 19:52:46 +02:00
Erik Montnemery e18f7dffb0
Teach validate_config to validate lists of conditions (#95380)
* Teach validate_config to validate lists of conditions

* Update test
2023-06-27 19:44:23 +02:00
Joost Lekkerkerker e8cb9fba7b
Add entity translations to Geocaching (#95396) 2023-06-27 19:42:55 +02:00
Paulus Schoutsen 243abf32c0
Add test to stop action (#95376) 2023-06-27 19:38:30 +02:00
Paul Bottein 8b25fd8563
Use total increasing for ecowitt precipitation and lightning count (#90099) 2023-06-27 19:32:06 +02:00
Maciej Bieniek 8d6a711cac
Make `unique_id` of the Shelly button entity immutable (#95160) 2023-06-27 19:10:12 +02:00
aschmitz 1dc9c77a3e
Tag Aranet diagnostic entities appropriately (#95218) 2023-06-27 18:56:46 +02:00
Joost Lekkerkerker e4eb7e4796
Add entity translations to FireServiceRota (#95337) 2023-06-27 18:55:40 +02:00
Joost Lekkerkerker 09bfb08067
Add entity translations to Flume (#95350) 2023-06-27 18:54:32 +02:00
Joost Lekkerkerker 0b32a6e0d1
Use shorthand attributes for freedompro (#95358) 2023-06-27 18:53:29 +02:00
Joost Lekkerkerker b0834472bc
Use device class translations for Fritz (#95362) 2023-06-27 18:48:03 +02:00
Erik Montnemery 68db751ce1
Refactor template image (#95353) 2023-06-27 18:46:36 +02:00
Joost Lekkerkerker 1a8bc1930c
Add entity translations to FiveM (#95370) 2023-06-27 18:44:26 +02:00
Franck Nijhof 4b9bfe9a50
Support importing Blueprints from the Home Assistant websites (#95340)
* Support importing Blueprints from the Home Assistant websites

* Improve test coverage
2023-06-27 12:40:53 -04:00
Erik Montnemery bff4b0c79c
Use entity registry id in arcam_fmj device triggers (#95391) 2023-06-27 18:25:17 +02:00
Erik Montnemery 5a90a44233
Use entity registry id in kodi device triggers (#95392) 2023-06-27 18:24:53 +02:00
Erik Montnemery 1fec407a24
Set scripts which fail validation unavailable (#95381) 2023-06-27 18:24:34 +02:00
Erik Montnemery 17ac1a6d32
Set automations which fail validation unavailable (#94856) 2023-06-27 18:23:33 +02:00
Joost Lekkerkerker 8bbb396048
Move freedompro coordinator to separate file (#95360)
* Move coordinator to separate file for freedompro

* Move coordinator to separate file for freedompro
2023-06-27 17:48:36 +02:00
Joakim Sørensen db01aecb02
Add contents to connection_info handler in cloud client (#95059) 2023-06-27 17:45:41 +02:00
Robert Hillis cd26de73b4
Add button platform to Dremel 3D printer (#94517)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-27 17:44:29 +02:00
Franck Nijhof 3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
disforw 7c676c0a7d
Add config_flow to QNAP (#80450)
* Create config_flow.py

* Update __init__.py

* Create const.py

* Create strings.json

* Update sensor.py

* Update manifest.json

* Update manifest.json

* Add device name to entities

* Correcting health sensor

* Update manifest.json

* Adding integration_type

* Update sensor.py

* Update __init__.py

* Enums

* Update sensor.py

* Removed unused notify_create

* Switch to SensorDeviceClass.TEMPERATURE

* Update enums

* Remove SENSOR_TYPES from const.py

* Add SENSOR_TYPES to sensor.py

* Removed dependancies

* Removed import yaml

* Removed entity_registry_enabled_default

* Update const.py remove dups

* Update manifest.json removed dups

* Update __init__.py

* Update const.py

* Update manifest.json

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py remove unused

* Update sensor.py add docstring

* Update sensor.py add super

* Remove FOLDER sensors

* Remove VOLUME_NAME

* fix cli

* fix cli

* Add config flow tests

* Update requirements_test_all.txt

* Update CODEOWNERS

* Update homeassistant/components/qnap/config_flow.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/config_flow.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/config_flow.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update __init__.py

Change unload to walrus
Remove async_setup

* Update const.py remove PLATFORMS

* Update __init__.py add Platform Enum

As per epenet

* Update __init__.py

* Update config_flow.py

* Update sensor.py

* Update __init__.py

ruff

* Update config_flow.py

Ruff

* Update sensor.py

* Update const.py remove attrs

* Update sensor.py add attrs

* Revert tuple for sensor extend

* Update sensor.py

* Update coordinator.py

* Update coordinator.py

* Update sensor.py

* Update coordinator.py

* Update homeassistant/components/qnap/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/const.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update coordinator.py

* Update __init__.py

* Update coordinator.py

* Update sensor.py

* Add device_info

* Update sensor.py

* Update sensor.py self._attr_unique_id

* Update sensor.py

* Update sensor.py

* Type Hints

* Move tuples

* Drive sensor name

* Remove caps

* Remove caps

* Add YAML import

* Update sensor.py fix ruff

* Revert tuples

* Update sensor.py as per review

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* assert uid is not None

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update .coveragerc

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/config_flow.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/config_flow.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/const.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/const.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update sensor.py

* Update config_flow.py add imports

* Update const.py

* Update sensor.py move confs to const

* Update config_flow.py add const

* Update test_config_flow.py remove const name

* Update test_config_flow.py remove standard result const

* Update test_config_flow.py

* Combine tests

* Update test_config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update sensor.py change UID as requested

* Update sensor.py added check for monitor_device

* fix tests

* Remove rounding

* Revert "Remove rounding"

This reverts commit 61bf653c06.

---------

Co-authored-by: starkillerOG <starkiller.og@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-06-27 17:42:27 +02:00
Franck Nijhof 43fe30f6ee
Use identify device class in ZHA identify button entity (#95373) 2023-06-27 17:42:13 +02:00
Joost Lekkerkerker e7cc839a96
Add entity translations to Fully Kiosk (#95368) 2023-06-27 17:41:41 +02:00
J. Nick Koston df65fa3899
Bump pyatv to 0.13.2 (#95388) 2023-06-27 17:38:15 +02:00
Marcel van der Veldt 30fcfaf1ec
Some small fixes for the Matter light platform (#95343) 2023-06-27 17:33:10 +02: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
Joost Lekkerkerker e19b29d6ae
Add entity translations to Flux led (#95355) 2023-06-27 16:58:57 +02:00
Diogo Gomes 96bf8ef8d6
Add Risk of Fire sensor to IPMA (#80295) 2023-06-27 16:00:10 +02:00
Erik Montnemery f3fc741a71
Bump hass-nabucassa to 0.69.0 (#95367) 2023-06-27 15:29:30 +02:00
Erik Montnemery 190d67b56c
Improve content type handling in ImageEntity (#95365) 2023-06-27 15:28:49 +02:00
Franck Nijhof 116dd67472
Use identify device class in LIFX identify button entity (#95372) 2023-06-27 14:52:44 +02:00
J. Nick Koston 878d41a472
Remove senseme integration (#94363) 2023-06-27 14:43:19 +02:00
Joost Lekkerkerker 50e36fbdda
Add entity translations to Flick electric (#95345) 2023-06-27 14:38:36 +02:00
Erik Montnemery 071d3a474f
Base entity ids on English for languages not using Latin script (#91357) 2023-06-27 14:37:50 +02:00
Dylan Owen fe28067481
Updated pyopnsense to support a 20 second timeout (#95314)
* Updated pyopnsense to support a timeout

* Self Review

* Removed the yaml configuration portion
2023-06-27 08:31:02 -04:00
Franck Nijhof 9ca0a095ab
Use identify device class in HomeWizard identify button entity (#95369) 2023-06-27 14:30:46 +02:00
Joost Lekkerkerker c1e8eb7c96
Use device class translations for Fritzbox (#95363) 2023-06-27 14:06:57 +02:00
Haim Gelfenbeyn 0c66ccebd1
Verify that the MAC address that Fully Kiosk reported is usable (#94887) 2023-06-27 13:34:07 +02:00
Erik Montnemery 723f6d35b0
Address late review comments on image entity URL support (#95338) 2023-06-27 13:22:59 +02:00
Joost Lekkerkerker 968bc25259
Add entity translations to Flipr (#95344) 2023-06-27 13:20:30 +02:00
Joost Lekkerkerker f61332c9b4
Clean up forecast_solar const file (#95356) 2023-06-27 13:19:10 +02:00
Joost Lekkerkerker d8e73b6a6b
Move FiveM entity class to separate file (#95348) 2023-06-27 13:17:51 +02:00
Martin Hjelmare 4d2fa5bdbc
Onboard Google Translate (#95352) 2023-06-27 13:12:25 +02:00
Joost Lekkerkerker 2c9213baa1
Bump python-opensky to 0.0.10 (#94335) 2023-06-27 13:10:09 +02:00
Jan Bouwhuis 4d05a3ae79
Add url support for mqtt image platform (#95249)
* Add url support for mqtt image platform

* Refactor url fetch code to use base platform

* Update after rebase

---------

Co-authored-by: Erik <erik@montnemery.com>
2023-06-27 12:49:31 +02:00
Joost Lekkerkerker a80862f3db
Add entity translations to Fjaraskupan (#95341) 2023-06-27 12:38:32 +02:00
Franck Nijhof c225c46853
Clean up device class based entity translations in Community.Sensors (#95011) 2023-06-27 12:31:57 +02:00
Erik Montnemery 3c015f85f4
Revert "Change the device class name `volatile organic compounds parts` to `VOCs ratio`" (#95332) 2023-06-27 12:28:31 +02:00
Joakim Sørensen 4d4e7522f4
Adjust the analytics collector to only report configured integrations (#95246) 2023-06-27 12:08:51 +02:00
Erik Montnemery 90c1263501
Adjust image entity URL support (#95330) 2023-06-27 11:59:24 +02:00
Patrick ZAJDA 58f8f9c82a
Add state attribute translations to Switchbot (#90861) 2023-06-27 11:52:20 +02:00
Jan Bouwhuis 22f29e8c84
Add validation of content_type to image entity (#95248) 2023-06-27 11:46:31 +02:00
Joost Lekkerkerker af7b25d748
Move FiveM coordinator to separate file (#95339)
Move coordinator to separate file
2023-06-27 12:40:38 +03:00
G Johansson 30d22fe49b
Add new attributes into Template Weather (#95100) 2023-06-27 11:19:51 +02:00
Joost Lekkerkerker ba244b7af7
Add entity translations to Efergy (#95291)
* Add entity translations to Efergy

* Add entity translations to Efergy
2023-06-27 10:22:08 +02:00
Robert Hillis 10f116a507
Add entity translations to Google Mail (#95312) 2023-06-27 10:19:47 +02:00
Robert Hillis 16bcbe3d22
Add entity translations to Lidarr (#95313) 2023-06-27 10:19:20 +02:00
Joost Lekkerkerker 4ab8411145
Make Dexcom use shorthand attributes (#95231) 2023-06-27 10:17:09 +02:00
Robert Hillis 7add36d847
Add entity translations to Litterrobot (#95316) 2023-06-27 10:12:02 +02:00
Erik Montnemery c2f7e5840b
Use entity registry id in climate device actions (#95268)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-27 09:28:54 +02:00
Robert Hillis 8d1cd39044
Add entity translations to Radarr (#95317) 2023-06-27 08:45:27 +02:00
Joost Lekkerkerker 73bc5a4e8f
Add entity translations to Aurora ABB PowerOne (#95132) 2023-06-27 08:42:09 +02:00
Jan Bouwhuis 98cc45ec10
Add image url support (#95301)
* Add image url support

* Use hass as parameter

* Add verify ssl parameter and improve exception handling

* Improve error handling, ignore empty URL's

* Update existing image platforms

---------

Co-authored-by: Erik <erik@montnemery.com>
2023-06-27 08:36:12 +02:00
dougiteixeira 363dab7ce4
Change the device class name `volatile organic compounds parts` to `VOCs ratio` (#95126) 2023-06-27 08:33:11 +02:00
Joost Lekkerkerker 2c3a50fdb1
Add entity translations to Awair (#95308) 2023-06-27 08:27:33 +02:00
Paulus Schoutsen 5f14cdf69d
Allow stopping a script with a response value (#95284) 2023-06-27 08:24:22 +02:00
Erik Montnemery 51aa2ba835
Use entity registry id in water_heater device actions (#95276) 2023-06-27 08:21:15 +02:00
Erik Montnemery 9dc586bd98
Use entity registry id in number device actions (#95273) 2023-06-27 08:20:45 +02:00
Erik Montnemery c2457b8574
Use entity registry id in cover device actions (#95269) 2023-06-27 08:20:05 +02:00
J. Nick Koston 0af71851a4
Fix ESPHome button not getting device updates (#95311) 2023-06-26 22:34:37 -05:00
Paulus Schoutsen d6cd5648b9
Change conversation default agent behavior (#95225)
* Change conversation default agent behavior

* Fix tests
2023-06-26 22:10:17 -04:00
J. Nick Koston c4288e7b1f
Use cached_property in entity.py instead of manual cache (#95307) 2023-06-26 19:18:46 -05:00
Erik Montnemery 398dbed72e
Improve type annotations of cached_property backport (#95309) 2023-06-26 18:36:01 -05:00
Joost Lekkerkerker dbe4252d34
Add entity translation to Aussie broadband (#95134) 2023-06-26 23:39:02 +02:00
Joost Lekkerkerker 185936deda
Use DeviceInfo type for Aurora ABB PowerOne (#95133) 2023-06-26 23:36:06 +02:00
Michael Hansen b70a67404b
Check end stage as well when preparing pipeline (#95303) 2023-06-26 16:36:02 -05:00
Joost Lekkerkerker 9734f45202
Add entity translations to Eufylife BLE (#95296) 2023-06-26 23:32:37 +02:00
Erik Montnemery a568885ad2
Add backport of cached_property from CPython 3.12 (#95292) 2023-06-26 16:23:07 -05:00
Joost Lekkerkerker b02cb56988
Clean up Awair const (#95135) 2023-06-26 23:22:43 +02:00
Erik Montnemery 3635508a08
Use entity registry id in vacuum device actions (#95275) 2023-06-26 23:21:15 +02:00
Joost Lekkerkerker a44f3e62e3
Add entity translations to Energyzero (#95293) 2023-06-26 23:20:34 +02:00
Joost Lekkerkerker cb9cbdfb28
Add entity translations to ecobee (#95281) 2023-06-26 23:12:48 +02:00
Erik Montnemery 320003bf15
Use entity registry id in lock device actions (#95272) 2023-06-26 23:09:26 +02:00
Erik Montnemery b12c5a5ba2
Use entity registry id in humidifier device actions (#95270) 2023-06-26 23:08:30 +02:00
Joost Lekkerkerker ad9bf431a8
Add entity translations to filesize (#95299) 2023-06-26 23:06:27 +02:00
J. Nick Koston 7737271a30
Migrate esphome alarm_control_panel platform to use _on_static_info_update (#94961) 2023-06-26 22:58:17 +02:00
Michael Hansen 0f08e6699c
Add VAD sensitivity to ESPHome (#95283)
* Change to "finished speaking detection"

* Add select entity to ESPHome for finished speaking detection

* Fix entity name

* Use vad select in stt stream

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-26 16:47:32 -04:00
Robert Hillis c6775920f5
Tweak Dremel 3D Printer sensors (#94552) 2023-06-26 22:39:10 +02:00
Erik Montnemery 4efe217d9b
Use entity registry id in select device actions (#95274) 2023-06-26 22:29:14 +02:00
Joost Lekkerkerker ec120608c2
Add entity translations to edl21 (#95289) 2023-06-26 22:28:12 +02:00
Erik Montnemery 433d640071
Use entity registry id in light device actions (#95271) 2023-06-26 22:27:19 +02:00
Paulus Schoutsen bc8be9caea
Rename HomeKit Controller to HomeKit Device (#95286) 2023-06-26 22:26:16 +02:00
Joost Lekkerkerker 2872b6cf61
Add entity translations to Environment Canada (#95295) 2023-06-26 22:23:43 +02:00
Erik Montnemery 9b1b0937eb
Use entity registry id in button device actions (#95267) 2023-06-26 22:22:15 +02:00
J. Nick Koston fde82ee323
Keep esphome update entity available when disconnected is expected (#95278) 2023-06-26 22:20:56 +02:00
starkillerOG 0bec93fa37
Reolink ONVIF long polling (#94770) 2023-06-26 21:54:40 +02:00
Petro31 f9707cc87b
Add optional limits to compensation sensors (#85886)
Co-authored-by: Tom Harris <tomharris@harrisnj.net>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-26 14:36:59 -05:00
Erik Montnemery b71e0302d6
Use entity registry id in sensor device conditions (#95260) 2023-06-26 21:20:40 +02:00
Erik Montnemery 2930845b23
Use entity registry id in vacuum device conditions (#95261) 2023-06-26 20:31:06 +02:00
Erik Montnemery eb7ad2eb09
Use entity registry id in select device conditions (#95259) 2023-06-26 20:30:29 +02:00
Erik Montnemery 4021662b48
Use entity registry id in media_player device conditions (#95258) 2023-06-26 20:30:22 +02:00
Erik Montnemery 2cfa889750
Use entity registry id in lock device conditions (#95257) 2023-06-26 20:30:05 +02:00
Erik Montnemery c4589ad4e5
Use entity registry id in fan device conditions (#95255) 2023-06-26 20:29:52 +02:00
Erik Montnemery 16ec9b1e9f
Use entity registry id in device_tracker device conditions (#95254) 2023-06-26 20:29:39 +02:00
Erik Montnemery a691846b5d
Use entity registry id in climate device conditions (#95252) 2023-06-26 20:29:28 +02:00
Franck Nijhof c1a37185b4
Mark Plugwise Illuminance sensor as diagnostic (#95240) 2023-06-26 19:40:30 +02:00
Richard Kroegel 410b15df92
Improve exception handling for BMW remote services (#92199)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-06-26 19:05:50 +02:00
Marc Mueller f5975d4039
Update build system (#95237) 2023-06-26 19:03:56 +02:00
Joost Lekkerkerker 1525901ffc
Add entity translations to dormakaba (#95230) 2023-06-26 19:02:52 +02:00
Álvaro Fernández Rojas 3f0393154e
Remove unused ConfigEntry from Airzone Cloud entities (#95103) 2023-06-26 18:58:51 +02:00
Joost Lekkerkerker 844a1ebbc6
Add entity translations to BMW Connected Drive (#95142) 2023-06-26 18:57:56 +02:00
Paulus Schoutsen d95c241a1a
Add service response values to service descriptions (#95262) 2023-06-26 12:57:43 -04:00
Martin Hjelmare fa03324bbd
Remove stale dep from google translate (#95247) 2023-06-26 18:49:01 +02:00
Joost Lekkerkerker 36ded01264
Add entity translations to Blink (#95138) 2023-06-26 18:29:33 +02:00
Erik Montnemery 07936884a3
Use entity registry id in alarm_control_panel device conditions (#95250) 2023-06-26 18:26:21 +02:00
Joost Lekkerkerker a64940cf42
Use shorthand attribute for EAFM (#95233) 2023-06-26 18:25:39 +02:00
Joost Lekkerkerker 9e3706e3b9
Move Aurora entity to separate file (#95245) 2023-06-26 18:24:14 +02:00
Joost Lekkerkerker 91e6e918c3
Code tidyness for Dexcom (#95232) 2023-06-26 18:22:44 +02:00
Erik Montnemery f0493b22d4
Use entity registry id in binary_sensor device conditions (#95251) 2023-06-26 18:17:27 +02:00
Erik Montnemery 02ad93db53
Use entity registry id in cover device conditions (#95253) 2023-06-26 18:14:23 +02:00
Erik Montnemery e77a06412a
Use entity registry id in humidifier device conditions (#95256) 2023-06-26 18:13:48 +02:00
Mick Vleeshouwer de1b5626e1
Set explicit None for entity name in Overkiz when using device name (#95238) 2023-06-26 18:11:57 +02:00
dougiteixeira 39229ce098
Add the device of the source entity in the helper entities for Utility Meter (#94734)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-06-26 18:08:13 +02:00
dougiteixeira 403496eb92
Add the device of the source entity in the helper entities for Derivative (#94751)
* Adds the device of the original entity in the helper entities for Derivative

* Update

* Update
2023-06-26 18:06:25 +02:00
dougiteixeira 26016b29f7
Add the device of the source entity in the helper entities for Threshold (#94753) 2023-06-26 18:05:11 +02:00
G Johansson 537cc9ed86
Use new attributes in Met (#95099) 2023-06-26 18:04:10 +02:00
Erik Montnemery 89c9e72768
Use entity registry id in alarm_control_panel device actions (#95241) 2023-06-26 16:59:43 +02:00
Erik Montnemery 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 Montnemery 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 Mahajan f08f0fbb8b
Fix control4 light switches on OS 3.3+ (#95196) 2023-06-26 15:49:44 +02:00
Franck Nijhof 5bd5ca8433
Add identify device class to button (#95244) 2023-06-26 15:46:37 +02:00
Jan Bouwhuis 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 Lekkerkerker 7dae17a404
Add entity translations to Dremel 3D printer (#95234) 2023-06-26 14:37:04 +02:00