Commit Graph

16677 Commits (36b0fc17df229fc900030cb76b75142427a3057e)

Author SHA1 Message Date
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
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
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
Diogo Gomes 96bf8ef8d6
Add Risk of Fire sensor to IPMA (#80295) 2023-06-27 16:00:10 +02:00
Erik Montnemery 190d67b56c
Improve content type handling in ImageEntity (#95365) 2023-06-27 15:28:49 +02:00
J. Nick Koston 878d41a472
Remove senseme integration (#94363) 2023-06-27 14:43:19 +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
Erik Montnemery e9eb366f3b
Improve MQTT image tests (#95359) 2023-06-27 13:53:38 +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
Joost Lekkerkerker 968bc25259
Add entity translations to Flipr (#95344) 2023-06-27 13:20:30 +02:00
Martin Hjelmare 4d2fa5bdbc
Onboard Google Translate (#95352) 2023-06-27 13:12:25 +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
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
Jan Bouwhuis 22f29e8c84
Add validation of content_type to image entity (#95248) 2023-06-27 11:46:31 +02: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