Commit Graph

16898 Commits (c99adf54b42fdf6baadab476e2f7a85288ce9372)

Author SHA1 Message Date
Erik Montnemery 08a5f63474
Add deprecated_yaml issue to the homeassistant integration (#95980)
* Add deprecated_yaml issue to the homeassistant integration

* Update test

* Update homeassistant/components/homeassistant/strings.json

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

* Include DOMAIN in issue_id

* Update test

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-10 13:06:52 +02:00
Erik Montnemery 96c71b214f
Check supported features in calls to vacuum services (#95833)
* Check supported features in vacuum services

* Update tests

* Add comment
2023-07-10 13:05:47 +02:00
J. Nick Koston 7dc03ef301
Use the ESPHome object_id to suggest the entity id (#95852) 2023-07-10 13:02:34 +02:00
Erik Montnemery 87f284c7e9
Add MEDIA_ANNOUNCE to MediaPlayerEntityFeature (#95906) 2023-07-10 12:58:53 +02:00
Allen Porter c4a39bbfb1
Remove Legacy Works With Nest (#96111)
* Remove Legacy Works With Nest

* Simplify nest configuration

* Cleanup legacy nest config entries
2023-07-09 19:38:05 -07:00
Allen Porter 32b3fa1734
Enable retries on rainbird devices by loading model and version (#96190)
Update rainbird to load device model and version
2023-07-09 16:49:44 -07:00
J. Nick Koston 995fb993e6
Avoid probing ESPHome devices when we do not have the encryption key (#95820) 2023-07-09 12:57:04 -10:00
Chris Talkington 7390e3a997
Refactor IPP tests (#94097)
refactor ipp tests
2023-07-09 17:37:32 -05:00
G Johansson 0546e7601c
Enhance diagnostics for Sensibo (#96150)
* Diag Sensibo

* Fix snapshot
2023-07-09 22:50:12 +02:00
J. Nick Koston bc28d7f33e
Add slots to bluetooth manager (#95881) 2023-07-09 10:06:26 -10:00
Matthias Alphart 89259865fb
Restore KNX telegram history (#95800)
* Restore KNX telegram history

* increase default log size

* test removal of telegram history
2023-07-09 21:15:55 +02:00
Joost Lekkerkerker 8bbb395bec
Add entity translations to Speedtest.net (#96168)
* Add entity translations to Speedtest.net

* Fix tests
2023-07-09 20:20:39 +02:00
Luke ab3b0c9075
Add error sensor to Roborock (#96209)
add error sensor
2023-07-09 20:17:19 +02:00
Joost Lekkerkerker 9ef4b2e5f5
Migrate ring to entity name (#96080)
Migrate ring to has entity name
2023-07-09 13:55:10 -04:00
Franck Nijhof 18dddd6342
Update Ruff to v0.0.277 (#96108) 2023-07-09 10:10:23 -04:00
Matthias Alphart 479015244d
KNX Cover: Use absolute tilt position if available (#96192) 2023-07-09 12:00:51 +02:00
J. Nick Koston 6758292655
Add bthome logbook platform (#96171) 2023-07-08 21:42:48 -10:00
G Johansson 2ebc265184
Bump pysensibo to 1.0.31 (#96154) 2023-07-08 09:23:11 -10:00
dougiteixeira 4b1d096e6b
Add `device_class` and `state_class` in config flow for SQL (#95020)
* Add device_class and state_class in config flow for SQL

* Update when selected NONE_SENTINEL

* Add tests

* Use SensorDeviceClass and SensorStateClass in tests

* Add volatile_organic_compounds_parts in strings selector

* Add test_attributes_from_entry_config

* Remove test_attributes_from_entry_config and complement test_device_state_class

* Add test_attributes_from_entry_config in test_sensor.py
2023-07-08 21:00:22 +02:00
Joost Lekkerkerker 2c9910d9b6
Use default MyStrom devicetype if not present (#96070)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-07-08 17:10:51 +02:00
Joost Lekkerkerker 598610e313
Add entity translations to Sensibo (#96091) 2023-07-08 16:50:46 +02:00
J. Nick Koston e39f023e3f
Refactor ESPHome camera to avoid creating tasks (#95818) 2023-07-08 12:36:40 +02:00
Erik Montnemery 3d064b7d6b
Add filters to cover/services.yaml (#95854) 2023-07-08 11:51:02 +02:00
Álvaro Fernández Rojas 1eb2ddf010
Update aioairzone-cloud to v0.2.1 (#96063) 2023-07-08 11:41:39 +02:00
Erik Montnemery 6dae3553f2
Add MEDIA_ENQUEUE to MediaPlayerEntityFeature (#95905) 2023-07-08 10:55:25 +02:00
J. Nick Koston 2b4f6ffcd6
Speed up hassio ingress (#95777) 2023-07-08 10:50:39 +02:00
Scott Giminiani f4ad261f51
Use global CONF_API_TOKEN constant rather than defining our own (#96120) 2023-07-08 10:46:34 +02:00
J. Nick Koston e38f55fdb6
Move ESPHomeManager into its own file (#95870)
* Move ESPHomeManager into its own file

This is not a functional change. This is only a reorganization
ahead of some more test coverage being added so moving tests
around can be avoided later.

* relos

* fixes

* merge a portion of new cover since its small and allows us to remove the __init__ from .coveragerc
2023-07-08 09:19:44 +02:00
Robert Hillis 8bfac2c46c
Correct Goalzero sensor state class (#96122) 2023-07-08 08:52:15 +02:00
Jan Bouwhuis 18ee9f4725
Refactor async_get_hass to rely on threading.local instead of a ContextVar (#96005)
* Test for async_get_hass

* Add Fix
2023-07-07 14:52:38 -04:00
Joost Lekkerkerker ddd0d3faa2
Get MyStrom device state before checking support (#96004)
* Get device state before checking support

* Add full default device response to test

* Add test mocks

* Add test coverage
2023-07-07 11:24:41 -04:00
Jan Stienstra 1aecbb9bd5
Add full test coverage to Jellyfin (#86974)
* Add full test coverage

* Remove unreachable exception

* Remove comment line. Conflicting with codecov

* Use auto fixture and syrupy
2023-07-07 08:42:02 -04:00
Erik Montnemery 86a397720f
Move platform_integration_no_support issue to the homeassistant integration (#95927)
* Move platform_integration_no_support issue to the homeassistant integration

* Update test

* Improve repair text

* Update test
2023-07-07 13:31:54 +02:00
Joost Lekkerkerker 84979f8e92
Use device class naming in Renault (#96038) 2023-07-07 10:34:11 +02:00
Scott Giminiani 66a1e5c2c1
Remove copy/pasted references to GMail in YouTube integration tests (#96048)
These were likely used as an example when writing the tests for this
component and we missed renaming them.

A few unused vars with references to GMail were also removed.
2023-07-07 06:43:46 +02:00
Mike Woudenberg ba1266a893
Add sensors to LOQED integration for battery percentage and BLE stength (#95726)
* Add sensors for battery percentage and BLE stength

* Use translatable name for BLE strength, no longer pass enity to sensor
2023-07-06 23:09:34 -04:00
Joost Lekkerkerker d2bcb5fa87
Add entity translations to Rainbird (#96030)
* Add entity translations to Rainbird

* Add entity translations to Rainbird
2023-07-06 16:03:01 -07:00
lymanepp 6c4b5291e1
Add humidity to NWS forecast (#95575)
* Add humidity to NWS forecast to address https://github.com/home-assistant/core/issues/95572

* Use pynws 1.5.0 enhancements for probabilityOfPrecipitation, dewpoint, and relativeHumidity.

* Update requirements to match pynws version

* test for clear night

* update docstring

---------

Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com>
2023-07-06 23:05:46 +02:00
Joost Lekkerkerker 99430ceb34
Add entity translations for PureEnergie (#95935)
* Add entity translations for PureEnergie

* Fix tests
2023-07-06 22:51:05 +02:00
Guillaume Duveau 23d5fb9622
Add more device info for SmartThings devices (#95723)
* Add more device info for SmartThings devices

* Fix binary_sensor test

* Fix binary sensor test, try 2

* Fix and add SmartsThings new device info tests
2023-07-06 14:26:46 -04:00
puddly ecc0917e8f
Migrate bracketed IP addresses in ZHA config entry (#95917)
* Automatically correct IP addresses surrounded by brackets

* Simplify regex

* Move pattern inline

* Maintain old behavior of stripping whitespace
2023-07-06 11:47:51 -04:00
J. Nick Koston b7b8afffd0
Handle integrations with empty services or failing to load during service description enumeration (#95911)
* wip

* tweaks

* tweaks

* add coverage

* complain loudly as we never execpt this to happen

* ensure not None

* comment it
2023-07-06 11:19:06 -04:00
Jan Bouwhuis b9c7e7c15e
Fix not including device_name in friendly name if it is None (#95485)
* Omit device_name in friendly name if it is None

* Fix test
2023-07-06 11:14:09 -04:00
Bram Kragten 5d9533fb90
Make script services always respond when asked (#95991)
* Make script services always respond when asked

* Update test_init.py
2023-07-06 10:48:03 -04:00
Bram Kragten 342d07cb92
Set correct `response` value in service description when `async_set_service_schema` is used (#95985)
* Mark scripts as response optional, make it always return a response if return_response is set

* Update test_init.py

* Revert "Update test_init.py"

This reverts commit 8e113e54db.

* Split + add test
2023-07-06 10:24:34 -04:00
Adrián Moreno 0e428f8d39
Deprecate Dry and Fan preset modes in favor of HVAC modes (#95634)
* zwave_js: deprecate Dry and Fan preset modes

Migrating Dry and Fan presets to HVAC modes

* Move consts. Set Dry and Fan as HVAC-first modes.

* Update homeassistant/components/zwave_js/climate.py

Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>

* Fix tests

* Keep track of HA release when deprecation was introduced

---------

Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2023-07-05 15:12:21 -04:00
J. Nick Koston dc5ee71d7a
Add slots to core EventBus (#95856) 2023-07-05 11:47:24 -05:00
Jan Bouwhuis d9721702af
Address late review of freebox tests (#95910)
Use lower case for local variables
2023-07-05 16:59:10 +02:00
Erik Montnemery c7f6d84058
Warn when changing multipan channel if there are not 2 known users (#95898)
* Warn when changing multipan channel if there are not 2 known users

* Add test

* Improve messages

* Tweak translation string

* Adjust message

* Remove unused translation placeholders
2023-07-05 16:51:28 +02:00
J. Nick Koston ea57f78392
Add slots to the service registry (#95857) 2023-07-05 15:59:36 +02:00
Florent Thiery bd7057f7b1
Add raid array degraded state binary sensor to freebox sensors (#95242)
Add raid array degraded state binary sensor
2023-07-05 15:09:12 +02:00
J. Nick Koston 505f8fa363
Fix ESPHome camera not accepting the same exact image bytes (#95822) 2023-07-05 07:17:28 -05:00
Aaron Collins f028d1a1ca
Bump pydaikin 2.10.5 (#95656) 2023-07-05 07:12:18 -05:00
J. Nick Koston b2e708834f
Add slots to the StateMachine class (#95849) 2023-07-05 14:00:37 +02:00
Erik Montnemery 39dcb5a2b5
Adjust services and properties supported by roborock vacuum (#95789)
* Update supported features

* Raise issue when vacuum.start_pause is called
2023-07-05 12:53:07 +02:00
J. Nick Koston 659281aab6
Fix ESPHome alarm_control_panel when state is missing (#95871) 2023-07-05 08:35:40 +02:00
Allen Porter 26f2fabd85
Fix timezones used in list events (#95804)
* Fix timezones used in list events

* Add additional tests that catch floating vs timezone datetime comparisons
2023-07-05 08:25:03 +02:00
Álvaro Fernández Rojas 60e2ee86b2
Add Airzone Cloud Zone running binary sensor (#95606) 2023-07-04 14:29:14 -05:00
Martin Hjelmare 02192ddf82
Set Matter battery sensors as diagnostic (#95794)
* Set matter battery sensor to diagnostic

* Update tests

* Use new eve contact sensor dump across the board

* Assert entity category

* Complete typing
2023-07-04 14:54:37 +02:00
Erik Montnemery 2ca648584d
Update mqtt vacuum supported features (#95830)
* Update mqtt vacuum supported features

* Update test
2023-07-04 14:18:42 +02:00
Erik Montnemery 8f2a21d270
Update sharkiq vacuum supported features (#95829) 2023-07-04 11:51:42 +02:00
Erik Montnemery 10e9b9f813
Fix ring siren test (#95825) 2023-07-04 09:16:40 +02:00
Joost Lekkerkerker 234ebdcb84
Add entity translations for P1 Monitor (#95811) 2023-07-04 08:39:24 +02:00
Allen Porter 2f73be0e50
Ensure that calendar output values are json types (#95797) 2023-07-03 12:05:02 -07:00
Erik Montnemery 78880f0c9d
Fix execute device actions with WS execute_script (#95783) 2023-07-03 14:21:01 -04:00
Erik Montnemery 5f9da06e49
Fix flaky websocket_api test (#95786) 2023-07-03 11:53:21 -05:00
tronikos 4e7d8b579a
Address Opower review comments (#95763)
* Address comments

* Apply suggestions from code review

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

* Update sensor.py

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-03 14:53:44 +02:00
hidaris 3bd8955e0e
Add Matter Climate support (#95434)
* Add Matter Climate support

* update set target temp and update callback

* remove print

* remove optional property

* Adjust the code to improve readability.

* add thermostat test

* Remove irrelevant cases in setting the target temperature.

* add temp range support

* update hvac action

* support adjust low high setpoint..

* support set hvac mode

* address some review feedback

* move some methods around

* dont discover climate in switch platform

* set some default values

* fix some of the tests

* fix some typos

* Update thermostat.json

* Update homeassistant/components/matter/climate.py

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

* Update homeassistant/components/matter/climate.py

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

* support heat_cool in hvac_modes

* address some review feedback

* handle hvac mode param in set temp service

* check hvac modes by featuremap

* add comment to thermostat feature class

* make ruff happy..

* use enum to enhance readability.

* use builtin feature bitmap

* fix target temp range and address some feedback

* use instance attribute instead of class attr

* make ruff happy...

* address feedback about single case

* add init docstring

* more test

* fix typo in tests

* make ruff happy

* fix hvac modes test

* test case for update callback

* remove optional check

* more tests

* more tests

* update all attributes in the update callback

* Update climate.py

* fix missing test

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-03 12:33:50 +02:00
J. Nick Koston 7bdd64a3f7
Handle invalid utf-8 from the ESPHome dashboard (#95743)
If the yaml file has invalid utf-8, the config flow would raise an
unhandled exception. Allow the encryption key to be entered manually
in this case instead of a hard failure

fixes #92772
2023-07-02 22:47:25 -04:00
dougiteixeira 75bdb03363
Fix source device when source entity is changed for Utility Meter (#95636)
* Fix source device when source entity is changed

* Update loop

* Complement and add comments in the test_change_device_source test

* Only clean up dev reg when options change

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-07-02 22:46:21 -04:00
Allen Porter 7d6595f755
Delete the local calendar store when removing the config entry (#95599)
* Delete calendar store when removing the config entry

* Unlink file on remove with tests
2023-07-02 22:42:39 -04:00
J. Nick Koston b24c6adc75
Avoid regex for negative zero check in sensor (#95691)
* Avoid regex for negative zero check in sensor

We can avoid calling the regex for every sensor value
since most of the time values are not negative zero

* tweak

* tweak

* Apply suggestions from code review

* simpler

* cover

* safer and still fast

* safer and still fast

* prep for py3.11

* fix check

* add missing cover

* more coverage

* coverage

* coverage
2023-07-02 21:53:50 -04:00
Mike Woudenberg ab50069918
Quality improvement on LOQED integration (#95725)
Remove generated translation
Raise error correctly
Remove obsolete consts
Remove callback, hass assignment and info log
Use name from LOQED API instead of default name
Correct entity name for assertion
2023-07-02 21:52:52 -04:00
tronikos caaeb28cbb
Add Opower integration for getting electricity/gas usage and cost for many utilities (#90489)
* Create Opower integration

* fix tests

* Update config_flow.py

* Update coordinator.py

* Update sensor.py

* Update sensor.py

* Update coordinator.py

* Bump opower==0.0.4

* Ignore errors for "recent" PGE accounts

* Add type for forecasts

* Bump opower to 0.0.5

* Bump opower to 0.0.6

* Bump opower to 0.0.7

* Update requirements_all.txt

* Update requirements_test_all.txt

* Update coordinator

Fix exception caused by https://github.com/home-assistant/core/pull/92095
{} is dict but the function expects a set so change it to set()

* Improve exceptions handling

* Bump opower==0.0.9

* Bump opower to 0.0.10

* Bump opower to 0.0.11

* fix issue when integration hasn't run for 30 days

use last stat time instead of now when fetching recent usage/cost

* Allow username to be changed in reauth

* Don't allow changing  username in reauth flow
2023-07-02 21:26:31 -04:00
Joost Lekkerkerker 2807b6cabc
Add entity translations to kaleidescape (#95625) 2023-07-02 19:35:05 +02:00
Denis Shulyaka 7026ea643e
Add action attribute to generic hygrostat (#95675)
* add action attribute to generic hygrostat

* Simplified initialization
2023-07-02 17:51:11 +02:00
Jan Bouwhuis b314e2b1a1
Fix songpal test_setup_failed test (#95712) 2023-07-02 16:32:43 +02:00
J. Nick Koston f0cb03e631
Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678)
* Handle incorrect or missing device name for ESPHome noise encryption

If we did not have the device name during setup we could never
get the key from the dashboard. The device will send us
its name if we try encryption which allows us to find the
right key from the dashboard.

This should help get users unstuck when they change the key
and cannot get the device back online after deleting and
trying to set it up again manually

* bump lib to get name

* tweak

* reduce number of connections

* less connections when we know we will fail

* coverage shows it works but it does not

* add more coverage

* fix test

* bump again
2023-07-02 10:29:45 -04:00
Paulus Schoutsen e4f617e92e
Update log message when referenced entity not found (#95577)
* Update log message when referenced entity not found

* Update homeassistant/helpers/service.py

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

* Update test

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-02 00:04:03 +02:00
ollo69 8108a0f947
Add Bridge module to AsusWRT (#84152)
* Add Bridge module to AsusWRT

* Requested changes

* Requested changes

* Requested changes

* Add check on router attributes value
2023-07-01 13:55:28 +02:00
Matthias Alphart c81b6255c2
Use `async_on_remove` for KNX entities removal (#95658)
* Use `async_on_remove` for KNX entities removal

* review
2023-07-01 07:16:45 -04:00
dougiteixeira c6210b68bd
Fix device source for Riemann sum integral (#95622)
Fix Device Source
2023-06-30 14:49:00 -04:00
dougiteixeira c472ead4fd
Fix device source for Threshold (#95623)
Fix Device Source
2023-06-30 14:48:36 -04:00
dougiteixeira 11146ff40b
Fix device source for Derivative (#95621)
Fix Device Source
2023-06-30 14:29:44 -04:00
Michael Hansen 6b8ae0ec86
Ensure trigger sentences do not contain punctuation (#95633)
* Ensure trigger sentences do not contain punctuation

* Update homeassistant/components/conversation/trigger.py

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

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-30 13:06:26 -05:00
Paulus Schoutsen 9280dc69ae
Default device name to config entry title (#95547)
* Default device name to config entry title

* Only apply name default if device info provided

* Fix logic detecting type of device info
2023-06-30 13:54:20 -04:00
Brett Adams d4e40ed73f
Fix Diagnostics in Advantage Air (#95608)
* Fix diag paths

* Fix key sand add redactions

* Name things better.

* Add super basic test

* Rename docstring

* Add snapshot

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-30 13:52:52 -04:00
Aaron Bach 39e0662fc8
Add ability to configure map icons for PurpleAir (#86124) 2023-06-30 08:35:19 -06:00
Joost Lekkerkerker 4ac92d755e
Add config flow for zodiac (#95447)
* Add config flow for zodiac

* Add config flow for zodiac

* Fix feedback
2023-06-30 12:58:07 +02:00
tronikos 17ceacd083
Google Assistant SDK: Always enable conversation agent and support multiple languages (#93201)
* Enable agent and support multiple languages

* fix test
2023-06-29 23:00:17 -04:00
dougiteixeira f2f0c38fae
Fix device source for Utility Meter (#95585)
* Fix Device Source

* Remove debug
2023-06-29 21:52:48 -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
Luke 3474f46b09
Bump Roborock to 0.29.2 (#95549)
* init work

* fix tests
2023-06-29 13:13:37 -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
Marcel van der Veldt e9d8fff0dd
Bump Matter Server to 3.6.3 (#95519) 2023-06-29 15:28:34 +02:00
Franck Nijhof a3ffa0aed7
Revert "Remove Brottsplatskartan YAML configuration (#94101)" (#95521) 2023-06-29 12:03:42 +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
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
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
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
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
Eric Severance 03dac6e171
Remove polling_interval_seconds option from wemo (#95468) 2023-06-28 20:27:10 +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
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
Matthias Alphart 489781c1e6
Add time platform to KNX (#95302) 2023-06-28 15:19:32 +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
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
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 8b6ed9c6b9
Fix test with time issue for xiaomi_miio button (#95438) 2023-06-28 13:19:24 +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
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
cpolhout cfb133d431
Add new integration Loqed (#70080) 2023-06-28 09:42:12 +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
Michael 4daacf9c4b
Add Guest WiFi QR-Code image entity to AVM Fritz!Tools (#95282) 2023-06-27 23:48:28 +02: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
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
Á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
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
Erik Montnemery 179e1da164
Use entity registry id in text device actions (#95398) 2023-06-27 20:24:40 +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
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
Paulus Schoutsen 243abf32c0
Add test to stop action (#95376) 2023-06-27 19:38:30 +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
Erik Montnemery 68db751ce1
Refactor template image (#95353) 2023-06-27 18:46:36 +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
J. Nick Koston a8b2c1edfa
Add more coverage for ESPHome lights (#95384) 2023-06-27 18:27:09 +02: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