Commit Graph

13061 Commits

Author SHA1 Message Date
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