J. Nick Koston
d890598da7
Update PySwitchbot to improve connection reliability ( #75692 )
2022-07-24 16:38:07 -05:00
Aaron Bach
2d4bd4d7c1
Revert SimpliSafe auth flow to the quasi-manual OAuth method from 2021.11.0 ( #75641 )
...
* Revert "Migrate SimpliSafe to new web-based authentication (#57212 )"
This reverts commit bf7c99c1f8
.
* Tests 100%
* Version bump
* Add manifest version for custom component testing
* Remove manifest version
* Code review
* Fix tests
2022-07-24 22:09:02 +02:00
Jc2k
e18819c678
Support for encrypted BLE MiBeacon devices ( #75677 )
...
* Support for encrypted devices
* Sensor should use bindkey if available
* Error message if encryption fails
* Let mypy know this is always set by now
* Towards supporting encryption in step_user
* Add tests for the 4 new happy paths
* Add test coverage for failure cases
* Add strings
* Bump to 0.5.1. Legacy MiBeacon does not use an authentication token, so harder to detect incorrect key
* Add _title() helper
* Fix test after rebase
* Update homeassistant/components/xiaomi_ble/strings.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Remove unused lines
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 21:00:56 +02:00
J. Nick Koston
198167a2c8
Update switchbot to be local push ( #75645 )
...
* Update switchbot to be local push
* fixes
* fixes
* fixes
* fixes
* adjust
* cover is not assumed anymore
* cleanups
* adjust
* adjust
* add missing cover
* import compat
* fixes
* uses lower
* uses lower
* bleak users upper case addresses
* fixes
* bump
* keep conf_mac and deprecated options for rollback
* reuse coordinator
* adjust
* move around
* move around
* move around
* move around
* refactor fixes
* compat with DataUpdateCoordinator
* fix available
* Update homeassistant/components/bluetooth/passive_update_processor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/bluetooth/passive_update_coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/bluetooth/update_coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Split bluetooth coordinator into PassiveBluetoothDataUpdateCoordinator and PassiveBluetoothProcessorCoordinator
The PassiveBluetoothDataUpdateCoordinator is now used to replace instances
of DataUpdateCoordinator where the data is coming from bluetooth
advertisements, and the integration may also mix in active updates
The PassiveBluetoothProcessorCoordinator is used for integrations that
want to process each bluetooth advertisement with multiple processors
which can be dispatched to individual platforms or areas or the integration
as it chooes
* change connections
* reduce code churn to reduce review overhead
* reduce code churn to reduce review overhead
* Update homeassistant/components/bluetooth/passive_update_coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add basic test
* add basic test
* complete coverage
* Update homeassistant/components/switchbot/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/switchbot/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/switchbot/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/switchbot/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* lint
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 11:38:45 -05:00
J. Nick Koston
ba71a3c24d
Add Govee BLE integration ( #75631 )
...
* Add Govee BLE integration
* add missing files
* remove test file not needed yet
* fix
* add bbq sensors
* fixed lib
* bump again to fix the names
* fix discovery of the newer bbq devices
* fix the test to test the right thing
* verify no outstanding flows
* only accept entities that match the platform
* refactor
* refactor
* refactor
* Refactor PassiveBluetoothDataUpdateCoordinator to support multiple platforms
* cover
* Update for new model
* Update for new model
* Update tests/components/govee_ble/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* purge dead code
* backmerge from integration
* Update docstring
* Update docstring
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 10:39:23 +02:00
Dave T
7075032bf7
Fix diagnostics export for generic camera ( #75665 )
...
Fix url redaction and add tests
Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-07-24 10:21:01 +02:00
J. Nick Koston
82c92b5634
Add Moat (BLE) integration ( #75643 )
...
* Add Moat (BLE) integration
* fix pin
* resync
* Update tests/components/moat/test_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/moat/sensor.py
* backmerge from integration
* purge dead code
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 09:51:14 +02:00
J. Nick Koston
da131beced
Split bluetooth coordinator into two classes ( #75675 )
2022-07-23 19:33:47 -05:00
On Freund
7cf2d1759d
Upgrade pyrisco to 0.5.0 ( #75648 )
...
* Upgrade to pyrisco 0.4.0
* Parametrized error tests in config flow
* Inline error parameters
* Switch to RiscoCloud
2022-07-23 23:44:48 +02:00
J. Nick Koston
c5afaa2e6a
Refactor PassiveBluetoothDataUpdateCoordinator to support multiple platforms ( #75642 )
2022-07-23 13:03:01 -05:00
J. Nick Koston
240bbfa080
Retry later if bluetooth fails to start ( #75647 )
2022-07-23 12:00:34 -05:00
J. Nick Koston
759add5184
Add state class to HKC sensors ( #75662 )
2022-07-23 11:14:06 -05:00
Franck Nijhof
8d6247446b
Automatically set up Bluetooth during onboarding ( #75658 )
2022-07-23 10:47:12 -05:00
Jelte Zeilstra
5e10716dd8
Do not access hass.data in unifi test ( #75348 )
...
* Do not access hass.data in test
* Process review feedback
2022-07-23 12:42:43 +02:00
Jc2k
b60a59270c
Add support for rest of sensors for HHCCJCY01 ( #75646 )
2022-07-23 09:40:56 +01:00
J. Nick Koston
edaebcd85d
Pass in the bleak scanner instance to HKC ( #75636 )
2022-07-23 02:47:02 -05:00
J. Nick Koston
326e05dcf1
Fix async_get_scanner to return the correct bluetooth scanner ( #75637 )
2022-07-22 18:12:08 -05:00
Maciej Bieniek
cb543a21b3
Address NextDNS late review ( #75635 )
...
* Init instance attributes
* Remove condition
* Improve typing in tests
* Suggested change
2022-07-23 00:58:48 +02:00
Jc2k
402e533fef
Initial xiaomi_ble integration ( #75618 )
...
* Initial xiaomi_ble integration
* black
* Update homeassistant/components/xiaomi_ble/config_flow.py
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
* Update homeassistant/components/xiaomi_ble/config_flow.py
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
* Apply suggestions from code review
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
* Update tests/components/xiaomi_ble/test_config_flow.py
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
* Update homeassistant/components/xiaomi_ble/sensor.py
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
* Update tests/components/xiaomi_ble/test_config_flow.py
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
* Remove debug code
* Need 'proper' MAC when running tests on linux
* Need to use proper MAC so validation passes
* Add tests for already_in_progress and already_configured
* copy test, add session fixture
* fix test
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-23 00:55:06 +02:00
J. Nick Koston
6bb51782fa
Add missing config flow tests for sensorpush ( #75629 )
...
* Add missing config flow tests for sensorpush
* merge correct commits from integration
2022-07-23 00:45:22 +02:00
J. Nick Koston
88b9a51811
Fix inkbird config flow tests to correctly test discovery and user flow ( #75638 )
...
* Fix inkbird config flow tests to correctly test discovery and user flow
* Fix inkbird config flow tests to correctly test discovery and user flow
2022-07-23 00:43:13 +02:00
Maciej Bieniek
5b555066ea
Add new NextDNS sensors ( #74789 )
2022-07-23 00:18:22 +02:00
J. Nick Koston
19db6ecf6d
Add missing inkbird config flow tests ( #75630 )
2022-07-22 23:02:15 +02:00
J. Nick Koston
38bccadaa6
Add support for setting up and removing bluetooth in the UI ( #75600 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-07-22 13:19:53 -05:00
Martin Hjelmare
c05905ebda
Remove callback decorator from coroutine functions ( #75626 )
...
* Remove callback decorator from coroutine functions
* Remove some more callback decorators
2022-07-22 19:09:02 +02:00
Diogo F. Andrade Murteira
148f963510
Add Switchbot hygrometers ( #75325 )
...
* Switchbot add support for hygrometers
* Update CODEOWNERS
* Improve debug
* Remove redundant mention to temp unit
* Adopt FlowResultType
* Modify SwitchBot data within coordinator
* Increase logging for switchbot sensor
* Revert "Increase logging for switchbot sensor"
This reverts commit d8b377429c
.
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-22 11:03:02 -05:00
Erik Montnemery
fd6ffef52f
Support non-live database migration ( #72433 )
...
* Support non-live database migration
* Tweak startup order, add test
* Address review comments
* Fix typo
* Clarify comment about promoting dependencies
* Tweak
* Fix merge mistake
* Fix some tests
* Fix additional test
* Fix additional test
* Adjust tests
* Improve test coverage
2022-07-22 15:11:34 +02:00
Erik Montnemery
9d0a252ca7
Improve handling of MQTT config entry data ( #72691 )
...
* Improve handling of MQTT config entry data
* Add test
* Add warning
* Adjust tests
2022-07-22 13:36:43 +02:00
Erik Montnemery
606d544157
Use recorder get_instance function to improve typing ( #75567 )
2022-07-22 11:58:26 +02:00
J. Nick Koston
06115bcbff
Add inkbird (BLE) integration ( #75594 )
2022-07-21 22:17:09 -05:00
Aaron Bach
b0261dd2eb
Modify Guardian to store a single dataclass in `hass.data` ( #75454 )
...
* Modify Guardian to store a single dataclass in `hass.data`
* Clarity is better
* Allow entry unload to cancel task
2022-07-21 20:32:42 -06:00
J. Nick Koston
67e16d77e8
Add SensorPush BLE integration ( #75531 )
2022-07-21 20:31:23 -05:00
J. Nick Koston
90ca3fe350
Improve availability tracking and coordinator setup in bluetooth ( #75582 )
2022-07-21 19:16:45 -05:00
TheJulianJES
975378ba44
Add ZHA config option for "enhanced light transition from an off-state" ( #75151 )
...
* Add ZHA config option for "enhanced light transition from an off-state"
* Default option to disabled
* Always disable "enhanced light transition" for ZHA LightGroups
* Rename _enhanced_light_transition to _zha_config_enhanced_light_transition
* Remove LightGroup check, as config option always disables for groups
* Remove duplicated line
* Remove duplicated line
* Move ZHA config transition line below other config line
* Renamed comments of renamed variable in tests
color_provided_while_off -> new_color_provided_while_off
* Enable "enhanced light transitions" for testing
2022-07-21 19:46:16 -04:00
David F. Mulcahey
04c6b9c519
ZHA light entity cleanup ( #75573 )
...
* use base class attributes
* initial hue and saturation support
* spec is 65536 not 65535
* fixes
* enhanced current hue
* fix comparison
* clean up
* fix channel test
* oops
* report enhanced current hue
2022-07-21 17:54:50 -04:00
J. Nick Koston
f3c4bf571b
Raise on bad update data instead of log in PassiveBluetoothDataUpdateCoordinator ( #75536 )
2022-07-21 09:44:53 -05:00
Thibault Cohen
1d7d2875e1
Add websocket command recorder/import_statistics ( #73937 )
...
* Expose ws_add_external_statistics in websocket API
* Refactor
* Add tests
* Improve test coverage
Co-authored-by: Thibault Cohen <titilambert@users.noreply.github.com>
Co-authored-by: Erik <erik@montnemery.com>
2022-07-21 12:36:49 +02:00
Franck Nijhof
baeb55e313
Add sync methods for create/deleting issues in repairs ( #75557 )
2022-07-21 11:11:51 +02:00
Erik Montnemery
c861259749
Hide inactive repairs issues ( #75556 )
2022-07-21 10:56:53 +02:00
J. Nick Koston
6da25c733e
Add coordinator and entity for passive bluetooth devices ( #75468 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-20 15:54:37 -05:00
Ville Skyttä
b749622c01
Migrate Huawei LTE to new entity naming style ( #75303 )
2022-07-20 22:28:53 +03:00
J. Nick Koston
48e82ff62f
Fix failure to raise on bad YAML syntax from include files ( #75510 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-20 19:25:17 +02:00
Erik Montnemery
fb4aff25a2
Create issues in demo integration ( #75081 )
...
* Create issues in demo integration
* Add unfixable non-expiring issue
* Update test
* Adjust tests
* update translations
* add hassfest translation schema
* Update homeassistant/components/demo/translations/en.json
Co-authored-by: Zack Barett <zackbarett@hey.com>
* Rename Resolution Center -> Repairs
* Update homeassistant/components/demo/strings.json
Co-authored-by: Zack Barett <zackbarett@hey.com>
* Adjust hassfest to require description or fix_flow
* Update homeassistant/components/demo/repairs.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/demo/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add missing translation strings
* black
* Adjust repairs imports
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Zack Barett <zackbarett@hey.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-20 14:46:06 +02:00
Zach Berger
712492b066
Update awair SensorDeviceClass to specify icon ( #75385 )
2022-07-20 12:08:34 +02:00
Franck Nijhof
39dc9aa179
Rename Resolution Center -> Repairs ( #75486 )
2022-07-20 12:06:52 +02:00
Jan Bouwhuis
5ef92e5e95
Fix MQTT race awaiting an ACK when disconnecting ( #75117 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-07-20 11:58:54 +02:00
Franck Nijhof
11e7ddaa71
Plugwise prefer use of Adam instead of Anna ( #75161 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-20 11:58:17 +02:00
Franck Nijhof
460837e453
Allow account linking to phase out services ( #75447 )
2022-07-20 11:43:46 +02:00
Franck Nijhof
05d2b955ee
Migrate CPUSpeed to new entity naming style ( #75080 )
2022-07-20 11:31:17 +02:00
Franck Nijhof
b62ebbe974
Migrate DSMR to new entity naming style ( #75077 )
2022-07-20 11:30:08 +02:00
Franck Nijhof
0e59e8b925
Migrate Moon to new entity naming style ( #75085 )
2022-07-20 11:24:15 +02:00
uvjustin
d989e4373d
Remove websocket_api send_big_result ( #75452 )
2022-07-19 21:08:11 -07:00
mkmer
07b4d48e7c
Disable Aladdin Connect battery_level by default ( #75441 )
...
* Disable battery_level by default
* Removed async_setup_compnent, renamed constant.
2022-07-20 03:23:14 +02:00
uvjustin
6b60fb9541
Don't use executor in send_big_result ( #75427 )
2022-07-19 08:40:23 -05:00
Erik Montnemery
403bbda959
Rename resolution_center dismiss to ignore ( #75432 )
2022-07-19 13:58:39 +02:00
Erik Montnemery
c3d536b255
Store creation timestamps for resolution center issues ( #75430 )
2022-07-19 13:01:39 +02:00
Franck Nijhof
24b3b5fc46
Remove deprecated Senz YAML configuration ( #75419 )
2022-07-18 21:14:55 -07:00
Franck Nijhof
e65018fb85
Clean up deprecated connection class remainders ( #75421 )
2022-07-18 21:14:41 -07:00
Franck Nijhof
d05160a402
Remove deprecated Lyric YAML configuration ( #75418 )
2022-07-18 21:13:53 -07:00
J. Nick Koston
b37f15b1d5
Update bluetooth_le_tracker to use Bleak ( #75013 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-18 19:16:24 -05:00
J. Nick Koston
41e4b38c3a
Add device and advertisement to BluetoothServiceInfoBleak ( #75381 )
2022-07-18 17:58:08 -05:00
J. Nick Koston
1354952977
Migrate LIFX to config entry per device ( #74316 )
2022-07-18 17:56:34 -05:00
mkmer
983bcfa935
Bump AIOAladdinConnect to 0.1.27 ( #75400 )
2022-07-18 23:41:06 +02:00
stegm
45d1f8bc55
Address late review of kostal plenticore ( #75297 )
...
* Changtes from review #64927
* Fix unit tests for number.
* Changes from review.
2022-07-18 23:08:18 +02:00
Brett Adams
5928a7d494
Correct devices in Advantage Air ( #75395 )
2022-07-18 23:02:58 +02:00
Franck Nijhof
7adb0f0ef5
Custom component -> Custom integration ( #75404 )
2022-07-18 22:10:22 +02:00
Robert Svensson
3144d179e0
Make UniFi utilise forward_entry_setups ( #74835 )
2022-07-18 10:39:38 -05:00
David F. Mulcahey
6f5e4ca503
Fix ZHA light turn on issues ( #75220 )
...
* rename variable
* default transition is for color commands not level
* no extra command for groups
* don't transition color change when light off -> on
* clean up
* update condition
* fix condition again...
* simplify
* simplify
* missed one
* rename
* simplify
* rename
* tests
* color_provided_while_off with no changes
* fix missing flag clear
* more tests for transition scenarios
* add to comment
* fix comment
* don't transition when force on is set
* stale comment
* dont transition when colors don't change
* remove extra line
* remove debug print :)
* fix colors
* restore color to 65535 until investigated
2022-07-18 10:20:49 -04:00
Franck Nijhof
9d0c91d648
Migrate Sensor.Community to new entity naming style ( #75014 )
2022-07-18 15:13:46 +02:00
Robert Hillis
6fdb414b58
Migrate Goalzero to new entity naming style ( #75358 )
2022-07-18 12:12:13 +02:00
Allen Porter
ca5065a627
Improve google calendar config flow timeout error messages ( #75364 )
2022-07-18 11:44:51 +02:00
J. Nick Koston
a8bb00f305
Fix availability in HKC for sleeping bluetooth devices ( #75357 )
2022-07-17 17:45:04 -05:00
J. Nick Koston
91f2550bc3
Change manufacturer_data_first_byte to manufacturer_data_start ( #75379 )
2022-07-17 17:25:45 -05:00
J. Nick Koston
a95c2c7850
Avoid throwing on unsupported bleak client filter ( #75378 )
...
* Avoid throwing on unsupported bleak client filter
* Avoid throwing on unsupported bleak client filter
2022-07-17 16:13:12 -05:00
Allen Porter
939c33b1dc
Exclude calendar description from recorder ( #75375 )
2022-07-17 13:31:14 -07:00
Franck Nijhof
98dae902a1
Migrate PVOutput to new entity naming style ( #75016 )
2022-07-17 16:45:38 +01:00
J. Nick Koston
8d63f81821
Add bluetooth discovery to HomeKit Controller ( #75333 )
...
Co-authored-by: Jc2k <john.carr@unrouted.co.uk>
2022-07-17 08:19:05 -05:00
J. Nick Koston
9a27f1437d
Use default encoder when saving storage ( #75319 )
2022-07-17 14:25:19 +02:00
Brett Adams
2eebda63fd
Correct docstrings in Advantage Air ( #75344 )
2022-07-17 14:00:01 +02:00
Christopher Bailey
59c99e0d60
Improve UniFi Protect unauth handling ( #75269 )
2022-07-16 17:28:17 -05:00
mvn23
4ceda65889
Update pyotgw to 2.0.0 ( #75285 )
...
* Update pyotgw to 2.0.0
* Include updated tests
2022-07-16 22:26:22 +02:00
Aaron Bach
08d6487997
Handle (and better log) more AirVisual cloud API errors ( #75332 )
2022-07-16 14:04:44 -06:00
Jelte Zeilstra
514e826fed
Add install UniFi device update feature ( #75302 )
...
* Add install UniFi device update feature
* Add tests for install UniFi device update feature
* Fix type error
* Process review feedback
* Process review feedback
2022-07-16 20:39:11 +02:00
J. Nick Koston
b9c8d65940
Restore accessory state into pairing using new HKC methods ( #75276 )
2022-07-16 12:49:15 -05:00
J. Nick Koston
ecc219fbc1
Include the source in the bluetooth service info ( #75112 )
2022-07-16 11:02:08 -05:00
Franck Nijhof
393610c534
Migrate Season to new entity naming style ( #75088 )
2022-07-16 06:28:13 -07:00
Franck Nijhof
8d88562d40
Migrate Uptime to new entity naming style ( #75090 )
2022-07-16 06:27:20 -07:00
Franck Nijhof
13cea26e74
Migrate Tailscale to new entity naming style ( #75018 )
2022-07-16 06:21:19 -07:00
Franck Nijhof
3f3ed3a2c5
Add multi-factor authentication support to Verisure ( #75113 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-15 10:52:40 +02:00
Jc2k
ff297cb902
Bump aiohomekit to 1.0.0 ( #75198 )
...
* Bump to 1.0.0rc1
* 1.0.0rc2
* fix one of the tests
* simplify test
* 1.0.0
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-14 16:51:48 -05:00
J. Nick Koston
61cc9f5288
Consolidate executor jobs when loading integration manifests ( #75176 )
2022-07-14 13:06:08 -07:00
Franck Nijhof
fef1b842ce
Update wled to 0.14.1 ( #75174 )
2022-07-14 13:04:46 -07:00
Franck Nijhof
9a4a7e2f4d
Extend failed login message with the request URL ( #75218 )
2022-07-14 21:43:14 +02:00
Thomas Hollstegge
f0cc565f6c
Fix Alexa: Only trigger doorbell event on actual state change to "ON" ( #74924 )
...
* Alexa: Only trigger doorbell event on actual state change to "ON"
* Remove unnecessary check for new_state
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* First check state is `on` before checking the old state
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-07-14 12:40:53 -07:00
uvjustin
75892385bb
Fix playback of hls cameras in stream ( #75166 )
2022-07-14 12:24:24 -07:00
J. Nick Koston
666f715e76
Avoid importing MQTT into core for ServiceInfo dataclass ( #74418 )
...
* Avoid importing MQTT into core for discovery dataclass
Likely fixes #73863
* relo
* adjust
* rename
* rename
* rename
* adjust missed imports
* drop compat
* fix conflict correctly
* Update homeassistant/helpers/config_entry_flow.py
* fix black from trying to fix the conflict in github
2022-07-14 11:09:09 -05:00
J. Nick Koston
89985b93fb
Avoid loading platforms in HKC if we are going to raise ConfigEntryNotReady ( #75177 )
2022-07-14 10:17:16 -05:00
J. Nick Koston
a31dde9cb4
Await startup in homekit controller ( #75021 )
2022-07-14 07:44:27 -05:00
J. Nick Koston
a3c1926da5
Add mock_bluetooth fixture ( #75075 )
2022-07-14 07:40:17 -05:00
Chris Talkington
20432ccc76
Migrate roku to new entity naming ( #74819 )
...
* migrate roku to new entity naming
* Update binary_sensor.py
* Update sensor.py
* Update test_binary_sensor.py
* Update sensor.py
* Update entity.py
* Update media_player.py
* Update remote.py
* Update media_player.py
* Update remote.py
* Update entity.py
* Update entity.py
* Update entity.py
* Update entity.py
2022-07-14 07:02:13 -05:00
Franck Nijhof
3bccac9949
Verisure config flow cleanups ( #75144 )
2022-07-14 11:37:59 +02:00
Michał Huryn
169264db66
Fix Blebox light scenes ( #75106 )
...
* Bug fix for light platform, when async_turn_on recieves multiple keys.
* Changes according to @MartinHjelmare suggestion.
* Moved effect set call in BleBoxLightEntity.async_turn_on method.
* Added tests for effect in light platform. Added ValueError raise if effect not in effect list.
* Removed duplicated line from test as @MartinHjelmare suggested.
2022-07-14 11:21:01 +02:00
J. Nick Koston
08ff1b8986
Fix flapping system log test ( #75111 )
2022-07-14 11:05:52 +02:00
Franck Nijhof
a720b2989a
Migrate RDW to new entity naming style ( #75017 )
2022-07-14 10:56:14 +02:00
Franck Nijhof
2aa98da624
Migrate Whois to new entity naming style ( #75019 )
2022-07-14 10:56:01 +02:00
Joakim Plate
755abbe2d0
Make sure device tuple is a list on save ( #75103 )
2022-07-13 13:05:43 -07:00
Aaron Bach
ffeac9714f
Ensure SimpliSafe diagnostics redact the `code` option ( #75137 )
2022-07-13 20:52:13 +02:00
Bouwe Westerdijk
34f1d5e094
Add Plugwise number platform ( #74655 )
2022-07-13 09:21:58 +02:00
Paulus Schoutsen
41ec8cd354
Expose supported brands via API ( #75074 )
2022-07-12 13:49:54 -07:00
Franck Nijhof
397f94ee50
Migrate DSMR to use keys for entity unique ID ( #74895 )
2022-07-12 20:06:13 +02:00
Erik Montnemery
b0fde206b8
Teach resolution center about fixing issues ( #74694 )
2022-07-12 10:26:06 -07:00
Gabe Cook
5489b2111a
Fix Ruckus Unleashed SSH connection failures ( #75032 )
2022-07-12 16:06:38 +02:00
Duco Sebel
5fdae0fc5b
Migrate HomeWizard to new entity naming style ( #74958 )
2022-07-12 15:56:16 +02:00
Jan Bouwhuis
5930f056a8
Mqtt support config_entry unload ( #70149 )
...
* squashed commits for rebase
* Flake
* Fix reloading issue manual legacy items
* Improve ACS sync for unsubscribe at disconnect
* Processed review comments
* Update homeassistant/components/mqtt/client.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* No need to await entry setup
* Remove complication is_connected
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-07-12 11:07:18 +02:00
Michał Huryn
6a37600936
Remove incorrect device class from blebox button ( #75042 )
...
* Removed redundant attr device class from button.
* Removed irrelevant test for checking buttons device_class.
2022-07-12 10:01:53 +02:00
Erik Montnemery
2e228b2608
Tweak handling of entities with `has_entity_name` set ( #74948 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-11 15:10:53 -07:00
J. Nick Koston
da027fa390
JSON serialize NamedTuple subclasses with aiohttp ( #74971 )
2022-07-11 14:46:55 -07:00
puddly
2986a2f01b
Identify the active ZHA coordinator device in API responses ( #74739 )
...
* Remove deprecated zigpy properties
* Create a `ZHADevice.is_active_coordinator` property
* Add `@puddly` to the ZHA code owners
* Create a `ZHAGateway.coordinator_ieee` shortcut property
2022-07-11 14:19:30 -04:00
Matthias Alphart
75abf87611
Migrate Fronius to new entity naming style ( #74974 )
2022-07-11 09:16:29 -07:00
Brett Adams
01ca7f657c
Shorten Entity Name in Aussie Broadband ( #74946 )
2022-07-11 17:43:32 +02:00
Paulus Schoutsen
6fd47d035e
Add basic Rhasspy integration ( #74942 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-07-11 08:40:52 -07:00
J. Nick Koston
c2fefe03b2
Add support for subscribing to bluetooth callbacks by address ( #74773 )
2022-07-11 08:14:00 -07:00
Franck Nijhof
af2feb3d40
Update pyupgrade to v2.37.1 ( #74989 )
2022-07-11 16:54:01 +02:00
Maciej Bieniek
c1a4dc2f22
Add NextDNS switch platform ( #74512 )
...
* Add switch platform
* Use lambda to get state
* Use async with timeout
* Add tests
* Use correct type
* Use Generic for coordinator
* Use TCoordinatorData
* Cleanup generic
* Simplify coordinator data update methods
* Use new entity naming style
* Remove unnecessary code
* Only the first word should be capitalised
* Suggested change
* improve typing in tests
* Improve typing intests
* Update tests/components/nextdns/__init__.py
* black
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-07-11 16:00:13 +02:00
Erik Montnemery
9d2c213903
Support overriding unit of temperature number entities ( #74977 )
2022-07-11 14:49:36 +02:00
epenet
ce353460b3
Fix Withings re-authentication flow ( #74961 )
2022-07-11 14:27:54 +02:00
Michał Huryn
ca93aacc57
Add blebox tvLiftBox support ( #74395 )
...
* Added tvLiftBox support.
* Changes after @epenet code review.
* After @epenet code review, dictionaries moved to relevant modules.
* Import path changed to full path.
* Removed redundant code in BLEBOX_TO_<platform>_DEVICE_CLASSES for switch and button platforms.
* Post isort on covers.
* Added tests, required version bump. As property was added inside dependency.
2022-07-11 12:24:37 +02:00
henryptung
7d27dad190
Remove pip --prefix workaround ( #74922 )
...
Remove --prefix workaround
See discussion in https://github.com/home-assistant/core/issues/74405 .
This workaround is no longer needed on pip >= 21.0 and actively causes problems for pip >= 21.3.
2022-07-11 11:33:28 +02:00
Franck Nijhof
34b8f2b283
Migrate Ambee to new entity naming style ( #74877 )
2022-07-11 09:51:01 +02:00
Franck Nijhof
eb92f0e16c
Migrate Forecast.Solar to new entity naming style ( #74898 )
2022-07-11 09:44:56 +02:00
Allen Porter
f4e61eff18
Add update coordinator for google calendar ( #74690 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-10 21:24:52 -07:00
Brandon Rothweiler
53502eb662
Migrate Mazda to new entity naming style ( #74939 )
2022-07-10 21:04:54 -07:00
Brett Adams
d0f71d2e53
Migrate Aussie Broadband to new entity naming style ( #74937 )
2022-07-10 21:04:18 -07:00
Brett Adams
7a729aed54
Migrate Advantage Air to new entity naming style ( #74940 )
2022-07-10 21:03:48 -07:00
David F. Mulcahey
6f28e4bfee
Migrate ZHA to new entity naming standard ( #74846 )
2022-07-10 13:17:59 -07:00
Franck Nijhof
d6ceebbb68
Migrate Met.no to new entity naming style ( #74908 )
2022-07-10 13:13:22 -07:00
Aaron Bach
5971ab6549
Migrate Flo to new entity naming style ( #74744 )
2022-07-10 21:40:06 +02:00
Jc2k
59170d3c54
Prepare homekit_controller for _hap._udp.local. ( #74857 )
...
* Prepare homekit_controller for _hap._udp.local.
2022-07-10 19:50:54 +01:00
David F. Mulcahey
edaafadde0
Remove ZHA device storage ( #74837 )
...
* Remove ZHA device storage
* remove storage file if it exists
2022-07-10 13:46:22 -04:00
Alexei Chetroi
240a83239a
Correctly handle device triggers for missing ZHA devices ( #74894 )
2022-07-10 13:35:45 -04:00
Allen Porter
6f9fcdff99
Improve calendar error handling to match best practices ( #74891 )
2022-07-10 10:04:57 -07:00
epenet
40ee7bab8f
Fix false-positive in pylint plugin ( #74244 )
2022-07-10 00:31:09 +02:00
J. Nick Koston
157d6dc83f
Add missing Start Dimmer mapping for bond buttons ( #74555 )
2022-07-09 23:45:49 +02:00
Franck Nijhof
0f813b61c3
Migrate Elgato to new entity naming style ( #74590 )
2022-07-09 23:41:04 +02:00
Franck Nijhof
81e7eb623b
Migrate Twente Milieu to new entity naming style ( #74593 )
2022-07-09 23:40:55 +02:00
Allen Porter
1c4fee65c0
Migrate nest to new entity naming style ( #74724 )
2022-07-09 19:21:53 +02:00
Guido Schmitz
72d134be52
Migrate devolo Home Network to new entity naming ( #74741 )
2022-07-09 19:05:49 +02:00
Duco Sebel
124c8e8f73
Add sensors for HomeWizard Watermeter ( #74756 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-09 18:39:30 +02:00
Joakim Plate
3a5cca3ff2
Convert rfxtrx to entity naming ( #74720 )
2022-07-09 17:15:08 +02:00
Robert Hillis
e17db1fd0c
Remove deprecated yaml config from Steam ( #74805 )
2022-07-09 16:43:50 +02:00
J. Nick Koston
f4c333626e
Add coverage for lutron caseta bridges to hkc ( #74765 )
2022-07-09 08:29:18 -05:00
J. Nick Koston
a697672944
Add bluetooth integration ( #74653 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-07-08 18:55:31 -05:00
kpine
c27fbce7d0
Fix KeyError from zwave_js diagnostics ( #74579 )
2022-07-09 00:20:44 +02:00
Benoit Anastay
766523cf8c
Fix error with HDD temperature report in Freebox integration ( #74718 )
...
* Fix error whith HDD temperature report
There was a non handled error case, documented in issue https://github.com/home-assistant/core/issues/43812 back in 2020 and the fix wasn't applied
* Use get method instead of ignoring the sensor
* Update test values
Add idle state drive with unkown temp
* update Tests for system sensors api
* Fix booleans values
* Fix disk unique_id
There was a typo in the code
2022-07-08 14:22:31 -07:00
Antonino Piazza
4209d7733b
Add huawei_lte wifi guest network switch ( #71035 )
2022-07-08 23:09:03 +03:00
Allen Porter
ff324ab2fb
Attempt to fix flaky test by waiting for setup to complete ( #74734 )
2022-07-08 09:50:56 -07:00
Allen Porter
08d8304a52
Migrate google calendar to new entity naming ( #74727 )
...
* Migrate google calendar to new entity naming
* Update homeassistant/components/google/calendar.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-07-08 07:59:50 -07:00
Robert Svensson
3b3766fbe0
Bump deconz dependency to fix #74523 ( #74710 )
2022-07-08 12:54:09 +02:00
Maciej Bieniek
fd7330ea77
Bump NextDNS backend library ( #74611 )
2022-07-08 09:48:46 +02:00
Franck Nijhof
ba0b98ef32
Remove deprecated Spotify YAML configuration ( #74604 )
2022-07-08 08:30:01 +02:00
Allen Porter
561c9a77d8
Add google calendar service proper exception handling ( #74686 )
2022-07-07 20:50:19 -07:00
Erik Montnemery
0e3f7bc63a
Resolution center MVP ( #74243 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-07 20:49:07 -07:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Kostas Chatzikokolakis
3f53ed5d5c
Add trigger/arm_custom_bypass to Template Alarm Control Panel ( #74629 )
2022-07-07 20:31:03 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Franck Nijhof
68ccb96089
Refactor CI ( #74014 )
2022-07-07 18:53:24 +02:00
J. Nick Koston
1dd9e705f2
Switch dispatcher to use async_run_hass_job ( #74514 )
...
* Switch dispatcher to use async_run_hass_job
- Since we already wrap all the callbacks in catch_log_exception
we can use async_run_hass_job here
- The overhead of wrapping the call in a call_soon, queuing it
and running it later usually exceeds the overhead of running
the job itself
* fix size change during iteration
* fix out of order send
* fix missing mocking in unifi test
* Fix Legrand Home+ Control updating entities before the coordinator update had finished
* stray debug
2022-07-07 10:39:05 -05:00
Franck Nijhof
323d4a0e1b
Use FlowResultType enum in Plugwise tests ( #74638 )
2022-07-07 17:25:23 +02:00
Diogo Gomes
4e2de2479a
Add SetSystemDateandTime Button ( #66419 )
...
* add SetSystemDateandTime
* fix
* address review
* follow recommendation to set date and time on start
* add set date and time button test
2022-07-07 16:25:44 +02:00
Erik Montnemery
996544da2d
Poll cast groups when media player is added or reconnected ( #74610 )
2022-07-07 14:51:16 +02:00
Franck Nijhof
2169b70874
Use FlowResultType enum in WLED tests ( #74594 )
2022-07-07 12:31:54 +02:00
Franck Nijhof
4fcf8280f6
Use FlowResultType enum in Tuya tests ( #74596 )
2022-07-07 12:31:19 +02:00
jjlawren
ba7ad1029c
Remove legacy Sonos grouping services ( #74476 )
2022-07-07 12:17:13 +02:00
J. Nick Koston
0c29b68cf8
Switch linear search to a dict lookup for ip bans ( #74482 )
2022-07-07 10:57:44 +02:00
Robert Svensson
b071affcb4
Use pydeconz interface controls for cover platform ( #74535 )
2022-07-07 00:31:47 +02:00
J. Nick Koston
332cf3cd2d
Resolve and caches paths for CachingStaticResource in the executor ( #74474 )
2022-07-06 13:49:48 -05:00
Maciej Bieniek
41fd1a24bb
Add NextDNS button platform ( #74492 )
...
* Add button platform
* Add button tests
* Fix typo
* Use Platform enum
* Fix coordinator type
2022-07-06 16:29:53 +02:00
Robert Svensson
ef6fd78ede
Use FlowResultType in Axis config flow tests ( #74496 )
2022-07-06 09:54:26 +02:00
Guido Schmitz
1b37d9cbc6
Use FlowResultType in Devolo Home Control tests ( #74490 )
...
* Use FlowResultType in devolo Home Control tests
* Add return types
2022-07-06 09:52:41 +02:00
Robert Svensson
05416f56aa
Use FlowResultType in deCONZ config flow tests ( #74495 )
2022-07-06 09:45:30 +02:00
J. Nick Koston
ce35324e73
Cache the response from config/entity_registry/list ( #74443 )
2022-07-05 21:11:51 -07:00
J. Nick Koston
3875fc5953
Cache the response from config/device_registry/list ( #74483 )
2022-07-05 21:08:39 -07:00
J. Nick Koston
df6892b908
Offer HKC local push control option when there are multiple zeroconf homekit matches ( #74441 )
2022-07-05 21:02:18 -07:00
Maciej Bieniek
a70cb8af78
Add NextDNS diagnostics platform ( #74367 )
...
Add diagnostics platform
2022-07-05 20:14:56 -07:00
Maciej Bieniek
f5e3344bfc
Add NextDNS system health ( #74368 )
...
Add system_health
2022-07-05 20:10:04 -07:00
Erik Montnemery
a7158fee67
Revert "Migrate aemet to native_*" ( #74471 )
2022-07-05 22:24:08 +02:00
J. Nick Koston
f6cb2833ca
Improve fans in homekit_controller ( #74440 )
2022-07-05 09:25:30 -05:00
Rami Mosleh
b09aaba421
Add type hints and code cleanup for mikrotik ( #74296 )
...
* Add type hints and code cleanup for mikrotik
* update test and increase coverage
* move setup_mikrotik_entry to __init__.py
2022-07-05 09:16:38 +02:00
epenet
18840c8af5
Add instance attributes to GeolocationEvent ( #74389 )
2022-07-04 16:43:53 +02:00
J. Nick Koston
8d0e54d776
Use the orjson equivalent default encoder when save_json is passed the default encoder ( #74377 )
2022-07-04 08:41:23 -05:00
Guido Schmitz
402a40c108
Remove explicit use of mock_zeroconf in devolo Home Network ( #74390 )
2022-07-04 14:59:24 +02:00
J. Nick Koston
6c3baf03aa
Make dispatcher setup lazy ( #74374 )
2022-07-04 14:58:35 +02:00
epenet
14e5001d0c
Cleanup known_devices.yaml in device_tracker tests ( #74404 )
2022-07-04 14:10:25 +02:00
Erik Montnemery
0768ed453d
Migrate aemet to native_* ( #74037 )
2022-07-04 14:06:32 +02:00
Paulus Schoutsen
b62c0dcb32
Guard invalid data sensor significant change ( #74369 )
2022-07-03 22:03:13 -07:00
J. Nick Koston
02c7261b74
Small naming improvements and basic tests for ecobee 501s ( #74370 )
2022-07-03 16:32:30 -05:00
J. Nick Koston
30a5df5895
Append name char value from the service to HomeKit Controller Entities ( #74359 )
2022-07-03 15:47:54 -05:00
Dave T
737a1fd9fa
Dont substitute user/pass for relative stream urls on generic camera ( #74201 )
...
Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-07-03 13:26:00 -07:00
Maciej Bieniek
84119eefaa
Add NextDNS integration ( #74150 )
...
* Initial commit
* Update manifest
* Add first test
* Simplify init
* More tests
* Update tests
* More tests
* More tests
* Add tests for sensor platform
* More tests for sensor platform
* Add tests for system_health
* Fix typo
* Improve test coverage
* Improve test coverage
* Add tests for diagnostics
* Add comment
* Run hassfest
* Fix typo
* Run gen_requirements_all
* Fix tests
* Change key name in diagnostics
* Remove diagnostics and system_health platforms
* Bump library
2022-07-03 09:51:50 -07:00
Michał Huryn
e7e940afa5
Address Blebox uniapi review sidenotes ( #74298 )
...
* Changes accordingly to sidenotes given by @MartinHjelmare in pull #73834 .
* Mini version bump according to notes in pull #73834 .
* Error message fix, test adjustment.
2022-07-03 17:06:38 +02:00