Commit graph

13208 commits

Author SHA1 Message Date
J. Nick Koston
33b194e48d
Switch a few recent merges to use FlowResultType (#76416) 2022-08-07 10:01:32 -10:00
Aaron Bach
e89459453b
Add more controller-related RainMachine diagnostics (#76409) 2022-08-07 13:44:27 -06:00
Avi Miller
d14b76e7fc
Enable the LIFX diagnostic buttons by default (#76389) 2022-08-07 08:45:26 -10:00
Martin Hjelmare
a6963e6a38
Add zwave_js usb port selection (#76385) 2022-08-07 11:06:03 -04:00
J. Nick Koston
1fe44d0997
Ensure bluetooth recovers if Dbus gets restarted (#76249) 2022-08-07 11:03:56 -04:00
Leonardo Figueiro
34984a8af8
Add switch to wilight (#62873)
* Created switch.py and support

* updated support.py

* test for wilight switch

* Update for Test

* Updated test_switch.py

* Trigger service with index

* Updated support.py and switch.py

* Updated support.py

* Updated switch.py as PR#63614

* Updated switch.py

* add type hints

* Updated support.py

* Updated switch.py

* Updated switch.py and services.yaml

* Updated pywilight

* Update homeassistant/components/wilight/switch.py

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

* Update homeassistant/components/wilight/switch.py

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

* Update homeassistant/components/wilight/switch.py

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

* Update homeassistant/components/wilight/switch.py

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

* Update ci.yaml

* Update ci.yaml

* Updated as pywilight

Renamed Device as PyWiLightDevice in pywilight.

* Updated as pywilight

Renamed Device as PyWiLightDevice in pywilight.

* Updated as pywilight

Renamed Device as PyWiLightDevice in pywilight.

* Updated as pywilight

Renamed Device as PyWiLightDevice in pywilight.

* Update switch.py

* Update homeassistant/components/wilight/support.py

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

* Update support.py

* Update switch.py

* Update support.py

* Update support.py

* Update switch.py

* Update switch.py

* Update services.yaml

* Update switch.py

* Update services.yaml

* Update switch.py

* Update homeassistant/components/wilight/switch.py

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

* Update homeassistant/components/wilight/switch.py

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

* Update homeassistant/components/wilight/switch.py

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

* Update switch.py

* Update switch.py

* Update switch.py

* Update test_switch.py

* Update test_switch.py

* Update test_switch.py

* Decrease exception scope

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-07 11:07:01 +02:00
Avi Miller
74cfdc6c1f
Add identify and restart button entities to the LIFX integration (#75568) 2022-08-06 17:28:30 -10:00
Martin Hjelmare
e864b82c03
Improve mysensors config flow (#75122)
* Improve mysensors config flow

* Improve form input order

* Update flow tests
2022-08-07 01:22:50 +02:00
Jc2k
1aa0e64354
Update gree to use the network component to set discovery interfaces (#75812) 2022-08-06 21:45:44 +01:00
Robert Svensson
c2f026d0a7
Minor deCONZ clean up (#76323)
* Rename secondary_temperature with internal_temperature

* Prefix binary and sensor descriptions matching on all sensor devices with COMMON_

* Always create entities in the same order

Its been reported previously that if the integration is removed and setup again that entity IDs can change if not sorted in the numerical order

* Rename alarmsystems to alarm_systems

* Use websocket enums

* Don't use legacy pydeconz constants

* Bump pydeconz to v103

* unsub -> unsubscribe
2022-08-06 01:34:27 +02:00
Joakim Plate
cdde4f9925
Add bluetooth API to allow rediscovery of address (#76005)
* Add API to allow rediscovery of domains

* Switch to clearing per device

* Drop unneded change
2022-08-05 14:49:34 +02:00
Jan Bouwhuis
741efb89d5
Remove deprecated send_if_off option for MQTT climate (#76293)
* Remove `send_if_off` option for mqtt climate

* Use cv.remove()
2022-08-05 13:17:46 +02:00
Erik Montnemery
9aa8838479
Allow storing arbitrary data in repairs issues (#76288) 2022-08-05 13:16:29 +02:00
Erik Montnemery
b366090175
Allow creating fixable repairs issues without flows (#76224)
* Allow creating fixable repairs issues without flows

* Add test

* Adjust test
2022-08-05 12:07:51 +02:00
Erik Montnemery
3b29cbcd61
Support creating persistent repairs issues (#76211) 2022-08-05 10:11:20 +02:00
Franck Nijhof
0df4642b62
Remove YAML configuration from Simplepush (#76175) 2022-08-04 21:03:26 +02:00
J. Nick Koston
02ad4843b8
Fix flux_led ignored entries not being respected (#76173) 2022-08-04 19:44:22 +02:00
Aaron Bach
b2dc810ea4
More explicitly call out special cases with SimpliSafe authorization code (#76232) 2022-08-04 19:43:02 +02:00
J. Nick Koston
5d7cef6416
Fix race in bluetooth async_process_advertisements (#76176) 2022-08-04 17:58:15 +02:00
J. Nick Koston
63b454c9ed
BLE pairing reliablity fixes for HomeKit Controller (#76199)
- Remove the cached map from memory when unpairing so
  we do not reuse it again if they unpair/repair

- Fixes for accessories that use a config number of
  0

- General reliablity improvements to the pairing process
  under the hood of aiohomekit
2022-08-04 16:38:55 +01:00
Maciej Bieniek
88a5ab1e1e
Bump NextDNS library (#76207) 2022-08-04 14:01:26 +02:00
Jc2k
aa3097a3be
Add a Thread network status sensor to homekit_controller (#76209) 2022-08-04 11:55:29 +01:00
Jc2k
d5695a2d86
Fix some homekit_controller pylint warnings and (local only) test failures (#76122) 2022-08-04 11:30:37 +01:00
Jan Bouwhuis
e6e5b98bc7
Allow climate operation mode fan_only as custom mode in Alexa (#76148)
* Add support for FAN_ONLY mode

* Tests for fan_only as custom mode
2022-08-04 09:13:20 +02:00
Jc2k
72a0ca4871
Add homekit_controller thread node capabilties diagnostic sensor (#76120) 2022-08-03 22:03:10 +01:00
Martin Hjelmare
842cc060f8
Fix zwave_js addon info (#76044)
* Add add-on store info command

* Use add-on store info command in zwave_js

* Fix init tests

* Update tests

* Fix method for addon store info

* Fix response parsing

* Fix store addon installed response parsing

* Remove addon info log that can contain network keys

* Add supervisor store addon info test

* Default to version None if add-on not installed

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-08-03 22:33:05 +02:00
J. Nick Koston
bf931f1225
Handle additional bluetooth start exceptions (#76096) 2022-08-02 13:46:43 -10:00
Jc2k
a0adfb9e62
Fix serialization of Xiaomi BLE reauth flow (#76095)
* Use data instead of context to fix serialisation bug

* Test change to async_start_reauth
2022-08-02 21:38:38 +01:00
Jc2k
f043203b56
Add optional context parameter to async_start_reauth (#76077) 2022-08-02 18:20:37 +02:00
Erik Montnemery
32b1259786
Support multiple trigger instances for a single webhook (#76037) 2022-08-02 08:54:28 +02:00
epenet
3eafe13085
Improve UI in pylint plugin (#74157)
* Adjust FlowResult result type

* Adjust tests

* Adjust return_type

* Use StrEnum for base device_class

* Add test for device_class

* Add and use SentinelValues.DEVICE_CLASS

* Remove duplicate device_class

* Cleanup return-type

* Drop inheritance check from device_class

* Add caching for class methods

* Improve tests

* Adjust duplicate checks

* Adjust tests

* Fix rebase
2022-08-02 00:03:52 +02:00
Jc2k
652a8e9e8a
Add reauth flow to xiaomi_ble, fixes problem adding LYWSD03MMC (#76028) 2022-08-01 22:04:16 +01:00
rhadamantys
7141c36f8b
Fix invalid enocean unique_id (#74508)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-01 17:42:47 +02:00
Aaron Godfrey
91384e07d0
Add unique id for todoist calendar entity (#75674)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-01 17:15:51 +02:00
Joakim Plate
2dd62b14b6
Convert fjäråskupan to built in bluetooth (#75380)
* Add bluetooth discovery

* Use home assistant standard api

* Fixup manufacture data

* Adjust config flow to use standard features

* Fixup tests

* Mock bluetooth

* Simplify device check

* Fix missing typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-01 16:56:08 +02:00
epenet
1a40d400dc
Add function/property name to pylint message (#75913) 2022-08-01 14:09:47 +02:00
Jc2k
0167875789
Add physical controls lock to homekit_controller (#75993) 2022-07-31 13:30:29 -07:00
mvn23
abb7495ced
Handle failed connection attempts in opentherm_gw (#75961) 2022-07-31 12:21:25 +02:00
Alex Henry
ace359b1bd
Add multi-zone support to Anthem AV receiver and distribution solution (#74779)
* Add multi-zone support to Anthem AV receiver and distribution amplifier

* Fix typo in comment

* Convert properties to attribute and add test

* Migrate entity name

* Fix after rebase add strict typing and bump version

* fix typing

* Simplify test

* Small improvement

* remove dispatcher send and use callback
2022-07-30 14:04:24 +02:00
J. Nick Koston
80a9659524
Update to bleak 0.15 (#75941) 2022-07-29 17:53:33 -07:00
Alex Henry
bbd7041a73
Refactor and improve anthemav (#75852) 2022-07-29 03:20:05 +02:00
Marc Mueller
003fe9220e
Add protocol types for device_tracker async_see and see (#75891) 2022-07-29 00:27:47 +02:00
J. Nick Koston
702cef3fc7
Add startup timeout to bluetooth (#75848)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-28 11:14:13 -10:00
Jc2k
10356b9379
Fix Xiaomi BLE not detecting encryption for some devices (#75851) 2022-07-28 19:10:37 +01:00
puddly
8e2f0497ce
ZHA network backup and restore API (#75791)
* Implement WS API endpoints for zigpy backups

* Implement backup restoration

* Display error messages caused by invalid backup JSON

* Indicate to the frontend when a backup is incomplete

* Perform a coordinator backup before HA performs a backup

* Fix `backup.async_post_backup` docstring

* Rename `data` to `backup` in restore command

* Add unit tests for new websocket APIs

* Unit test backup platform

* Move code to overwrite EZSP EUI64 into ZHA

* Include the radio type in the network settings API response
2022-07-28 11:24:31 -04:00
Robert Svensson
c16db4c3e1
Make Axis utilise forward_entry_setups (#75178) 2022-07-28 11:41:03 +02:00
Raman Gupta
4aa6300b8b
Update zwave_js WS API names (#75797) 2022-07-27 23:42:17 +02:00
Raman Gupta
44f1d92890
Add new zwave_js notification parameters (#75796) 2022-07-27 23:40:44 +02:00
Paulus Schoutsen
b0f877eca2
Add issue_domain to repairs (#75839) 2022-07-27 22:53:51 +02:00
Tom Harris
4ffd6fc4be
Add Insteon lock and load controller devices (#75632) 2022-07-27 10:06:33 -10:00