Joakim Sørensen
f9e8247401
Bump isort from 5.11.4 to 5.12.0 ( #86890 )
2023-01-29 15:04:17 +01:00
Malte Franken
344a0c55a5
Add integration_type to geo_json_events ( #86878 )
...
define integration type
2023-01-29 15:02:13 +01:00
Thomas Schamm
11e125f2e8
Add Bosch SHC description and host form strings ( #86897 )
...
* Add description to setup SHC II. Add missing host info in reauth_confirm
* Remove template value in en.json
2023-01-29 15:00:36 +01:00
J. Nick Koston
691a234090
Cache the names and area lists in the default agent ( #86874 )
...
* Cache the names and area lists in the default agent
fixes #86803
* add coverage to make sure the entity cache busts
* add areas test
* cover the last line
2023-01-29 07:16:29 -05:00
Maciej Bieniek
eebc338c3b
Support `native_precision` in Airly integration ( #86843 )
...
* Use native_precision
* Refactor extra_state_attributes
2023-01-29 11:44:23 +01:00
J. Nick Koston
58de7b8df0
Fix v32 schema migration when MySQL global.time_zone is configured with non-UTC timezone ( #86867 )
...
* Fix v32 schema migration when MySQL timezone is not UTC
* tweak
2023-01-28 22:06:07 -05:00
Martin Hjelmare
b1e939d1f1
Fix tradfri air quality device class ( #86861 )
2023-01-28 22:05:31 -05:00
J. Nick Koston
ec3475910f
Improve websocket throughput of state changes ( #86855 )
...
After the start event we tend to get an event storm of state
changes which can get the websocket behind. #86854 will
help with that a bit, but we can reduce the overhead
to build a state diff when the attributes have not
changed
2023-01-28 22:05:06 -05:00
Robert Hillis
799edd90aa
Fix D-Link attributes ( #86842 )
...
* Fix D-Link attributes
* fix blocking call
2023-01-28 22:03:58 -05:00
GitHub Action
0f6f63da64
[ci skip] Translation update
2023-01-29 00:26:29 +00:00
Paul Bottein
e93bfa6556
Update frontend to 20230128.0 ( #86838 )
2023-01-28 18:49:29 -05:00
Jan Bouwhuis
6a94a58325
Correct stale doc string for MQTT tag platform ( #86862 )
2023-01-29 00:23:22 +02:00
PeteRager
a7ddd592fb
Nest improve error message on climate actions ( #86853 )
...
* Nest - Climate - Error Messages
1. Error messages were incorrect for some methods, for example async_set_temperature was reporting failure to set hvac_mode. This is corrected.
2. Error messages were incomplete and were not including the entity_id,and the operation being performed that failed.
3. Add unit tests to test the exception handling
* Move tests into exiisting error test
* Improve readability of error message
2023-01-28 12:58:28 -08:00
Allen Porter
733798f483
Fix nest climate set temperature error message string ( #86852 )
2023-01-28 11:02:46 -08:00
J. Nick Koston
af5fd74d6f
Bump ismartgate to 5.0.0 ( #86830 )
...
python 3.11 support
changelog: https://github.com/bdraco/ismartgate/compare/v4.0.4...v5.0.0
2023-01-28 07:14:36 +01:00
Luca Angemi
efd2817221
Add state class to nest legacy sensors ( #86810 )
...
* Add state class to nest legacy sensors
Add state class (measurement) to humidity and temperature for the nest legacy sensors.
* Update
Update
2023-01-27 21:20:51 -08:00
J. Nick Koston
d97a061285
Chunk MariaDB and Postgresql data migration to avoid running out of buffer space ( #86680 )
...
* Chunk MariaDB data migration to avoid running out of buffer space
This will make the migration slower but since the innodb_buffer_pool_size
is using the defaul to 128M and not tuned to the db size there is a
risk of running out of buffer space for large databases
* Update homeassistant/components/recorder/migration.py
* hard code since bandit thinks its an injection
* Update homeassistant/components/recorder/migration.py
* guard against manually modified data/corrupt db
* adjust to 10k per chunk
* adjust to 50k per chunk
* memory still just fine at 250k
* but slower
* commit after each chunk to reduce lock pressure
* adjust
* set to 0 if null so we do not loop forever (this should only happen if the data is missing)
* set to 0 if null so we do not loop forever (this should only happen if the data is missing)
* tweak
* tweak
* limit cleanup
* lower limit to give some more buffer
* lower limit to give some more buffer
* where required for sqlite
* sqlite can wipe as many as needed with no limit
* limit on mysql only
* chunk postgres
* fix limit
* tweak
* fix reference
* fix
* tweak for ram
* postgres memory reduction
* defer cleanup
* fix
* same order
2023-01-27 22:39:45 -05:00
shbatm
e2edbc4259
Check for missing ISY994 Z-Wave Properties ( #86829 )
...
* Check for missing Z-Wave Properties
* Fix black from mobile
2023-01-27 22:16:28 -05:00
J. Nick Koston
d0c7f42559
Fix Bluetooth discoveries missing between restarts ( #86808 )
...
* Fix Bluetooth discoveries missing between restarts
* do not load other integrations
* coverage
2023-01-27 22:16:16 -05:00
Robert Hillis
b69576d6de
Add D-link tests ( #86825 )
...
* Fix D-Link config flow auth
* Add tests to D-Link
* pyupgrade
2023-01-27 22:15:27 -05:00
Robert Hillis
adb0d85511
Fix D-Link config flow auth ( #86824 )
2023-01-27 21:38:25 -05:00
GitHub Action
072f228e4d
[ci skip] Translation update
2023-01-28 00:23:36 +00:00
Shay Levy
803cd8d9a3
Handle state unknown if last state is missing in Shelly ( #86813 )
...
Shelly - handle state unknown if last state is missing
2023-01-27 23:34:56 +01:00
Ville Skyttä
50c2992f36
Drop py39 from black target-version ( #86814 )
2023-01-27 22:39:52 +02:00
dependabot[bot]
15492aead0
Bump tibdex/github-app-token from 1.7.0 to 1.8.0 ( #86767 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 20:35:56 +01:00
Bouwe Westerdijk
661f7e1522
Bump plugwise to v0.27.4 ( #86812 )
...
fixes undefined
2023-01-27 20:00:44 +01:00
Franck Nijhof
e9543a7254
Enable Ruff PT021 ( #86801 )
2023-01-27 17:14:04 +01:00
Franck Nijhof
8f74bff354
Enable Ruff PLC0414 ( #86799 )
2023-01-27 16:32:04 +01:00
Shay Levy
f9f9741d2a
Separate Shelly tests parameters in parametrize ( #86778 )
...
Shelly tests - separate parameters in parametrize
2023-01-27 14:28:35 +01:00
Franck Nijhof
ef800335fb
Enable Ruff PT022 ( #86792 )
...
* Enable Ruff PT022
* Adjust found cases
2023-01-27 13:57:06 +01:00
Franck Nijhof
8c993116e1
Enable Ruff SIM401 ( #86790 )
...
* Enable Ruff SIM401
* Adjust found cases
2023-01-27 13:08:44 +01:00
Franck Nijhof
bfbf9b9751
Adjusts imports in tests to match our relative import rules ( #86788 )
2023-01-27 12:51:58 +01:00
Franck Nijhof
89c0b27b42
Migrates tests to use UnitOfPressure enum ( #86785 )
2023-01-27 12:13:27 +01:00
epenet
561fc2d771
Remove deprecated unit system properties ( #86643 )
...
* Remove deprecated unit system properties
* Fix tests
2023-01-27 12:09:26 +01:00
Franck Nijhof
3ff3834cae
Re-enable Ruff UP024 ( #86784 )
2023-01-27 12:03:27 +01:00
Franck Nijhof
a79885ceaf
Enable Ruff SIM117 ( #86783 )
2023-01-27 11:52:49 +01:00
Franck Nijhof
57cf11f067
Enable Ruff PT015 ( #86775 )
2023-01-27 11:10:29 +01:00
Franck Nijhof
49148421cb
Migrates tests to use UnitOfSpeed enum ( #86777 )
2023-01-27 10:58:55 +01:00
Franck Nijhof
fca3382d37
Migrates tests to use MediaPlayerEntityFeature enum ( #86779 )
2023-01-27 10:56:40 +01:00
Franck Nijhof
42c4f2f7fa
Add ability for pytest to run only on changed tests in codebase ( #86776 )
2023-01-27 10:35:18 +01:00
Shay Levy
ae6bc96002
Shelly code quality ( #86733 )
2023-01-27 10:47:05 +02:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
Malte Franken
bd9a8ba6f1
Bump aio_georss_gdacs to 0.8 ( #86761 )
...
bump aio_georss_gdacs to 0.8
2023-01-27 08:44:30 +01:00
Jesse Hills
78207121c0
Remove esphome password from config flow data if not needed ( #86763 )
...
* Remove esphome password if not needed
* Add test
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-01-26 21:45:51 -05:00
Paulus Schoutsen
687184138c
ESPHome update: Store reference to runtime data, not one of its values ( #86762 )
...
Store reference to runtime data, not one of its values
2023-01-26 21:45:42 -05:00
Franck Nijhof
e738924780
Enable Ruff SIM105 ( #86759 )
...
* Enable Ruff SIM105
* Adjust existing cases
2023-01-26 21:06:22 -05:00
GitHub Action
71d7098530
[ci skip] Translation update
2023-01-27 00:25:12 +00:00
Aaron Bach
020d52c3e2
Fix state class issues in Ambient PWS ( #86758 )
...
fixes undefined
2023-01-27 00:14:46 +01:00
Marc Mueller
b84cf3a3d9
Improve `bosch_shc` config_flow typing ( #86739 )
2023-01-26 23:39:12 +01:00
Shay Levy
2c8cb13034
Bump aioshelly to 5.3.1 ( #86751 )
2023-01-27 00:34:31 +02:00