Commit Graph

13322 Commits (d65eaf11f4529d47fa9d46931dd399aed5c01b25)

Author SHA1 Message Date
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
Charles Garwood 36d77d1f33
Add diagnostics to Fully Kiosk Browser integration (#77274) 2022-08-26 15:21:45 +02:00
epenet 38ca74b547
Adjust pylint plugin for absolute/relative imports (#77219)
* Adjust pylint plugin for absolute/relative imports

* Adjust components

* One more

* Adjust mqtt

* Adjust mqtt.DOMAIN import

* Adjust internal import

* Add tests for valid local component imports

* Adjust relative path check

* Fixes

* Fixes
2022-08-26 14:27:13 +02:00
Franck Nijhof dfc3e7d80f
Don't expose attribute option in state selector (#77347) 2022-08-26 11:51:36 +02:00
epenet 8896229ea6
Improve type hint in foobot sensor entity (#77164) 2022-08-26 10:33:17 +02:00
J. Nick Koston 120c76524d
Fix incorrect key update for Gen2 locks with yalexs_ble (#77335) 2022-08-26 09:33:35 +02:00
Christopher Bailey 6558643448
Handle remove packets for UniFi Protect (#77337)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-25 22:05:18 -05:00
Franck Nijhof 5f0cca9b26
Raise repairs issue if automation calls unknown service (#76949) 2022-08-25 20:56:26 -04:00
Christopher Bailey 5c0fc0c002
Add adopt/unadopt flows for UniFi Protect devices (#76524)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-25 18:54:52 -05:00
Paulus Schoutsen 525afb729c
Disable some upnp entities by default (#77330) 2022-08-25 23:45:27 +02:00
Nathan Spencer 8c24d5810c
Remove deprecated reset_waste_drawer and set_wait_time services from litterrobot (#77052) 2022-08-25 13:31:04 -05:00
Nathan Spencer b563bd0ae5
Add support for Litter-Robot 4 (#75790) 2022-08-25 11:32:27 -05:00
Erik Montnemery ac9ba8f231
Improve demo test coverage (#77301) 2022-08-25 10:39:51 -05:00
Erik Montnemery c741d9d045
Update integrations to import issue_registry from helpers (#77305)
* Update integrations to import issue_registry from helpers

* Update tests
2022-08-25 15:33:05 +02:00
J. Nick Koston 0f86bb94d5
Add thermopro integration (BLE) (#77242) 2022-08-25 08:24:55 -05:00
Robert Hillis 4f526a9212
Add reauth flow to Skybell (#75682)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-25 08:24:09 -05:00
Jan Bouwhuis 7fc294d9b1
Set cv hass in hass fixture (#77271)
* Set cv hass in hass fixture

* Move test_hass_cv and update docstring

* Update tests/test_test_fixtures.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-25 12:29:31 +02:00
Maciej Bieniek ad6beac535
Add `hw_version` to MQTT device info (#77210)
* Add hw_version

* Add abbreviation for hw_version

* Update tests

* Update discovery tests
2022-08-25 11:55:33 +02:00
Erik Montnemery dfed3ba75e
Move issue_registry to homeassistant.helpers (#77299)
* Move issue_registry to homeassistant.helpers

* Add backwards compatibility
2022-08-25 11:32:06 +02:00
Erik Montnemery 3d723bddf8
Use mock_restore_cache in tests (#77298) 2022-08-25 09:28:53 +02:00
Erik Montnemery c55505b47b
Use mock_restore_cache in mqtt tests (#77297) 2022-08-25 09:27:38 +02:00
J. Nick Koston f6a03625ba
Implement websocket message coalescing (#77238)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-08-24 22:50:48 -05:00
Robert Svensson 2161b6f049
Fix level controllable output controls in deCONZ (#77223)
Fix level controllable output controls
2022-08-24 22:00:54 -04:00
J. Nick Koston 109d5c7084
Fix bluetooth discovery when advertisement format changes (#77286) 2022-08-24 17:36:21 -05:00
J. Nick Koston d1486d04d9
Add support for bleak passive scanning on linux (#75542) 2022-08-24 12:17:28 -05:00
On Freund 635eda584d
Support for local push in Risco integration (#75874)
* Local config flow

* Local entities

* Apply suggestions from code review

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

* Address code review comments

* More type hints

* Apply suggestions from code review

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

* More annotations

* Even more annonations

* New entity naming

* Move fixtures to conftest

* Improve state tests for local

* Remove mutable default arguments

* Remove assertions for lack of state

* Add missing file

* Switch setup to fixtures

* Use error fixtures in test_config_flow

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-24 13:09:54 +02:00
Erik Montnemery 2497ff5a39
Add energy and gas sensors to demo integration (#77206) 2022-08-24 11:09:23 +02:00
Erik Montnemery 853fab0a68
Mock MQTT setup in hassio tests (#77245)
* Mock MQTT setup in hassio tests

* Tweak
2022-08-24 10:48:23 +02:00
Franck Nijhof dc17bca00c
Add config entry selector (#77108) 2022-08-24 00:29:30 +02:00
y34hbuddy 99ec341d6e
Refactor volvooncall to use ConfigFlow (#76680)
* refactor volvooncall to use ConfigFlow

* remove unused constant SIGNAL_STATE_UPDATED

* implemented feedback

* improve ConfigFlow UX by giving an option for region=None

* implemented more feedback

* next round of feedback

* implemented more feedback

* improve test coverage

* more test coverage

* Apply suggestions from code review

* implemented feedback on tests

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-23 20:58:17 +02:00
Erik Montnemery f61edf0778
Fix updating of statistics metadata name (#77207)
* Fix updating of statistics metadata name

* Fix test

* Test renaming
2022-08-23 17:51:17 +02:00
Abílio Costa b1d249c391
Update Whirlpool integration for 0.17.0 library (#76780)
* Update Whirlpool integration for 0.17.0 library

* Use dataclass for integration shared data
2022-08-23 17:25:58 +02:00
Erik Flodin 9e66b30af9
Add new sensors for energy produced (via Tibbber) (#76165)
The new sensors tibber:energy_(production|profit)_<home_id> are like the
existing consumption/totalCost ones except that they report outgoing
energy instead of incomeing.
2022-08-23 10:02:58 +02:00
Jan Bouwhuis be2366d773
Add `this` object to MQTT templates (#77142)
* Add `this` object to MQTT templates

* Only set once, remove hass guard

* Set once if there is a state

* Add tests TemplateStateFromEntityId calls once
2022-08-23 08:43:07 +02:00
J. Nick Koston c76dec138a
Discover new bluetooth adapters when they are plugged in (#77006) 2022-08-22 15:45:08 -10:00
Franck Nijhof 9843753f30
Add alias support to all triggers (#77184) 2022-08-22 17:43:09 -04:00
Klaas Schoute 29b502bb0a
Add diagnostics for Pure Energie integration (#77151)
* Add diagnostics for Pure Energie integration

* Update test after feedback
2022-08-22 22:18:17 +02:00
J. Nick Koston 3938015c93
Add support for scanners that do not provide connectable devices (#77132) 2022-08-22 14:02:26 -04:00
Erik Montnemery 61ff1b786b
Add a context variable holding a HomeAssistant reference (#76303)
* Add a context variable holding a HomeAssistant reference

* Move variable setup and update test

* Refactor

* Revert "Refactor"

This reverts commit 346d005ee6.

* Set context variable when creating HomeAssistant object

* Update docstring

* Update docstring

Co-authored-by: jbouwh <jan@jbsoft.nl>
2022-08-22 15:58:01 +02:00
Franck Nijhof 5a0e4fa5ee
Add hide attribute support to attribute selector (#77072)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-08-22 12:55:30 +02:00
sophof 8b46174667
Add NZBGet speed limit sensor (#77104)
* Added sensor for download rate limit

* Added test for speed limit
2022-08-22 09:02:05 +02:00
Maciej Bieniek cba2893862
Set quality scale to platinum in the NextDNS integration (#77099)
* Set quality scale to platinum

* Catch exceptions on when service calls

* Add tests
2022-08-21 22:08:57 -07:00
J. Nick Koston f3e432c9c7
Reduce bluetooth logging noise when an adapter is recovered (#77109) 2022-08-21 12:03:14 -10:00
Artem Draft ac56b3306a
Fix covers moving state in HomeKit (#77101)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-21 06:54:37 -10:00
J. Nick Koston ced8278e32
Auto recover when the Bluetooth adapter stops responding (#77043) 2022-08-20 11:58:14 -10:00
Jc2k eb0828efdb
Dont rely on config flow to monitor homekit_controller c# changes (#76861) 2022-08-20 10:58:59 -10:00
Kevin Addeman 8b1713a691
Add support for non-serialized devices (light, switch, cover, fan in RA3 Zones) (#75323)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-20 10:56:19 -10:00
Franck Nijhof 453307e01a
Add attribute support to state selector (#77071) 2022-08-20 13:30:38 -04:00
Klaas Schoute 0795d28ed5
Remove name option from config_flow for P1 Monitor (#77046) 2022-08-20 08:03:43 +02:00
Franck Nijhof 2d197fd59e
Add state selector (#77024)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-19 09:24:53 -04:00
Rami Mosleh 80c1c11b1a
Re-write tests for `transmission` (#76607)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-19 12:10:34 +02:00
Rami Mosleh 63dcd8ec08
Bump pydroid-ipcam to 2.0.0 (#76906)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-19 11:57:30 +02:00
Robert Hillis cbeaea98d1
Remove deprecated YAML configuration from Skybell (#76940) 2022-08-19 10:56:01 +02:00
Erik Montnemery 6d49362573
Revert rename of confirm step in zha config flow (#77010)
* Revert rename of confirm step in zha config flow

* Update tests
2022-08-19 09:33:57 +02:00
Rami Mosleh 72a4f8af3d
Add config flow to `pushover` (#74500)
* Add config flow to `pushover`

* Add tests for reauth

* add deprecated yaml issue

* address comments

* fix test error, other fixes

* update translations
2022-08-19 08:07:32 +02:00
Kevin Addeman 09aaf45f0a
Fix lutron caseta Sunnata Keypad support (#75324)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-18 16:23:20 -10:00
J. Nick Koston cd59d3ab81
Add support for multiple Bluetooth adapters (#76963) 2022-08-18 21:41:07 -04:00
Klaas Schoute b8d8d5540e
P1 Monitor add water meter support (#74004) 2022-08-18 22:35:28 +02:00
Erik Montnemery bb74730e96
Add support for USB dongles to the hardware integration (#76795)
* Add support for USB dongles to the hardware integration

* Update hardware integrations

* Adjust tests

* Add USB discovery for SkyConnect 1.0

* Improve test coverage

* Apply suggestions from code review

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

* Fix frozen dataclass shizzle

* Adjust test

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-18 21:52:12 +02:00
epenet fb5a67fb1f
Add vacuum checks to pylint plugin (#76560) 2022-08-18 19:22:08 +02:00
Paulus Schoutsen 6e92931087
Add file selector and file upload integration (#76672) 2022-08-18 12:02:12 -04:00
IceBotYT 92a9011953
Code quality changes for LaCrosse View (#76265) 2022-08-18 17:17:58 +02:00
Erik Montnemery 21ebd1f612
Simplify ZHA config entry title (#76991) 2022-08-18 10:58:44 -04:00
Erik Montnemery 88a5b90489
Minor improvement of zha test (#76993) 2022-08-18 16:52:41 +02:00
Vincent Knoop Pathuis 7a497c1e6e
Add Landis+Gyr Heat Meter integration (#73363)
* Add Landis+Gyr Heat Meter integration

* Add contant for better sensor config

* Add test for init

* Refactor some of the PR suggestions in config_flow

* Apply small fix

* Correct total_increasing to total

* Add test for restore state

* Add MWh entity that can be added as gas on the energy dashoard

* Remove GJ as unit

* Round MWh to 5 iso 3 digits

* Update homeassistant/components/landisgyr_heat_meter/const.py

* Update CODEOWNERS

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-08-18 16:40:04 +02:00
Erik Montnemery 60c8d95a77
Remove white_value support from light (#76926) 2022-08-18 08:21:05 -04:00
Franck Nijhof c212fe7ca5
Adjust version comparison in HA Cloud account linking (#76978) 2022-08-18 14:06:50 +02:00
Charles Garwood 1aef60c81c
Add screen on/off switch to Fully Kiosk Browser integration (#76957) 2022-08-18 13:33:38 +02:00
Maciej Bieniek 681b726128
Add parental control switches to NextDNS integration (#76559)
* Add new switches

* Make new switches disabled by default

* Update tests
2022-08-18 11:40:24 +02:00
Charles Garwood 6fbdc8e339
Add Fully Kiosk Browser number platform (#76952)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-08-18 10:51:28 +02:00
J. Nick Koston 03fac0c529
Fix race in notify setup (#76954) 2022-08-17 22:37:47 -04:00
Joakim Plate 3eaa1c30af
Restore fixed step fan speeds for google assistant (#76871) 2022-08-17 22:15:48 -04:00
Franck Nijhof 71cdc1645b
Refactor LaMetric integration (#76759)
* Refactor LaMetric integration

* Use async_setup

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

* use async_get_service

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

* Update tests/components/lametric/conftest.py

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

* Update tests/components/lametric/conftest.py

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

* Pass hassconfig

* Remove try/catch

* Fix passing hassconfig

* Use menu

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-18 00:49:11 +02:00
J. Nick Koston 071cae2c0b
Implement auto switching when there are multiple bluetooth scanners (#76947) 2022-08-17 12:38:04 -10:00
J. Nick Koston 7bf13167d8
Prevent bluetooth scanner from being shutdown by BleakClient not using BLEDevice (#76945) 2022-08-17 11:42:12 -10:00
J. Nick Koston 3bcc274dfa
Rework bluetooth to support scans from multiple sources (#76900) 2022-08-17 10:51:56 -10:00
Charles Garwood 79ab13d118
Add Fully Kiosk Browser switch platform (#76931) 2022-08-17 16:30:20 +02:00
Diogo Gomes ef6b6e7850
Remove deprecated utility_meter entity (#76480)
* remove deprecated utility_meter domain

* remove select_tariff
2022-08-17 16:25:34 +02:00
Charles Garwood 924704e0d1
Fix fully_kiosk button test docstring and function name (#76935)
Fix button test docstring and function name
2022-08-17 10:22:12 -04:00
Erik Montnemery 05e33821fd
Remove white_value support from group light (#76924) 2022-08-17 08:01:50 -04:00
Erik Montnemery d034ed1fc2
Remove some error prone code from Alexa tests (#76917) 2022-08-17 07:54:54 -04:00
Erik Montnemery 426a620084
Remove deprecated white_value support from template light (#76923) 2022-08-17 07:53:56 -04:00
Erik Montnemery 4cc1428eea
Add support for color_mode white to MQTT JSON light (#76918) 2022-08-17 13:07:50 +02:00
Erik Montnemery 0ed265e2be
Correct restoring of mobile_app sensors (#76886) 2022-08-17 10:53:05 +02:00