Commit graph

14636 commits

Author SHA1 Message Date
Franck Nijhof
4c2b20db68
Collection of typing improvements in common test helpers ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-13 15:12:11 +01:00
Maciej Bieniek
6baa905448
Abort config flow if Airly measuring station does not exist ()
* Abort if there is no sensor in the area

* Add test

* Increase test coverage
2023-01-13 14:35:52 +01:00
Eugenio Panadero
d748894b88
Remove 'tariff' edition from options-flow ()
* 🎨 Add missing typing for config-flow

* 🐛 Remove 'tariff' edition from options-flow

The `entry.data["tariff"]` is what makes the `entry.unique_id`,
so it's an incoherence to be able to change it in the Options flow

* 🌐 Update generated EN translation

* 🎨 Link translations of option-flow to those of config-flow
2023-01-13 13:27:11 +01:00
tronikos
8e26c048a7
Remove oauth2client dependency in Google Assistant SDK ()
Remove import oauth2client, inline 2 constants
2023-01-13 00:20:16 +01:00
shbatm
28bea53afe
Move ISY994 data to dataclass and remove bad entities () 2023-01-12 13:09:04 -10:00
epenet
b5a9e682be
Add missing enum item in SFR Box ()
* Add missing enum item in SFR Box

* Adjust tests
2023-01-12 18:15:09 +02:00
Erik Montnemery
8418a30cc0
Refactor energy validation issue reporting ()
* Refactor energy validation issue reporting

* Update English translations

* Adjust translations
2023-01-12 12:50:43 +01:00
Erik Montnemery
e4e96d3394
Fix sensor test () 2023-01-12 12:21:19 +01:00
epenet
5a4df9d870
Add binary sensor platform to SFR Box ()
* Add binary sensor platform to SFR Box

* Simplify
2023-01-12 10:06:09 +01:00
Jan Bouwhuis
64e235285d
Deprecate power_command_topic for MQTT climate ()
* Deprecate mode_command_topic for MQTT climate

* Correct deprecation and remove support release inf

* Do not use future tense for comment

* Extend deprecation period to 6 months
2023-01-12 09:49:14 +01:00
Erik Montnemery
a7fb3c82fb
Add WS command number/device_class_convertible_units ()
* Add WS command number/device_class_convertible_units

* Add websocket_api

* Update tests
2023-01-12 09:34:10 +01:00
Erik Montnemery
305fb86d50
Add WS command sensor/device_class_convertible_units ()
* Add WS command sensor/device_class_units

* Rename new command to device_class_convertible_units
2023-01-12 09:31:06 +01:00
epenet
679e971131
Add system diagnostic sensors to SFR Box ()
* Add system diagnostic sensor

* Add tests
2023-01-12 09:29:12 +01:00
Erik Montnemery
b0d4b73874
Add unitless unit converter ()
* Add unitless unit converter

* Adjust type hints

* Adjust tests

* Rename to UnitlessRatioConverter
2023-01-12 09:20:00 +01:00
Ville Skyttä
c625051665
Improve Huawei LTE SSDP inclusion ()
* Probe Huawei LTE API for device support on SSDP match

More or less as expected, the loosening of SSDP/UPnP data matches done
in  started to yield false positives, as in .

Coming up with robust matches solely based on the SSDP/UPnP data still
does not seem possible, so keep the matches as loose as they were made,
but additionally invoke a probe request on the API to determine if the
device looks like a supported one.

* Probe only after unique id checks

Prevents throwaway probes for discoveries already in progress.

* Fix SSDP result URL test, add missing assert on it
2023-01-12 06:47:38 +01:00
shbatm
255a8362a1
Consolidate device info and clean-up ISY994 code base ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-11 18:07:44 -10:00
Jack Boswell
43cc8a1ebf
Add binary_sensor to Starlink ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-11 17:18:54 -10:00
Robert Hillis
ae9a57b2a8
Remove oauth2client dependency in Google Sheets ()
Remove oauth2client dependency
2023-01-12 04:02:02 +01:00
Nathan Spencer
0ae855d345
Fix Litter-Robot 4 firmware versions reported while updating () 2023-01-12 03:53:06 +01:00
Robert Hillis
b14c141fe3
Address review comments for D-Link config flow ()
* Address review comments for D-Link config flow

* uno mas

* uno mas

* uno mas
2023-01-12 03:46:51 +01:00
Eugenio Panadero
77feaecbfa
Remove unreachable config entry migration in pvpc hourly pricing ()
* 🔥 Remove old config entry migration logic

introduced for a breaking change in 2021-06, now unreachable after
completely disabling the YAML config for the integration

*  Remove test for old config entry migration logic

and adjust existent one for config-flow to do not lose coverage
2023-01-12 01:07:11 +01:00
Felix T
42a4dd98f1
Use fallback advertising interval for non-connectable Bluetooth devices ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-11 12:11:25 -10:00
Paulus Schoutsen
c8cd41b5d4
Add ESPHome update entities () 2023-01-11 16:26:13 -05:00
Paulus Schoutsen
06bc9c7b22
Automatically fetch the encryption key from the ESPHome dashboard ()
* Automatically fetch the encryption key from the ESPHome dashboard

