Erik Montnemery
26a85c6644
Add Entity.has_entity_name attribute ( #73217 )
2022-06-28 09:38:05 -07:00
G Johansson
c4ff317ec6
Smhi minor fixes ( #72606 )
...
* Initial commit
* Tests
* From review comments
2022-06-28 14:29:00 +02:00
Erik Montnemery
39c7056be5
Migrate climacell to native_* ( #74039 )
2022-06-28 13:39:37 +02:00
Erik Montnemery
ae63cd8677
Add support for unavailable to cover groups ( #74053 )
2022-06-28 11:12:14 +02:00
Erik Montnemery
7d709c074d
Add support for unavailable and unknown to fan groups ( #74054 )
2022-06-28 10:58:52 +02:00
Paulus Schoutsen
6eeb1855ff
Remove entities from Alexa when disabling Alexa ( #73999 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-28 10:32:50 +02:00
Erik Montnemery
824de2ef4c
Modify behavior of lock groups ( #74055 )
2022-06-28 10:29:56 +02:00
Erik Montnemery
9a613aeb96
Modify behavior of media_player groups ( #74056 )
2022-06-28 10:22:46 +02:00
epenet
35df012b6e
Fix reauth step in nest ( #74090 )
2022-06-28 10:06:05 +02:00
J. Nick Koston
720768560d
Fix devices missing in logbook when all requested entities are filtered ( #74073 )
2022-06-28 08:44:06 +02:00
G Johansson
2f0fe0df82
Fix wind speed SMHI ( #72999 )
2022-06-28 01:50:06 +02:00
epenet
b2c84a4c4a
Adjust reauth in awair config flow ( #72386 )
...
* Adjust config-flow type hints in awair
* Improve typing of dict arguments
* Use mapping for async_step_reauth
* Add async_step_reauth_confirm
* Don't try old token
* Adjust translations
* Adjust tests
* Update tests/components/awair/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/awair/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/awair/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/awair/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/awair/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/awair/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/awair/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-28 01:49:10 +02:00
Christopher Bailey
b9c636ba4e
Automatically add newly added devices for UniFi Protect ( #73879 )
2022-06-27 16:03:25 -05:00
Erik Montnemery
84ea8a3c43
Fix misleading comments in tomorrowio ( #74049 )
...
* Fix misleading comments in tomorrowio
* Add test
2022-06-27 14:26:04 -04:00
Erik Montnemery
5f06404db5
Migrate tomorrowio to native_* ( #74050 )
2022-06-27 14:25:36 -04:00
Joakim Plate
992ceb1a09
Google Assistant diagnostics and synchronization ( #73574 )
...
* Add config flow import for local google assistant
* Add diagnostic with sync response
* Add button for device sync
2022-06-27 20:24:15 +02:00
RenierM26
10ea88e0ea
Switchbot bump Dependency 0.14.0 ( #74001 )
...
* Bump requirement.
* Switchbot depenacy update, full async.
* Update tests, remove redundant config entry check.
* Update requirements_test_all.txt
* Update requirements_all.txt
* Remove asyncio lock. Not required anymore with bleak.
* Update requirements_all.txt
* Update requirements_test_all.txt
* pyswitchbot no longer uses bluepy
2022-06-27 13:56:51 +02:00
MatthewFlamm
e32c7dbf92
Use built in unit handling for nws weather ( #73981 )
...
use built in unit handling for nws
2022-06-27 11:39:02 +02:00
akloeckner
aa314a0901
Add this variable to trigger-based templates ( #72437 )
...
add this variables to trigger-based templates
follow-up for https://github.com/home-assistant/core/issues/70359
2022-06-27 08:59:29 +02:00
J. Nick Koston
6ec6f0a835
Fix file sensor reading the whole file to get the last line ( #73986 )
2022-06-25 21:02:50 -05:00
Khole
ce144bf631
Add Hive device configuration to config flow ( #73955 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-26 00:13:30 +02:00
J. Nick Koston
15ed329108
Add async_remove_config_entry_device support to nexia ( #73966 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-25 12:02:38 -04:00
Christopher Bailey
e67f8720e8
Refactor UniFi Protect tests ( #73971 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-25 08:15:38 -07:00
Paulus Schoutsen
57efa9569c
Cache is_supported for Google entities ( #73936 )
2022-06-24 17:05:36 -04:00
J. Nick Koston
f29cc33fa0
Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL with logbook ( #73918 )
...
* Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL
Fixes #73818
* add cover
2022-06-24 15:43:35 +02:00
Rami Mosleh
d1708861db
Add config flow for `simplepush` ( #73471 )
...
* Add config flow for `simplepush`
* fix warning message
* fix typos
* Add importing yaml config
* patch integration setup
* Add check for errrors raised by the library
* fix coverage
* Adjust comment and logging message
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-24 08:39:48 +02:00
Raman Gupta
768e53ac2d
Add zwave_js/get_any_firmware_update_progress WS cmd ( #73905 )
2022-06-23 20:13:37 -04:00
0bmay
3058a432a5
Bump py-canary to 0.5.3 ( #73922 )
2022-06-23 23:33:03 +02:00
Erik Montnemery
9b8c3e37bb
Improve group tests ( #73630 )
2022-06-23 21:38:17 +02:00
J. Nick Koston
00a79635c1
Revert "Remove sqlalchemy lambda_stmt usage from history, logbook, and statistics ( #73191 )" ( #73917 )
2022-06-23 13:59:55 -05:00
J. Nick Koston
2742bf86e3
Switch mqtt to use json helper ( #73871 )
...
* Switch mqtt to use json helper
* whitespace
2022-06-23 14:29:09 +02:00
Paulus Schoutsen
10b083bbf5
Sync empty entities when Google is disabled in cloud ( #72806 )
2022-06-23 11:41:34 +02:00
Rami Mosleh
0dd181f922
Remove deprecated YAML for Islamic prayer times ( #72483 )
2022-06-23 11:35:47 +02:00
epenet
f91a222034
Fix compensation (numpy) tests ( #73890 )
2022-06-23 11:12:22 +02:00
G Johansson
90e1fb6ce2
Weather unit conversion ( #73441 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-06-23 10:48:30 +02:00
Christian Rodriguez
3ce5b05aa5
Add bypassed custom attribute to NX584ZoneSensor ( #71767 )
2022-06-23 01:59:59 +02:00
Robert Svensson
aef69f87f4
More enums in deCONZ Alarm Control Panel ( #73800 )
2022-06-22 23:02:34 +02:00
Christopher Bailey
01a9367281
UniFi Protect cleanup and enable unadopted devices ( #73860 )
2022-06-22 15:57:21 -05:00
Robert Hillis
5c5fd746fd
Add digital loggers as a Belkin supported brand ( #72515 )
2022-06-22 22:38:45 +02:00
Franck Nijhof
ec119ae718
Automatically onboard WLED ( #73853 )
2022-06-22 22:37:36 +02:00
Franck Nijhof
320ef55085
Automatically onboard Elgato ( #73847 )
2022-06-22 22:37:25 +02:00
J. Nick Koston
8b067e83f7
Initial orjson support take 3 ( #73849 )
...
* Initial orjson support take 2
Still need to work out problem building wheels
--
Redux of #72754 / #32153 Now possible since the following is solved:
ijl/orjson#220 (comment)
This implements orjson where we use our default encoder. This does not implement orjson where `ExtendedJSONEncoder` is used as these areas tend to be called far less frequently. If its desired, this could be done in a followup, but it seemed like a case of diminishing returns (except maybe for large diagnostics files, or traces, but those are not expected to be downloaded frequently).
Areas where this makes a perceptible difference:
- Anything that subscribes to entities (Initial subscribe_entities payload)
- Initial download of registries on first connection / restore
- History queries
- Saving states to the database
- Large logbook queries
- Anything that subscribes to events (appdaemon)
Cavets:
orjson supports serializing dataclasses natively (and much faster) which
eliminates the need to implement `as_dict` in many places
when the data is already in a dataclass. This works
well as long as all the data in the dataclass can also
be serialized. I audited all places where we have an `as_dict`
for a dataclass and found only backups needs to be adjusted (support for `Path` needed to be added for backups). I was a little bit worried about `SensorExtraStoredData` with `Decimal` but it all seems to work out from since it converts it before it gets to the json encoding cc @dgomes
If it turns out to be a problem we can disable this
with option |= [orjson.OPT_PASSTHROUGH_DATACLASS](https://github.com/ijl/orjson#opt_passthrough_dataclass ) and it
will fallback to `as_dict`
Its quite impressive for history queries
<img width="1271" alt="Screen_Shot_2022-05-30_at_23_46_30" src="https://user-images.githubusercontent.com/663432/171145699-661ad9db-d91d-4b2d-9c1a-9d7866c03a73.png ">
* use for views as well
* handle UnicodeEncodeError
* tweak
* DRY
* DRY
* not needed
* fix tests
* Update tests/components/http/test_view.py
* Update tests/components/http/test_view.py
* black
* templates
2022-06-22 21:59:51 +02:00
Franck Nijhof
1ead6d6762
Automatically onboard Yeelight ( #73854 )
2022-06-22 21:19:34 +02:00
Franck Nijhof
9229d14962
Automatically onboard Wiz ( #73851 )
2022-06-22 20:17:28 +02:00
G Johansson
532e25d087
Sensibo use switch for Pure boost ( #73833 )
...
* Initial commit
* Finalize pure boost switch
* Fix service required
2022-06-22 18:26:25 +02:00
jjlawren
86fde1a644
Handle failures during initial Sonos subscription ( #73456 )
2022-06-22 10:56:17 -05:00
Christopher Bailey
0461ec1566
Fix auth_sign_path with query params (take 2) ( #73829 )
2022-06-22 10:09:21 -05:00
J. Nick Koston
19b2b33037
Speed up subscribing to mqtt topics on connect ( #73685 )
...
* Speed up subscribing to mqtt topics
* update tests
* Remove extra function wrapper
* Recover debug logging for subscriptions
* Small changes and test
* Update homeassistant/components/mqtt/client.py
* Update client.py
Co-authored-by: jbouwh <jan@jbsoft.nl>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-06-22 16:03:18 +02:00
rikroe
54591b8ca1
BMW Connected Drive: Handle HTTP 429 issues better ( #73675 )
...
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-22 14:24:16 +02:00
Jonny Bergdahl
95eb55dd66
Fix thumbnail issues in Twitch integration ( #72564 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-06-22 10:22:09 +02:00