Commit Graph
13075 Commits
Author SHA1 Message Date
Aaron BachandGitHub 0ccac69ce1 Remove airvisual_pro code from airvisual (#84254) 2022-12-19 12:32:33 -07:00
Aaron BachandGitHub 09ae02fd56 Migrate AirVisual Pro devices to the airvisual_pro domain (#83882)
* Migration AirVisual Pro devices to the `airvisual_pro` domain

* Fix tests

* Remove airvisual_pro dependency

* Add repairs item

* Only fire repairs issue if automations exist

* Fix tests
2022-12-19 10:48:36 -07:00
epenetandGitHub f4c13645d2 Add support for CCF volume unit (#84029) 2022-12-19 14:57:04 +01:00
J. Nick KostonandGitHub bb3feceb57 Fix connectable Bluetooth devices not going available after scanner recovers (#84172) 2022-12-19 13:37:29 +01:00
Martin HjelmareandGitHub 4461e0f262 Clean mysensors test type errors (#84178) 2022-12-19 12:45:17 +01:00
Michaël ArnautsandGitHub 627a208d9f Use a global const for CONF_UUID (#84093) 2022-12-19 12:16:30 +01:00
Paolo BonziniandGitHub 52594717ca Fix manual.alarm_control_panel RestoreEntity bugs (#82990)
* manual: add previous state for TRIGGERED as well

This will be useful to properly restore timers on restart.

* manual: correctly restore timers on startup
2022-12-19 11:19:24 +01:00
hahn-thandGitHub 5e5e89ea18 Add device HmIP-DRDI3 (#83337) 2022-12-18 12:44:49 -07:00
Aaron BachandGitHub d423cbf8eb Add ability to add/remove PurpleAir sensors in an existing config entry (#83440) 2022-12-18 11:30:05 -07:00
Aaron BachandGitHub 4c73826baf Add re-auth flow to AirVisual Pro (#84012)
* Add re-auth flow to AirVisual Pro

* Code review
2022-12-18 11:00:08 -07:00
Jelte ZeilstraandGitHub f99d26231f Add state_class to Tradfri battery and air quality sensors (#84185) 2022-12-18 16:52:08 +01:00
Rami MoslehandGitHub 10a6c56fec Move speedtestdotnet coordinator to separate file (#83979) 2022-12-18 10:57:17 +01:00
Martin HjelmareandGitHub f29024795b Clean up matter adapter (#84144) 2022-12-17 23:44:19 +01:00
tronikosandGitHub d6158c0fcc Google Assistant SDK: Support non en-US language code (#84028)
* Support non en-US language code

* Get default language_code based on HA config

* Revert bumping gassist-text
Will be done in a separate PR
2022-12-17 14:40:24 -08:00
d9903c4cf9 Bump brother and pysnmplib (#84107)
* Bump brother version

* Bump pysnmplib version

* Update sensor platform

* Update switch platform

* Update tests

* Bump brother

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-17 12:34:43 +01:00
J. Nick KostonandGitHub 9f10bd46ac Rename Bluetooth active_update_coordinator to active_update_processor (#84115) 2022-12-16 22:25:43 -10:00
epenetandGitHub 1af72e3671 Add device class to withings (#84103) 2022-12-16 20:04:07 +01:00
Duco SebelandGitHub b41d0be952 Improve HomeWizard request issue reporting (#82366)
* Trigger reauth flow when HomeWizard API was disabled

* Add tests for reauth flow

* Fix typo in test

* Add parallel updates constant

* Improve error message when device in unreachable during config

* Set quality scale

* Remove quality scale

* Throw error instead of abort when setup fails

* Adjust test for new setup behaviour

* Trigger reauth flow when API is disabled and continue retrying

* Reload entry and raise AuthFailed during init

* Abort running config flow

* Listen for coordinator updates to trigger reload

* Use build-in backoff system

* Fix failing test

* Test reauth flow is active after disable-api init

* Test reauth flow removal
2022-12-16 10:53:54 -05:00
epenetandGitHub f5a8ce4aca Split platform attributes in withings (#84099) 2022-12-16 15:35:03 +01:00
Franck NijhofandGitHub 80b3572627 Rename image integration to image_upload (#84063)
* Rename image integration to image_upload

* fix test
2022-12-16 08:16:38 -05:00
epenetandGitHub 14ee3f1ddc Move unused function in withings (#84089)
* Remove unused function in withings

* Move to tests

* Remove reference to attribute.platform

* Move WITHINGS_MEASUREMENTS_MAP to tests

* measute_type > measure_type

* One more
2022-12-16 10:50:20 +01:00
Ville SkyttäandGitHub f02b6f1119 Huawei LTE SSDP improvements (#81643)
* Recognize more SSDP friendly names as "ours"

* Trigger on SoyeaLink devices

* Pass discovered URL through context, it does not persist via user_input

* Use manufacturer from SSDP

* Actually use serial number if available, update URL for configured

* Remove heuristic friendly name filtering against non-LTE devices
2022-12-14 23:48:25 +01:00
Robert SvenssonandGitHub 360f36eb71 Unifi use entity description with sensors (#81930)
* Move bandwidth sensors

* Add uptime sensor

* Use bound

* Fix review comments from other PR
2022-12-14 20:54:33 +01:00
Aaron BachandGitHub 9f1c5d70bc Add re-auth flow to PurpleAir (#83445)
* Add re-auth flow to PurpleAir

* Code review

* Code review

* Code review
2022-12-14 12:29:07 -07:00
Erik MontnemeryandGitHub 774ebc760c Ignore certain device trigger validation errors (#83972) 2022-12-14 16:41:11 +01:00
Rami MoslehandGitHub c0a7934828 Move transmission to an updated library (#83932)
fixes undefined
2022-12-14 16:36:37 +01:00
98eabd2f68 Update intent response (#83962)
* Add language to conversation and intent response

* Move language to intent response instead of speech

* Extend intent response for voice MVP

* Add tests for error conditions in conversation/process

* Move intent response type data into "data" field

* Move intent response error message back to speech

* Remove "success" from intent response

* Add id to target in intent response

* target defaults to None

* Update homeassistant/helpers/intent.py

* Fix test

* Return conversation_id and multiple targets

* Clean up git mess

* Fix linting errors

* Fix more async_handle signatures

* Separate conversation_id and IntentResponse

* Add unknown error code

* Add ConversationResult

* Don't set domain on single entity

* Language is required for intent response

* Add partial_action_done

* Default language in almond agent

* Remove partial_action_done

* Fix linting

* Rename success/fail targets

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-12-13 23:32:30 -05:00
J. Nick KostonandGitHub b7c7e7f57b Try to reconnect disconnected shelly devices as soon as they discovered by zeroconf (#83872) 2022-12-13 14:22:34 -10:00
961c8cc167 Update intent response (#83858)
* Add language to conversation and intent response

* Move language to intent response instead of speech

* Extend intent response for voice MVP

* Add tests for error conditions in conversation/process

* Move intent response type data into "data" field

* Move intent response error message back to speech

* Remove "success" from intent response

* Add id to target in intent response

* target defaults to None

* Update homeassistant/helpers/intent.py

* Fix test

* Return conversation_id and multiple targets

* Clean up git mess

* Fix linting errors

* Fix more async_handle signatures

* Separate conversation_id and IntentResponse

* Add unknown error code

* Add ConversationResult

* Don't set domain on single entity

* Language is required for intent response

* Add partial_action_done

* Default language in almond agent

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-12-13 16:46:40 -06:00
J. Nick KostonandGitHub 0e2ebfe5c4 Move bluetooth watchdog into the scanner base class (#83888) 2022-12-13 11:57:40 -10:00
Aaron BachandGitHub fed308b59d Add diagnostics support to PurpleAir (#82446)
Add diagnostics to PurpleAir
2022-12-13 09:14:19 -07:00
epenetandGitHub 85235ea5f6 Use FREQUENCY device class in integrations (#83916)
* Use FREQUENCY device class in integrations

* Adjust tesla

* Undo goodwe

* Adjust cpuspeed tests
2022-12-13 14:14:42 +01:00
epenetandGitHub 69bc95a715 Use DATA_SIZE device class in integrations (#83895) 2022-12-13 10:17:56 +01:00
Yuxin WangandGitHub 677f0dc335 Remove deprecated apcupsd YAML config (#83801) 2022-12-13 08:52:05 +01:00
Artem DraftandGitHub e32074c74e Fix saving options with missing ignored sources in BraviaTV (#83891)
fix https://github.com/home-assistant/core/issues/83217
fixes undefined
2022-12-13 08:45:04 +01:00
Aaron BachandGitHub e64973c7cc Add PurpleAir integration (#82110) 2022-12-12 20:32:11 -07:00
J. Nick KostonandGitHub 692a732555 Fix HomeKit media players when entity has duplicate sources (#83890)
fixes #83852 fixes #83698
2022-12-12 21:29:06 -05:00
Aaron BachandGitHub 3d4ee5906d Add integration for AirVisual Pro (#79770)
* Add integration for AirVisual Pro

* Tests

* A few more redactions

* Loggers

* Consistency

* Remove unnecessary f-string

* Use `entry.as_dict()` in diagnostics

* One call

* Integration types

* Cleanup

* Import cleanup

* Code review

* Code review

* Code review
2022-12-12 14:28:27 -07:00
Jafar AtiliandGitHub 2d206e7e31 Bump pyswitchbee to 1.7.3 (#83748) 2022-12-12 16:00:30 +01:00
epenetandGitHub 583b4aef07 Enable automatic conversion for pressures (#83525)
* Enable automatic conversion between bar and psi

* Fix tests

* Fix mazda tests

* Fix oncue tests

* Adjust US pressures

* Adjust metric pressures

* Adjust tests

* Adjust tests
2022-12-12 12:42:35 +01:00
J. Nick KostonandGitHub 80a8d5443d Improve remote bluetooth scanner diagnostics and add missing test cover (#83796) 2022-12-11 21:33:30 -10:00
Christopher BaileyandGitHub ec47f7b6ff Add text platform for UniFi Protect (#83674) 2022-12-11 21:30:24 -10:00
J. Nick KostonandGitHub 9008006ac8 Restore remote discovered devices between remote scanner restarts (#83699) 2022-12-11 09:02:55 -10:00
Michael ChisholmandGitHub fbab7413a5 Match config entries for dlna_dmr based on device MAC, in addition to UDN (#74619)
* Factor out _is_dmr_device function

* Use DMR device's MAC to match existing config entries

Some DMR devices change their every time they boot, against the DMR specs.
Try to match such devices to existing config entries by using their MAC
addresses.

* Add DMR device's MAC as a device_registry connection

* Use doc-only IPs (RFC5737) for dlna_dmr tests
2022-12-11 13:40:35 -05:00
MaximilianandGitHub 0aa4d0fb7b Bump pynina to 0.2.0 (#83726)
* Bump pynina to version 0.2.0

* Update tests with new url
2022-12-11 12:43:45 +02:00
Paulus SchoutsenandGitHub d3df4dd3c1 ESPHome: Use MAC as unique ID (#83741)
* ESPHome: Use MAC as unique ID

* Normalize incoming zeroconf/dhcp macs

* Update comment

* Test ESPHome without mac in zeroconf

* Use format_mac

* Remove unique ID index from DomainData
2022-12-10 22:26:42 -05:00
1ac7f5f013 Make google calendar fail louder on invalid google_calendars.yaml (#83668)
* Make google calendar fail louder on invalid google_calendars.yaml

* Update homeassistant/components/google/__init__.py

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

* Update homeassistant/components/google/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-12-10 09:26:28 -08:00
Erik MontnemeryandGitHub d2fc3a22e2 Drop title from repairs flows (#83627) 2022-12-10 11:43:22 +01:00
epenetandGitHub 535aba10ee Use DataRate unit and device class in integrations (#83610) 2022-12-10 11:41:44 +01:00
tronikosandGitHub 2cfdae0c45 Google Sheets: small cleanup (#83685)
* Remove duplicate object key in strings.json

* Remove async_entry_has_scopes check

This is not needed. This was copied from google calendar integration
where it was needed to reauth when the scope changed.

* Remove unused constant in application_credentials

* Move constant to the file used

* fix warning use-implicit-booleaness-not-len

* Remove not accessed parameters

* Revert "Remove async_entry_has_scopes check"

This reverts commit 63e24f84cc.
2022-12-09 20:57:40 -08:00