* Also use encryption key during reauth

* Typo

* Clean up tests
2023-01-11 15:28:31 -05:00
epenet
a2f6299fc1
Remove invalid device class in energyzero ()
* Remove invalid device class in energyzero

* Adjust tests
2023-01-11 20:49:14 +01:00
Eugenio Panadero
2286029b5d
Bump aiopvpc to 4.0.1 ()
* 📦️ Bump aiopvpc version

* ♻️ Evolve DataUpdateCoordinator and PVPC sensor for new aiopvpc

setting `SensorDeviceClass.MONETARY` for the price sensor

* 🍱 tests: Update tests fixtures with new sensor data

for aiopvpc v4 with 'esios_public' as data-source

*  tests: Adapt test suite for new default data-source

* 📦️ Bump aiopvpc version for latest patch 4.0.1

* ️ Revert changes unrelated to library bump

* ️ Revert tests changes unrelated to library bump
2023-01-11 14:49:42 +01:00
Paulus Schoutsen
82ec769ec5
Handle ESPHome dashboard discovery () 2023-01-11 08:30:52 -05:00
Robert Hillis
3d7c61bbed
Add D-Link config flow () 2023-01-10 14:10:56 -10:00
rikroe
1afb30344a
Add diagnostics to bmw_connected_drive ()
* Add diagnostics to bmw_connected_drive

* Add tests for diagnostics

* Move get_fingerprints to library, bump bimmer_connected to 0.10.4

* Update bimmer_connected to 0.11.0

* Fix pytest

* Mock actual diagnostics HTTP calls

* Update tests for bimmer_connected 0.12.0

* Don't raise errors if vehicle is not found

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-01-11 01:09:45 +01:00
Matthias Alphart
db428f2141
Update xknx to 2.3.0 - add some DPTs, Routing security ()
Update xknx to 2.3.0
2023-01-11 00:24:56 +01:00
epenet
6e3cf896f7
Remove invalid device class in gios () 2023-01-10 22:08:13 +01:00
tronikos
667fde997d
Google Assistant SDK: Fix broadcast command in Japanese ()
Fix broadcast command in Japanese
2023-01-10 20:20:28 +02:00
epenet
de2588f6e0
Add diagnostics platform to SFR Box () 2023-01-10 20:17:14 +02:00
epenet
a7647fee28
Fix unknown data in homematicip_cloud () 2023-01-10 12:26:49 -05:00
Erik Montnemery
7621c450c7
Add kitchen_sink integration () 2023-01-10 17:31:47 +01:00
epenet
3d02b5af21
Fix unknown data in vultr () 2023-01-10 17:29:17 +01:00
epenet
67f8d82818
Remove invalid state class in deconz () 2023-01-10 17:28:35 +01:00
epenet
4eddd8b75a
Remove invalid unit of measurement in mfi () 2023-01-10 16:45:59 +01:00
epenet
298d7504fd
Fix unknown data in qwikswitch () 2023-01-10 16:42:28 +01:00
epenet
d313d82eb7
Fix unknown data in influxdb () 2023-01-10 16:41:16 +01:00
epenet
4d660f926d
Fix unknown data in google wifi () 2023-01-10 16:37:04 +01:00
Erik Montnemery
5fdf78ed30
Drop title from repairs flows (2) () 2023-01-10 12:11:30 +01:00
epenet
9eb06fd59d
Simplify sensor state validation () 2023-01-10 11:52:29 +01:00
Franck Nijhof
bba9ad3243
Revert "Adapt tplink to use has_entity_name" ()
Revert "Adapt tplink to use has_entity_name ()"

This reverts commit ca0fe488ba.
2023-01-10 10:06:58 +01:00
Guido Schmitz
d40a4aa970
Add switch platform to devolo_home_network () 2023-01-10 10:05:59 +01:00
Franck Nijhof
05c32c51fd
Code styling tweaks to the Cast integration () 2023-01-10 09:57:13 +01:00
Teemu R
ca0fe488ba
Adapt tplink to use has_entity_name ()
* Adapt tplink to use has_entity_name

* Set the name for individual smartstrip sockets

* Fix tests
2023-01-10 09:40:29 +01:00
tronikos
e24989b446
Google Assistant SDK conversation agent ()
* Google Assistant SDK conversation agent

* refresh token

* fix session

* Add tests

* Add option to enable conversation agent
2023-01-09 20:53:41 -05:00
Michael Hansen
07bd208c7d
Load custom sentences from config directory ()
* Load custom sentences from config directory

* Load custom sentences from config directory

* Custom sentences in custom_sentences/<language>/

* Load custom sentences from config directory

* Custom sentences in custom_sentences/<language>/

* Add custom_sentences test
2023-01-09 16:48:59 -06:00
J. Nick Koston
2c95c0b3a1
Do not check ble scanner state for sleepy shelly devices ()
fixes 
2023-01-10 00:16:14 +02:00