Commit Graph

13705 Commits (8471a71b60de3fa5974a8871e359ace96ade82f3)

Author SHA1 Message Date
Robert Hillis 2a2cc79fc3
Add Lidarr integration (#66438) 2022-09-20 11:51:29 -04:00
Joakim Plate 924bffc7d0
Add query data to google assistant diagnostic (#78828) 2022-09-20 17:05:10 +02:00
epenet 4f31f28e67
Cleanup SourceType in tests (#78809) 2022-09-20 10:50:07 -04:00
epenet 25b1dfb53a
Cleanup EntityCategory in tests (#78808) 2022-09-20 10:49:44 -04:00
epenet fe747601ff
Cleanup DeviceClass and StateClass in tests (#78811) 2022-09-20 10:49:11 -04:00
Joakim Plate bd0daf68e0
If brightness is not available, don't set a value (#78827) 2022-09-20 07:57:54 -04:00
J. Nick Koston bb78d52f34
Add iBeacon Tracker integration (#78671) 2022-09-19 21:43:41 -04:00
J. Nick Koston 12856dea05
Create an issue when Bluetooth is active on old HAOS (#78430)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-09-19 21:02:13 -04:00
J. Nick Koston caba202efa
Fix failing bluetooth tests (#78757) 2022-09-19 20:59:27 -04:00
J. Nick Koston 635c2f3738
Change bluetooth source to be the address of the adapter on Linux (#78795) 2022-09-19 20:58:18 -04:00
J. Nick Koston 5829ff5aea
Prevent tilt_ble from matching generic ibeacons (#78722) 2022-09-19 20:57:18 -04:00
Erik Montnemery e66f28f3f7
Teach sqlite3 about HAFakeDatetime (#78756) 2022-09-19 23:09:50 +02:00
Nathan Spencer 10a12b1bc9
Bump pylitterbot to 2022.9.5 (#78785) 2022-09-19 21:29:29 +02:00
mkmer 08c8ab7302
Bumped AIOAladdinConnect 0.1.46 (#78767) 2022-09-19 21:18:53 +02:00
y34hbuddy 691df5a394
Add support for imperial units of measure in volvooncall (#77669) 2022-09-19 16:22:13 +02:00
epenet 8cc0c4dbba
Adjust root-import in demo humidifier tests (#78772) 2022-09-19 15:48:01 +02:00
epenet e6970cb62f
Adjust root-import in netatmo tests (#78771) 2022-09-19 15:42:59 +02:00
epenet beca4bb7a5
Adjust root-import in motioneye tests (#78770) 2022-09-19 15:42:19 +02:00
epenet 7e41afe660
Adjust root-import in nest tests (#78769) 2022-09-19 15:41:45 +02:00
epenet 7ffac12de7
Adjust root-import in google-assistant tests (#78768) 2022-09-19 15:40:56 +02:00
epenet 52a377ca9d
Adjust root-import in alexa tests (#78766) 2022-09-19 15:38:33 +02:00
Kenneth J. Miller 3b653de3fd
Fix Airly CO sensor unit (#78649) 2022-09-19 15:35:13 +02:00
epenet 7bc2712142
Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
epenet 75e52ef389
Use DOMAIN constant in plex (#78764) 2022-09-19 15:08:40 +02:00
epenet 903edfd881
Use correct constant in anthemav tests (#78759) 2022-09-19 15:07:42 +02:00
epenet ecef755217
Adjust root-import in tomorrowio tests (#78763) 2022-09-19 14:56:51 +02:00
epenet 4b813f2460
Adjust pylint plugin for tests directory (#78727)
* Add module_name to parametrize

* Add tests for tests directory

* Apply patch from mib1185

* Adjust plugin to allow imports from component being tested
2022-09-19 14:27:21 +02:00
Justin Vanderhooft 3eab4a234b
Add support for controlling manual watering time on Melnor Bluetooth devices (#78653)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-19 06:56:34 -05:00
epenet 0dcbc85684
Adjust relative-import plugin for tests (#78742) 2022-09-19 12:57:07 +02:00
epenet 747e538172
Apply hass-relative-import to bluetooth tests (#78736) 2022-09-19 12:35:23 +02:00
epenet 019d297ff0
Apply hass-relative-import to recorder tests (#78734) 2022-09-19 12:35:03 +02:00
Franck Nijhof 36eda3801d
Add LaMetric integration init tests (#78679) 2022-09-19 11:11:05 +02:00
epenet b5c1f856e2
Fix litterrobot tests (#78741) 2022-09-19 10:25:25 +02:00
epenet 38548b0986
Adjust homekit-controller test imports (#78731) 2022-09-19 09:53:56 +02:00
epenet e9f55f4e54
Apply hass-relative-import to tests (s-z) (#78733) 2022-09-19 09:51:31 +02:00
epenet c5a56dab42
Apply hass-relative-import to tests (a-c) (#78728) 2022-09-19 09:48:25 +02:00
epenet 00dd27ef1b
Apply hass-relative-import to tests (i-r) (#78732) 2022-09-19 09:46:59 +02:00
epenet a809e18559
Apply hass-relative-import to tests (d-h) (#78730) 2022-09-19 09:31:57 +02:00
Robert Hillis aa0cbf0afe
Add tests for LitterRobot sensors (#78638) 2022-09-18 21:12:38 -07:00
J. Nick Koston 9655f30146
Handle Modalias missing from the bluetooth adapter details on older BlueZ (#78715) 2022-09-18 21:09:45 -04:00
J. Nick Koston ba74f00fb5
Add tests for switchbot sensor platform (#78611) 2022-09-18 16:49:12 -05:00
Maciej Bieniek 721fddc016
Bump `brother` backend library (#78072)
* Update integration for a new library

* Update tests

* Add unique_id migration

* Update integration and tests for lib 2.0.0

* Improve test coverage

* Improve typing in tests
2022-09-18 23:28:17 +02:00
Brett Adams fa7f04c34b
Code Quality Improvements for Advantage Air (#77695)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-18 21:27:09 +02:00
Raman Gupta 4fbf44cced
Create repair issue if zwave-js-server is too old (#78670)
* Create repair issue if zwave-js-server is too old

* Switch is_fixable to false

* review comments
2022-09-18 21:25:37 +02:00
Nathan Spencer b03de1c92f
Address code review from litterrobot PR (#78699)
Address code review
2022-09-18 21:21:24 +02:00
Erik Montnemery 6094c00705
Warn user if Tasmota devices are configured with invalid MQTT topics (#77640) 2022-09-18 19:50:43 +02:00
Jan Bouwhuis 354411feed
Link manually added MQTT entities the the MQTT config entry (#78547)
Co-authored-by: Erik <erik@montnemery.com>
2022-09-18 12:55:31 -04:00
J. Nick Koston d4181aa911
Fix bluetooth callback matchers when only matching on connectable (#78687) 2022-09-18 10:22:54 -05:00
Raman Gupta 4d6151666e
Handle multiple files properly in zwave_js update entity (#78658)
* Handle multiple files properly in zwave_js update entity

* Until we have progress, set in progress to true. And fix when we write state

* fix tests

* Assert we set in progress to true before we get progress

* Fix tests

* Comment
2022-09-18 14:56:46 +02:00
Franck Nijhof 2eb265f28b
Remove mDNS iteration from Plugwise unique ID (#78680)
* Remove mDNS iteration from Plugwise unique ID

* Add iteration to tests
2022-09-18 12:17:28 +02:00
Joakim Sørensen 87f8ebceb2
Limit Github event subscription if polling is disabled (#78662) 2022-09-18 11:40:42 +02:00
Joakim Sørensen 69c5d910d4
Remove deprecated update binary sensor from Supervisor (#78664) 2022-09-18 09:58:14 +02:00
Marc Mueller f7ef9eb91b
Remove low level call from fritzbox_callmonitor (#78668) 2022-09-18 03:08:55 +02:00
Aaron Bach ca5a9c9456
Allow multiple instances of OpenUV via the `homeassistant.update_entity` service (#76878)
* Allow for multiple instances of the OpenUV integration

* Docstring

* Remove Repairs

* Fix tests

* Slightly faster OpenUV object lookup

* Entity update service

* Remove service descriptions

* hassfest

* Simplify strings

* Don't add UI instructions to Repairs item

* Add a throttle to entity update

* Update homeassistant/components/openuv/__init__.py

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

* Switch from Throttle to Debouncer(s)

* Keep dispatcher for services

* Reduce change surface area

* Duplicate method

* Add issue registry through helper

* Update deprecation version

* Use config entry selector

* Remove device/service info

* Remove commented out method

* Correct entity IDs and better verbiage

* Fix tests

* Handle missing config entry ID in service calls

* Remove unhelpful comment

* Remove unused constants

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-17 17:56:45 -06:00
Justin Vanderhooft b87c452106
Bump melnor-bluetooth to v0.0.20 (#78642) 2022-09-17 17:19:19 -05:00
J. Nick Koston 18eef5da1f
Restore history from bluetooth stack at startup (#78612) 2022-09-17 16:58:19 -05:00
Jan Bouwhuis 1f410e884a
Make hass.data["mqtt"] an instance of a DataClass (#77972)
* Use dataclass to reference hass.data globals

* Add discovery_registry_hooks to dataclass

* Move discovery registry hooks to dataclass

* Add device triggers to dataclass

* Cleanup DEVICE_TRIGGERS const

* Add last_discovery to data_class

* Simplify typing for class `Subscription`

* Follow up on comment

* Redo suggested typing change to sasisfy mypy

* Restore typing

* Add mypy version to CI check logging

* revert changes to ci.yaml

* Add docstr for protocol

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Mypy update after merging #78399

* Remove mypy ignore

* Correct return type

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-17 21:43:42 +02:00
Kevin Addeman b51fd7f688
Fix lutron_caseta get_triggers() raising error for non-button devices (caseta and ra3/hwqsx) (#78397) 2022-09-17 13:26:04 -05:00
J. Nick Koston 74f7ae409b
Add a helpful message to the config_entries.OperationNotAllowed exception (#78631)
We only expect this exception to be raised as a result of an
implementation problem. When it is raised during production
it is currently hard to trace down why its happening

See #75835
2022-09-17 20:52:28 +03:00
J. Nick Koston 8cae33a730
Fix rachio not being able to be ignored (#78636)
Fixes #77272
2022-09-17 20:44:24 +03:00
Raman Gupta 01acc3d1e5
Fix zwave_js update entity startup state (#78563)
* Fix update entity startup state

* Only write state if there is a change

* Add test to show that when an existing entity gets recreated, skipped version does not reset

* Remove unused blocks

* Update homeassistant/components/zwave_js/update.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-09-17 20:43:35 +03:00
Franck Nijhof 24df3574bc
Automatically set up Awair during onboarding (#78632) 2022-09-17 15:04:09 +02:00
Nathan Spencer cc51052be5
Change litterrobot integration to cloud_push (#77741)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-17 04:29:56 -05:00
J. Nick Koston 98dd84f535
Ensure bluetooth callbacks are only fired when advertisement data changes (#78609) 2022-09-17 10:26:02 +02:00
Kevin Stillhammer f59c8d985d
Correct unit for here_travel_time distance sensor (#78303)
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-09-16 21:03:18 -07:00
Kenneth J. Miller 84cd0da26b
Add Airly gas sensors (#77908)
* Add support for gases queryable via Airly API:
  CO, NO₂, O₃, SO₂
* Add tests for above sensors and update test fixtures
2022-09-16 15:19:30 -06:00
Raman Gupta 06178d3446
Only redact zwave_js values that are worth redacting (#78420)
* Only redact zwave_js values that are worth redacting

* Tweak test

* Use redacted fixture for test
2022-09-16 15:04:55 -06:00
Franck Nijhof 8774f34271
Update Awair config entry on discovery (#78521) 2022-09-16 18:42:44 +03:00
Jafar Atili 491177e5d3
Address late review of SwitchBee (#78412) 2022-09-16 14:19:50 +02:00
J. Nick Koston 085abc74ee
Reduce overhead to update passive bluetooth devices (#78545) 2022-09-16 12:24:20 +02:00
Rami Mosleh b093c2840b
Remove name key from config flow in Mikrotik (#78571) 2022-09-16 11:30:29 +02:00
Franck Nijhof a19a7e64d5
Fix WebSocket condition testing (#78570) 2022-09-16 11:18:00 +02:00
Franck Nijhof 564150169b
Update LaMetric config entry using DHCP discovery data (#78527)
* Update LaMetric config entry using DHCP discovery data

* Update translations
2022-09-16 08:35:12 +02:00
Erik Montnemery dd20a7ea62
Display statistics in the source's unit (#78031) 2022-09-15 12:01:24 -04:00
epenet b29605060a
Enforce MediaPlayerState in hdmi_cec media player (#78522) 2022-09-15 11:48:05 -04:00
Michael 6f02f7c6ce
Bump pyfritzhome to 0.6.7 (#78324) 2022-09-15 16:01:55 +02:00
Joakim Sørensen 8dbe293ae2
Add version to templates (#78484) 2022-09-15 15:01:40 +02:00
Erik Montnemery aa0fd8c935
Avoid mutating globals in nina tests (#78513) 2022-09-15 12:05:29 +02:00
epenet ada1cff4b1
Use new media player enums in homekit_controller (#78105)
* Use new media player enums in homekit_controller

* Replace OK/PROBLEM with ON/OFF

* Fix tests
2022-09-15 12:00:52 +02:00
Avi Miller c0cf9d8729
Add infrared brightness select entity for LIFX Night Vision bulbs (#77943)
* Add infrared brightness select entity for LIFX Night Vision bulbs

Signed-off-by: Avi Miller <me@dje.li>

* Code refactored from review comments

Signed-off-by: Avi Miller <me@dje.li>

* Update and refactor from code review feedback

Signed-off-by: Avi Miller <me@dje.li>

Signed-off-by: Avi Miller <me@dje.li>
2022-09-15 08:53:58 +02:00
Erik Montnemery 84a812ad05
Allow setting number selector step size to 'any' (#78265)
* Allow setting number selector step size to 'any'

* Improve test coverage
2022-09-15 08:29:46 +02:00
Erik Montnemery 0a1fd36e03
Catch up with statistics after DB migration is done (#78469)
* Catch up with statistics after DB migration is done

* Don't access the database from the event loop

* Fix deadlocking test

* Fix test
2022-09-15 07:40:56 +02:00
Robert Hillis a46982befb
Add Google Sheets integration (#77853)
Co-authored-by: Allen Porter <allen@thebends.org>
2022-09-14 14:31:54 -04:00
epenet fd05d949cc
Fix device_class in demo (#78463)
Use _attr_device_class in demo
2022-09-14 20:09:31 +03:00
Erik Montnemery 2ba0f42acc
Prevent deleting blueprints which are in use (#78444) 2022-09-14 16:47:08 +02:00
epenet 219cee2ca9
Move Trace classes to separate module (#78433) 2022-09-14 09:23:29 -04:00
epenet 3941290edc
Force root import of const from other components (#78014)
* Force root import of const from other components

* Add missing commit

* Add tests

* Add tests

* Apply suggestion

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Apply suggestion

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-14 14:07:57 +02:00
Franck Nijhof 393f1487a5
Remove Ambee integration (#78427) 2022-09-14 10:25:01 +02:00
Diogo Gomes 831c87205f
Retry on unavailable IPMA api (#78332)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-13 21:00:59 -04:00
epenet f1c7fb7866
Adjust pylint plugin for relative imports (#78277) 2022-09-14 00:11:57 +02:00
J. Nick Koston 14611f9b5c
Fix race in logbook websocket test (#78390) 2022-09-13 16:40:08 -04:00
J. Nick Koston bf852812bc
Fix flapping system log test (#78391)
Since we run tests with asyncio debug on, there is
a chance we will get an asyncio log message instead
of the one we want

Fixes https://github.com/home-assistant/core/actions/runs/3045080236/jobs/4906717578
2022-09-13 23:10:50 +03:00
Erik Montnemery 4898a41dcf
Don't allow partial update of timer settings (#78378) 2022-09-13 14:58:12 -04:00
Erik Montnemery 925a4b0286
Don't allow partial update of input_text settings (#78377) 2022-09-13 14:57:14 -04:00
Erik Montnemery 19e853dbb0
Don't allow partial update of input_select settings (#78376) 2022-09-13 14:56:59 -04:00
Erik Montnemery abf8b59831
Don't allow partial update of input_button settings (#78374) 2022-09-13 14:56:46 -04:00
Erik Montnemery 33fa4ec8b2
Don't allow partial update of input_datetime settings (#78373) 2022-09-13 14:56:40 -04:00
Erik Montnemery e2a0dd9955
Don't allow partial update of input_boolean settings (#78372) 2022-09-13 14:55:24 -04:00
Erik Montnemery 47da1c456b
Don't allow partial update of counter settings (#78371) 2022-09-13 14:55:06 -04:00
Erik Montnemery 15f104911a
Don't allow partial update of input_number settings (#78356) 2022-09-13 14:54:52 -04:00
Erik Montnemery 6256d07255
Drop initial when loading input_number from storage (#78354) 2022-09-13 08:39:05 -04:00
J. Nick Koston 392548fe6e
Bump bleak to 0.17.0 (#78333) 2022-09-13 14:31:34 +02:00
Robin Wohlers-Reichel b0249e6aa9
Update solax to 0.3.0 (#78219) 2022-09-13 10:07:38 +02:00
jafar-atili 24266f1426
Add SwitchBee Integration (#70201)
* Add SwitchBee Integration

* fixes

* improved API and more logs

* fixed test_config_flow code

* removed light and cover

* Fixed CR comments, updated pylib, improved response time and lowered the scan interval for lower latency

* CR fixes, added advanced setup form to let the
user choose the following:
    - scan interval in seconds: default 5
    - whether to expose scenarios and group switches from the CU or not

* used SCAN_INTERVAL_SEC instead of typing just the number

* Fixed PR comments, added unit tests

* fixes

* Improved the pypi and updated the code accordingly

* Add SwitchBee Integration

* fixes

* improved API and more logs

* fixed test_config_flow code

* removed light and cover

* Fixed CR comments, updated pylib, improved response time and lowered the scan interval for lower latency

* CR fixes, added advanced setup form to let the
user choose the following:
    - scan interval in seconds: default 5
    - whether to expose scenarios and group switches from the CU or not

* used SCAN_INTERVAL_SEC instead of typing just the number

* Fixed PR comments, added unit tests

* fixes

* Improved the pypi and updated the code accordingly

* fixes

* restored new line in .coveragerc

* test: increased config_flow test coverage

* removed two way type

* Updated CODEOWNERS

* fix: code review comments

* fixed review comments

* added device_info

* moved device info to attribute
2022-09-13 09:01:29 +02:00
Erik Montnemery 4e32bf2ac9
Drop old migration code from entity registry (#78278) 2022-09-12 22:28:05 -04:00
Erik Montnemery 8a9edea2c1
Fix calculating gas cost for gas measured in ft3 (#78327) 2022-09-12 21:24:49 -04:00
Marc Mueller 93a5b99191
Rename zwave_js trigger helper to avoid confusion (#78331)
* Rename zwave_js trigger helper to avoid confusion

* Fix test
2022-09-12 18:36:05 -04:00
J. Nick Koston 5f1979dbc3
Bump xiaomi-ble to 0.9.3 (#78301) 2022-09-12 16:54:20 -05:00
David F. Mulcahey 9d47160e68
Fix sengled bulbs in ZHA (#78315)
* Fix sengled bulbs in ZHA

* fix tests

* update discovery data
2022-09-12 15:37:11 -04:00
Raman Gupta abebf3c067
Switch to new entity naming schema across zwave_js (#77434) 2022-09-12 09:14:59 +02:00
Artem Draft 29be6d17b0
Add is_host_valid util (#76589) 2022-09-11 11:12:04 -05:00
puddly f19af72895
Bump ZHA dependencies (#78201) 2022-09-10 13:56:01 -04:00
Ernst Klamer 39f40011cc
Add BTHome binary sensors (#78151) 2022-09-09 22:43:25 -04:00
Jc2k 28f4a5b7a2
Add missing moisture sensor to xiaomi_ble (#78160) 2022-09-09 22:31:51 -04:00
J. Nick Koston fcb6888f87
Start logbook stream faster (#77921)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-09-09 17:16:02 -05:00
Raman Gupta 8cc0b41daf
Fix zwave_js update entity (#78116)
* Test zwave_js update entity progress

* Block until firmware update is done

* Update homeassistant/components/zwave_js/update.py

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

* revert params

* unsub finished event listener

* fix tests

* Add test for returned failure

* refactor a little

* rename

* Remove unnecessary controller logic for mocking

* Clear event when resetting

* Comments

* readability

* Fix test

* Fix test

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-09 22:10:56 +02:00
Michael Kowalchuk 19cf5dfc6d
Add zwave_js speed configuration for Leviton ZW4SF fans (#60677)
* Add speed info for Leviton 4 speed fans

* Use new format for fan speed configuration

* Add a fixture and test for the Leviton ZW4SF

* Use pytest.approx
2022-09-09 22:06:01 +02:00
Jan Bouwhuis fb67123d77
Clear MQTT discovery topic when a disabled entity is removed (#77757)
* Cleanup discovery on entity removal

* Add test

* Cleanup and test

* Test with clearing payload not unique id

* Address comments

* Tests cover and typing

* Just pass hass

* reuse code

* Follow up comments revert changes to cover tests

* Add test unique_id has priority over disabled

* Update homeassistant/components/mqtt/__init__.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-09-09 15:24:26 +02:00
Erik Montnemery e332091d76
Improve unique_id collision checks in entity_platform (#78132) 2022-09-09 14:35:23 +02:00
uvjustin 9b2d17cd00
Escape media_content_id in media player proxy (#77811)
* Escape media_content_id in media player proxy

* Change usage in kodi

* Change usage in roku

* Change usage in sonos

* Add test

* Add comment

* Change path regex instead of double quoting

* Use .+ instead of .*
2022-09-09 13:18:24 +02:00
holysoles c3b2e03ce8
Support unique_id for Universal Media Player (#77461)
* support unique id

* tests for unique_id

* use unique_id attribute
2022-09-09 11:50:39 +02:00
Jan Bouwhuis 9a4c8f5f0e
Refactor common MQTT tests to use modern schema (#77583)
* Common tests availability

* Common tests attributes

* Common tests unique id

* Common tests discovery

* Common tests encoding

* Common tests device info

* Common tests entity_id updated

* Common tests entity debug info

* Common test entity category

* Common tests setup reload unload+corrections

* Cleanup sweep

* Comments from curent change

* Cleanup

* Remove unused legacy config
2022-09-09 11:15:48 +02:00
epenet 8b3ce8c58c
Use new constants in dlna_dmr media player (#78045) 2022-09-09 09:03:59 +02:00
epenet 7ff23506fe
Use new enums in cast (#77946)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-09 08:57:14 +02:00
Paulus Schoutsen 0e734e629c
Handle missing supported brands (#78090) 2022-09-09 07:47:33 +02:00
Alex Thompson 45b69618d3
Add iBeacon start byte to allowed Apple Bluetooth advertisements (#78088) 2022-09-08 18:21:58 -05:00
Jan Bouwhuis 9c192dea9c
Allow OpenWeatherMap config flow to test using old API to pass (#78074)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-09-08 16:49:49 -04:00
Erik Montnemery 7937bfeedb
Deprecate history integration's statistics API (#78056) 2022-09-08 16:03:43 -04:00
Martin Hjelmare f11b51e12b
Fix zwave_js device re-interview (#78046)
* Handle stale node and entity info on re-interview

* Add test

* Unsubscribe on config entry unload
2022-09-08 20:15:27 +02:00
Nathan Spencer 03e6bd0811
Bump pylitterbot to 2022.9.1 (#78071) 2022-09-08 19:13:20 +02:00
Erik Montnemery c134bcc536
Remove use of deprecated SUPPORT_* constants from Template light (#77836) 2022-09-08 11:22:38 +02:00
Erik Montnemery b21f8c9ea8
Remove use of deprecated SUPPORT_* constants from MQTT light (#77828)
* Remove use of deprecated SUPPORT_* constants from MQTT light

* Refactor
2022-09-08 11:21:46 +02:00
Martin Hjelmare bfe245cc3f
Fix zwave_js default emulate hardware in options flow (#78024) 2022-09-08 10:59:40 +02:00
Raman Gupta 37631d2017
Add value ID to zwave_js device diagnostics (#78015) 2022-09-08 09:13:01 +02:00
Chris McCurdy 52c8c80f91
Add additional method of retrieving UUID for LG soundbar configuration (#77856) 2022-09-07 17:43:05 +02:00
puddly 4076f8b94e
Fix ZHA lighting initial hue/saturation attribute read (#77727)
* Handle the case of `current_hue` being `None`

* WIP unit tests
2022-09-07 11:10:24 -04:00
Alex Thompson 951047d94e
Add initial implementation of tilt_ble integration (#77633)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-07 09:24:21 -05:00
epenet 9490771a87
Refactor distance, speed and volume utils (#77952)
* Refactor distance util

* Fix bmw connected drive tests

* Adjust here travel time tests

* Adjust waze travel time tests

* Adjust test_distance

* Adjust rounding values

* Adjust more tests

* Adjust volume conversions

* Add tests
2022-09-07 16:18:00 +02:00
epenet 9fb0b3995c
Adjust pylint checks for notify get_service (#77606)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-07 09:44:15 +02:00
Raman Gupta fce28d4848
Bump zwave-js-server-python to 0.41.1 (#77915)
* Bump zwave-js-server-python to 0.41.1

* Fix fixture
2022-09-07 07:28:47 +02:00
Lennard Scheibel 35cdad943b
Fix shopping_list service calls not notifying event bus (#77794) 2022-09-06 23:18:27 -04:00
Franck Nijhof dbb556a812
Revert "Add ability to ignore devices for UniFi Protect" (#77916) 2022-09-06 20:13:01 +02:00
Steven Looman d550b17bd9
Use identifiers host and serial number to match device (#75657) 2022-09-06 11:33:16 -04:00
Raman Gupta 91fbff05db
Improve performance impact of zwave_js update entity and other tweaks (#77866)
* Improve performance impact of zwave_js update entity and other tweaks

* Reduce concurrent polls

* we need to write state after setting in progress to false

* Fix existing tests

* Fix tests by fixing fixtures

* remove redundant conditional

* Add test for delayed startup

* tweaks

* outdent happy path

* Add missing PROGRESS feature support

* Update homeassistant/components/zwave_js/update.py

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

* Update homeassistant/components/zwave_js/update.py

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

* Fix tests by reverting outdent, PR comments, mark callback

* Remove redundant conditional

* make more readable

* Remove unused SCAN_INTERVAL

* Catch FailedZWaveCommand

* Add comment and remove poll unsub on update

* Fix catching error and add test

* readability

* Fix tests

* Add assertions

* rely on built in progress indicator

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-06 09:40:20 -04:00
Jan Bouwhuis 13188a5c63
Refactor MQTT tests to use modern platform schema part 2 (#77525)
* Tests light json

* Tests light template

* Missed test light json

* Tests light

* Tests lock

* Tests number

* Tests scene

* Tests select

* Tests sensor

* Tests siren

* Tests state vacuuum

* Tests switch

* Derive DEFAULT_CONFIG_LEGACY from DEFAULT_CONFIG

* Suggested comment changes
2022-09-06 11:03:02 +02:00
Jan Bouwhuis a4792998a2
Refactor MQTT tests to use modern platform schema part 1 (#77387)
* Tests alarm_control_panel

* Tests binary_sensor

* Tests button

* Tests camera

* Tests Climate + corrections default config

* Tests cover

* Tests device_tracker

* Tests fan

* Tests humidifier

* Fix test_supported_features test fan

* Tests init

* Tests legacy vacuum

* Derive DEFAULT_CONFIG_LEGACY from DEFAULT_CONFIG

* Commit suggestion comment changes
2022-09-06 11:02:15 +02:00
uvjustin 852b0caf5b
Add orientation transforms to stream (#77439) 2022-09-06 13:31:36 +08:00
Justin Vanderhooft 50933fa3ae
Move Melnor Bluetooth switches to sub-services off the main device (#77842)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-05 18:34:59 -05:00
G Johansson 76006ce9d7
Allow empty db in SQL options flow (#77777) 2022-09-05 14:50:47 -05:00
Allen Porter 8280b8422c
Remove google calendar configuration.yaml deprecated in 2022.6 (#77814) 2022-09-05 21:12:38 +02:00
J. Nick Koston 6644f62ad2
Fix history stats device class when type is not time (#77855) 2022-09-05 14:56:27 -04:00
J. Nick Koston 6fbc0a8103
Bump govee-ble to 0.17.2 (#77849) 2022-09-05 14:05:53 -04:00
Jc2k a641bbc352
Less verbose error logs for bleak connection errors in ActiveBluetoothProcessorCoordinator (#77839)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-05 10:33:10 -04:00
rappenze 601fb5ebb5
Add reauth flow to fibaro (#74300) 2022-09-05 07:55:12 -05:00
Ernst Klamer 42393db9f3
Rename BThome to BTHome (#77807)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-05 07:52:50 -04:00
Allen Porter ddf668d1cb
Remove CalendarEventDevice which was deprecated in 2022.5 (#77809) 2022-09-04 22:25:43 -07:00
J. Nick Koston 016a59ac94
Add support for subscribing to config entry changes (#77803) 2022-09-04 22:57:43 -05:00
J. Nick Koston 804e4ab989
Prefilter noisy apple devices from bluetooth (#77808) 2022-09-04 20:57:40 -04:00
Avi Miller 168d122db4
Add set_hev_cycle_state service to LIFX integration (#77546)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-04 19:04:36 -05:00
G Johansson 03d804123a
Sensibo clean code (#74437) 2022-09-04 14:42:08 -05:00
Justin Vanderhooft e1150ce190
Expose battery and rssi sensors in Melnor Bluetooth integration (#77576) 2022-09-04 12:47:13 -04:00
Avi Miller 0e63a4c091
Fix lifx service call interference (#77770)
* Fix #77735 by restoring the wait to let state settle

Signed-off-by: Avi Miller <me@dje.li>

* Skip the asyncio.sleep during testing

Signed-off-by: Avi Miller <me@dje.li>

* Patch out asyncio.sleep for lifx tests

Signed-off-by: Avi Miller <me@dje.li>

* Patch out a constant instead of overriding asyncio.sleep directly

Signed-off-by: Avi Miller <me@dje.li>

Signed-off-by: Avi Miller <me@dje.li>
2022-09-04 17:51:57 +02:00
J. Nick Koston ed365cb8e9
Add BlueMaestro integration (#77758)
* Add BlueMaestro integration

* tests

* dc
2022-09-04 09:45:52 -04:00
Raman Gupta fa987564a7
Handle dead nodes in zwave_js update entity (#77763) 2022-09-03 22:53:21 +02:00
Jan Bouwhuis a3e6abd396
Use hass.config_entries.async_setup in mqtt test (#77750)
* Use hass.config_entries.async_setup

* The setup is awaited hence waiting is not needed
2022-09-03 15:44:50 +02:00
Erik Montnemery b0d033ef29
Add mixin class CollectionEntity for the collection helper (#77703)
* Add mixin class CollectionEntity for the collection helper

* Improve typing

* Address review comments

* Fix tests
2022-09-03 12:56:49 +02:00
Erik Montnemery 56278a4421
Simplify device registry (#77715)
* Simplify device registry

* Fix test fixture

* Update homeassistant/helpers/device_registry.py

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

* Update device_registry.py

* Remove dead code

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-03 12:50:55 +02:00
Simon Hansen 7e100b64ea
Convert platform in iss integration (#77218)
* Hopefully fix everthing and be happy

* ...

* update coverage file

* Fix tests
2022-09-03 10:32:03 +02:00
Øyvind Matheson Wergeland f52c00a1c1
Add Nobø Ecohub integration (#50913)
* Initial version of Nobø Ecohub.

* Options update listener for Nobø Ecohub

* Unit test for nobo_hub config flow

* Cleanup

* Moved comment re backwards compatibility

* Improved tests

* Improved tests

* Options flow test
Pylint

* Fix backwards compatibility mode

* Don't require Python 3.9

* Import form configuration.yaml

* Check if device is already configured.
Correct tests for only discovering serial prefix
Fix importing when only serial suffix is configured

* Use constants

* Pylint and variable name clenaup.

* Review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Fix tests

* Correct disabling off_command and on_commands ("Default" is a hard coded week profile in the hub).

* Improve options dialog

* Configure override type in options dialog

* Formatting

* pyupgrade

* Incorporated review comments

* Incorporated review comments.

* Incorporated second round of review comments.

* Add polling to discover preset change in HVAC_MODE_AUTO.

* Added tests/components/nobo_hub to CODEOWNERS.

* Update homeassistant/components/nobo_hub/config_flow.py

Review

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Update homeassistant/components/nobo_hub/climate.py

Review

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Simplify if tests.

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Separate config step for manual configuration.

* Fixed indentation

* Made async_set_temperature more robust

* Thermometer supports tenths even though thermostat is in ones.

* Preserve serial suffix in config dialog on error.

* Initial version of Nobø Ecohub.

* Improved tests

* Review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Configure override type in options dialog

* Separate config step for manual configuration.

* Update homeassistant/components/nobo_hub/__init__.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Formatting (prettier)

* Fix HA stop listener.

* Review

* Apply suggestions from code review

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

* Review
- Removed workaround to support "OFF" setting.
- Simplified config flow to add a new device.

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Fixed review comments

* Update en.json with correction in review.

* Implemented review comments:
- Register devices
- Simplifed async_set_temperature

* Register hub as device in init module

* Implemented review comments.
Upgraded pynobo to 1.4.0.

* Apply suggestions from code review

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

* Avoid tacking on the device name in the entity name

* Inherit entity name from device name

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-03 10:11:40 +02:00
Erik Montnemery 51c5f1d16a
Remove useless device_registry test (#77714) 2022-09-02 20:44:42 +00:00
Nathan Spencer 916c44b5b4
Adjust litterrobot platform loading/unloading (#77682)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-02 16:18:10 -04:00
Jan Bouwhuis 2e34814d7a
Fix reload of MQTT config entries (#76089)
* Wait for unsubscribes

* Spelling comment

* Remove notify_all() during _register_mid()

* Update homeassistant/components/mqtt/client.py

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

* Correct handling reload manual set up MQTT items

* Save and restore device trigger subscriptions

* Clarify we are storing all remaining subscriptions

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-09-02 18:54:20 +02:00
Erik Montnemery 1bc8770b51
Remove area_id from entity_registry.async_get_or_create (#77700)
* Remove area_id from entity_registry.async_get_or_create

* Adjust tests

* Fix lying comment in test
2022-09-02 13:31:05 +02:00
Erik Montnemery 8924725d69
Improve some device registry tests (#77659) 2022-09-02 08:54:02 +02:00
Erik Montnemery 8bab2a9bea
Tweak schedule test (#77696) 2022-09-02 08:39:27 +02:00
amitfin 32e4a2515e
Time range should be treated as open ended (#77660)
* Time range should be treated as open end

* Refactored the logic of calculating the state

* Improve tests

* Improve tests

Co-authored-by: Erik <erik@montnemery.com>
2022-09-02 08:14:06 +02:00
Avi Miller 45f8b64a34
Add binary sensor platform to LIFX integration (#77535)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-01 22:07:21 +00:00
Diogo Gomes 1fe5948afd
Cleanup IPMA code (#77674)
revert yaml import
2022-09-01 23:15:42 +02:00
puddly 73e26b71b1
Migrate ZHA lighting to use newer zigpy ZCL request syntax (#77676)
* Migrate unit test to use more command definition constants

* Use keyword argument syntax for sending ZCL requests

* Ensure all ZHA unit tests pass
2022-09-01 15:32:32 -04:00
J. Nick Koston 9a5bdaf87e
Ensure unique id is set for esphome when setup via user flow (#77677) 2022-09-01 14:10:20 -04:00
Erik Montnemery e326dd2847
Fix demo external energy statistics (#77665) 2022-09-01 14:03:37 -04:00
Nathan Spencer d0d1b303fd
Code quality improvements for litterrobot integration (#77605) 2022-09-01 14:02:46 -04:00
On Freund 1692808d5b
Increase sleep in Risco setup (#77619) 2022-09-01 14:02:09 -04:00
Erik Montnemery d65eaf11f4
Include entity registry id in entity registry WS API (#77668) 2022-09-01 11:51:27 -04:00
Ernst Klamer db4391adff
Add device class moisture (#77666) 2022-09-01 11:47:47 -04:00
Erik Montnemery cd2045b66d
Clean up user overridden device class in entity registry (#77662) 2022-09-01 11:45:19 -04:00
Christopher Bailey 08ab10d470
Fix timezone edge cases for Unifi Protect media source (#77636)
* Fixes timezone edge cases for Unifi Protect media source

* linting
2022-09-01 08:49:36 +00:00
y34hbuddy a9fe9857bd
Implement reauth flow for volvooncall (#77328)
* implement reauth flow

* added more tests

* implement feedback for __init__.py

* implemented feedback

* remove impossible return checks

* raise UpdateFailed when update fails
2022-08-31 22:37:38 +02:00
Phil Bruckner c6b3b9fa90
Convert life360 to aiohttp (#77508)
Bump life360 package to 5.1.0.
2022-08-31 14:54:23 -05:00
Mick Vleeshouwer c98ee412c0
Catch unknown user exception in Overkiz integration (#76693) 2022-08-31 21:16:00 +02:00
Joakim Plate 083e902dc0
Ignore unknown states in universal media player (#77388)
Ignore unknown states
2022-08-31 19:53:14 +02:00
puddly f8fc90bc07
Add ZHA config flow single instance checks for zeroconf and hardware (#77612) 2022-08-31 12:41:41 -04:00
Paulus Schoutsen 708e614823
Migrate Ecowitt to webhooks (#77610) 2022-08-31 12:41:04 -04:00
puddly 4b24370549
ZHA Yellow config flow fixes (#77603) 2022-08-31 11:21:37 -04:00
Erik Montnemery d0375959fd
Add additional test to schedule (#77601) 2022-08-31 15:19:50 +02:00
Erik Montnemery d18097580e
Bump hatasmota to 0.6.0 (#77560) 2022-08-31 14:23:57 +02:00
Diogo Gomes f98e86d3a6
Bump pyipma to 3.0.2 (#76332)
* upgrade to pyipma 3.0.0

* bump to support python3.9

* remove deprecated async_setup_platform

* full coverage

* add migrate
2022-08-31 07:00:42 -04:00
Rami Mosleh b303c8e040
Refactor version key in `glances` (#77541)
* update version key

* Fix merge mistake

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-08-31 12:52:52 +02:00
Pascal Vizeli 105bb3e082
Ecowitt integration (#77441)
* Add ecowitt integration

* add tests

* use total

* use total

* test coverage

* Update homeassistant/components/ecowitt/__init__.py

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

* Update homeassistant/components/ecowitt/binary_sensor.py

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

* Update homeassistant/components/ecowitt/entity.py

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

* Update homeassistant/components/ecowitt/diagnostics.py

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

* add to async_on_unload

* remove attr_name / unload callback

* support unload platforms

* using replace

* address mapping

* update type

* mark final

* Apply suggestions from code review

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

* Fix bracket

* Fix another bracket

* Address comment

* Add strings

* update tests

* Update homeassistant/components/ecowitt/strings.json

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

* update text

* Update homeassistant/components/ecowitt/strings.json

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

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-31 12:51:39 +02:00
Erik Montnemery 008ac8d10d
Improve statistics metadata WS API (#77209) 2022-08-31 11:30:45 +02:00
epenet 7c585bd380
Fix sync context in icloud (#77582)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-31 10:52:41 +02:00
Robert Svensson 61ff52c93a
Normalize deCONZ sensor unique IDs (#76357)
* Normalize deCONZ sensor unique IDs

* Handle battery sensors properly

* Fix daylight sensor unique ID
2022-08-31 08:12:25 +02:00
epenet 3df2ec1ed6
Implement reauth_confirm in icloud (#77530) 2022-08-31 00:07:32 -04:00
On Freund 3caa4963bc
Use partition name as device name in Risco alarm control panels (#77526) 2022-08-30 23:48:03 -04:00
Robert Svensson ff3d3088ee
Add Aqara FP1 support to deCONZ integration (#77568) 2022-08-30 23:33:05 -04:00
puddly 5b3f4ec471
Fix failing unifiprotect unit tests (#77575)
* Patch `final` pydantic fields during unit test

* Use a fixed date with 31 days to ensure unit tests pass every month
2022-08-30 22:17:03 -04:00
J. Nick Koston edb8c58566
Add sensorpro (BLE) integration (#77569) 2022-08-30 21:49:31 -04:00
Erik Montnemery cdca08e68a
Add periodic system stats to hardware integration (#76873) 2022-08-30 21:45:13 -04:00
puddly a3af8c07a9
Fix SkyConnect unit tests broken by #77044 (#77570) 2022-08-30 19:03:44 -04:00
Justin Vanderhooft 8d94c8f74a
Add Melnor Bluetooth valve watering Integration (#70457) 2022-08-30 16:06:44 -05:00
Ernst Klamer f43f440739
Add new sensors to BThome (#77561) 2022-08-30 17:03:41 -04:00
Erik Montnemery 7c5a5f86ee
Allow setting to-time in schedule to 24:00 (#77558) 2022-08-30 15:54:31 -04:00
Erik Montnemery 4655ed995e
Fix resetting of attributes in EntityRegistry.async_get_or_create (#77516)
* Fix resetting of attributes in EntityRegistry.async_get_or_create

* Fix typing

* Fix resetting config entry

* Improve test

* Update tests
2022-08-30 21:07:50 +02:00
Erik Montnemery 8936c91f50
Migrate smartthings light to color_mode (#70968) 2022-08-30 20:45:52 +02:00
epenet 9cdb7bba4c
Fix glances config-flow flaky test (#77549) 2022-08-30 11:57:42 -05:00
Raman Gupta df214c2d26
Add support for zwave_js firmware update service (#77401)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-08-30 12:49:27 -04:00
puddly f78b39bdbf
ZHA backup/restore config flow (#77044) 2022-08-30 12:40:16 -04:00
Paulus Schoutsen c11925f7a9
Add prusalink test cases and fix config flow (#77544) 2022-08-30 17:04:14 +02:00
Paulus Schoutsen 3e066e469a
Remove "Awair" from score entity name (#77522) 2022-08-30 08:23:39 -04:00
Erik Montnemery cac4015882
Fix schedule during single weekday (#77543) 2022-08-30 08:14:46 -04:00
Erik Montnemery 14717951c3
Support configuring the mode of MQTT number entities (#77478)
* Support configuring the mode of MQTT number entities

* Use modern schema for tests

Co-authored-by: jbouwh <jan@jbsoft.nl>
2022-08-30 12:47:35 +02:00
Joris Pelgröm fa0dfd812c
Update allowlisted OAuth redirect URIs for Wear OS (#77411) 2022-08-29 21:52:10 -04:00
Paulus Schoutsen 79b5147b46
Awair local use config entry name + add measurement state class (#77383) 2022-08-29 20:46:03 -04:00
Paulus Schoutsen 481205535c
Add PrusaLink integration (#77429)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-29 20:45:27 -04:00
Paulus Schoutsen 14f68ec1a9
Store redirect URI in context instead of asking each time (#77380)
* Store redirect URI in context instead of asking each time

* Fix tests
2022-08-29 19:28:42 -04:00
puddly 2224d0f43a
Add a callback for data flow handler removal (#77394)
* Add a callback for when data flows are removed

* Call `async_remove` at the very end

* Handle and log exceptions caught during flow removal

* Log the error as an exception, with a traceback

* Adjust test's expected logging output to match updated format specifier
2022-08-29 16:25:34 -04:00
Paulus Schoutsen 7d9ae0784e
Allow searching for person (#77339) 2022-08-29 19:59:00 +02:00
Charles Garwood 4ba8fb6457
Add basic media_player to Fully Kiosk Browser integration (#77266) 2022-08-29 19:39:05 +02:00
J. Nick Koston 8e0c26bf86
Add LED BLE integration (#77489)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-08-29 11:38:18 -05:00
puddly 2e8d598795
Allow ZHA startup to fail instead of raising `ConfigEntryNotReady` (#77417)
* Retry startup within ZHA instead of raising `ConfigEntryNotReady`

* Add unit tests

* Disable pylint warning for intentional broad except
2022-08-29 11:42:01 -04:00
J. Nick Koston 40e8979951
Add bluetooth api to get the count of connectable and non-connectable scanners (#77427) 2022-08-29 10:21:30 -04:00
epenet 8ed689fede
Add new rule to enforce relative imports in pylint (#77358)
* Add new rule to enforce relative imports in pylint

* Early return

* Adjust components
2022-08-29 08:55:32 +02:00
Erik Montnemery 067d21a307
Refactor hardware.async_info to return list[HardwareInfo] (#77183) 2022-08-29 08:45:39 +02:00
Brett Adams 779e020dc4
Add update platform to Advantage Air (#75391)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-28 23:41:37 -05:00
Robert Hillis 7c27be230c
Add reauth flow to Litterrobot (#77459)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-28 23:40:28 -05:00
Christopher Bailey 0867392f96
Add ability to ignore devices for UniFi Protect (#77414)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-28 20:35:45 -05:00
Brett Adams 2857739958
Add light platform to Advantage Air (#75425) 2022-08-28 19:44:08 -05:00
epenet 7eb8e1f25d
Improve type hints in demo [1/3] (#77180) 2022-08-28 17:51:10 -05:00
Maciej Bieniek bf510fcb4c
Add CAQI sensors to Nettigo Air Monitor integration (#76709)
* Add CAQI sensors

* Add state translation

* Add icon

* Update tests

* Remove unit

* Update test

* Do not use device_class

* Update tests

* Remove unit and device_class
2022-08-28 21:54:00 +02:00
Christopher Bailey d29be2390b
Add new features from UniFi Protect 2.2.1-beta5 (#77391) 2022-08-28 12:31:07 -05:00
Matthias Alphart 441d7c0461
Wait for config entry platforms in KNX (#77437) 2022-08-28 12:36:31 +02:00
Raman Gupta eab0ff5185
Bump zwave-js-server-python to 0.41.0 (#76903) 2022-08-27 21:27:41 -04:00
J. Nick Koston a28aeeeca7
Hide bluetooth passive option if its not available on the host system (#77421)
* Hide bluetooth passive option if its not available

- We now have a way to determine in advance if passive
  scanning is supported by BlueZ

* drop string
2022-08-27 19:18:54 -04:00
J. Nick Koston 8e88e039f7
Add diagnostics to bluetooth (#77393) 2022-08-27 16:41:49 -05:00
Jan Bouwhuis 448b720eb7
Fix trait processing Fan state without percentage_step (#77351)
* Fix trait processing Fan without percentage_step

* Update homeassistant/components/google_assistant/trait.py

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

* Fix test

* Fix formatting

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-08-27 17:17:02 +02:00
Ernst Klamer b2e958292c
Add support for BThome (#77224)
* Add BThome BLE

* Update BThome to latest version

* 0.3.4

* Rename to bthome 2

* Fix uuids not being found

* Make energy a total increasing state class

* Change unit of measurement of VOC

* Use short identifier

* Fix the reauth flow

* Bump bthome_ble

* Parameterize sensor tests

* Remove Move function to parameter

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-27 15:25:29 +02:00
Joakim Plate fcba6def49
Replace STATE_HOME with STATE_IDLE (#77385) 2022-08-27 13:50:41 +02:00
J. Nick Koston 61d5ed1dcf
Index bluetooth matchers to resolve performance concerns with many adapters/remotes (#77372) 2022-08-26 23:07:51 -04:00
J. Nick Koston f6bc5ad8b1
Add Thermobeacon (BLE) integration (#77313) 2022-08-26 22:44:10 -04:00
Rami Mosleh b36321988f
Deprecate speedtest service (#77261)
deprecate speedtest service
2022-08-26 11:57:43 -07:00