Commit Graph
50925 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub 5c193323b2 Bump aiohomekit to 0.7.18 (#73919)
Changelog: https://github.com/Jc2k/aiohomekit/compare/0.7.17...0.7.18
2022-06-23 20:43:56 +02:00
Erik MontnemeryandGitHub 01606c34aa Correct handling of weather forecast (#73909) 2022-06-23 20:34:16 +02:00
J. Nick KostonandGitHub fd9fdc6283 Fix error reporting with unserializable json (#73908) 2022-06-23 20:32:45 +02:00
Robert SvenssonandGitHub b3b4707579 Fix deCONZ group state regression (#73907) 2022-06-23 20:26:51 +02:00
J. Nick KostonandGitHub edb386c736 Switch frontend to use json helper (#73874) 2022-06-23 20:19:13 +02:00
J. Nick KostonandGitHub 3d59088a62 Bump sqlalchemy to 1.4.38 (#73916)
Changes: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.38
2022-06-23 14:13:42 -04:00
Erik MontnemeryandGitHub 17d839df79 Set codeowner of weather to @home-assistant/core (#73915) 2022-06-23 19:50:46 +02:00
epenetandGitHub e874ba2a42 Improve CoverEntity typing (#73903) 2022-06-23 16:48:49 +02:00
epenetandGitHub 3c82c718cb Improve typing in fans and locks (#73901) 2022-06-23 16:34:40 +02:00
Raman GuptaandGitHub ff7d840a6c Bump zwave-js-server-python to 0.39.0 (#73904) 2022-06-23 16:13:36 +02:00
kingy444andGitHub 95abfb5748 Powerview polling tdbu (#73899) 2022-06-23 08:37:28 -05:00
J. Nick KostonandGitHub 8015bb98a9 Switch recorder and templates to use json helper (#73876)
- These were using orjson directly, its a bit cleaner
  to use the helper so everything is easier to adjust
  in the future if we need to change anything about
  the loading
2022-06-23 14:32:26 +02:00
J. Nick KostonandGitHub 2742bf86e3 Switch mqtt to use json helper (#73871)
* Switch mqtt to use json helper

* whitespace
2022-06-23 14:29:09 +02:00
Pascal VizeliandGitHub 95eeb8eff3 Update Builder & Wheels + support yellow (#73896) 2022-06-23 13:58:24 +02:00
epenetandGitHub 0787ee1345 Use attributes in comfoconnect fan (#73892) 2022-06-23 12:42:05 +02:00
b4cc9367cf Bump bimmer_connected to 0.9.5 (#73888)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-23 12:18:01 +02:00
epenetandGitHub 48bd7cf5e1 Add missing ToggleEntity type hints in fans (#73887) 2022-06-23 12:01:05 +02:00
epenetandGitHub a3ce80baed Improve nuki type hints (#73891) 2022-06-23 11:44:25 +02:00
Paulus SchoutsenandGitHub 10b083bbf5 Sync empty entities when Google is disabled in cloud (#72806) 2022-06-23 11:41:34 +02:00
Rami MoslehandGitHub 0dd181f922 Remove deprecated YAML for Islamic prayer times (#72483) 2022-06-23 11:35:47 +02:00
Hans OischingerandGitHub 4ee92f3953 Improve hvac_mode compatibility of vicare (#66454) 2022-06-23 11:34:34 +02:00
epenetandGitHub f91a222034 Fix compensation (numpy) tests (#73890) 2022-06-23 11:12:22 +02:00
90e1fb6ce2 Weather unit conversion (#73441)
Co-authored-by: Erik <erik@montnemery.com>
2022-06-23 10:48:30 +02:00
henryptungandGitHub bccec77e19 Fix Broadlink discovery for new RM Mini3 (#73822) 2022-06-23 09:38:39 +02:00
gigatexelandGitHub 303ce715ed Adapt DSMR integration to changes in dsmr_parser for Belgian/Dutch meters (#73817) 2022-06-23 09:15:16 +02:00
J. Nick KostonandGitHub 164eba7e5d Switch loader to use json helper (#73872) 2022-06-22 21:57:38 -05:00
J. Nick KostonandGitHub b5f6f785d5 Switch mobile_app to use the json helper (#73870) 2022-06-22 22:32:48 -04:00
Christopher BaileyandGitHub 168065a9a0 Bump version of pyunifiprotect to 4.0.7 (#73875) 2022-06-22 21:10:41 -05:00
J. Nick KostonandGitHub 6c41a10142 Switch api and event stream to use json helper (#73868) 2022-06-22 20:13:02 -05:00
J. Nick KostonandGitHub ab30d38469 Switch rest to use the json helper (#73867) 2022-06-22 20:12:48 -05:00
GitHub Action 33c263d09b [ci skip] Translation update 2022-06-23 00:20:13 +00:00
Christian RodriguezandGitHub 3ce5b05aa5 Add bypassed custom attribute to NX584ZoneSensor (#71767) 2022-06-23 01:59:59 +02:00
LiamandGitHub 3cd18ba38f Update CODE_OF_CONDUCT.md (#73468) 2022-06-23 01:41:22 +02:00
Waldemar TommeandGitHub e855529f73 Fix fints integration (#69041) 2022-06-23 01:08:51 +02:00
Alex GroleauandGitHub fe54db6eb9 Improve Tuya integration fan controller support (#73062) 2022-06-23 00:58:36 +02:00
jjlawrenandGitHub b0f4b3030f Extend timeouts for Spotify and Plex playback on Sonos (#73803) 2022-06-23 00:58:10 +02:00
b17d4ac65c Remove replicated async definitions in pylint plugin (#73823)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-06-22 23:51:40 +02:00
Robert SvenssonandGitHub aef69f87f4 More enums in deCONZ Alarm Control Panel (#73800) 2022-06-22 23:02:34 +02:00
Christopher BaileyandGitHub 01a9367281 UniFi Protect cleanup and enable unadopted devices (#73860) 2022-06-22 15:57:21 -05:00
Robert HillisandGitHub 5c5fd746fd Add digital loggers as a Belkin supported brand (#72515) 2022-06-22 22:38:45 +02:00
Franck NijhofandGitHub a8a033681f Automatically onboard DiscoveryFlows (#73841) 2022-06-22 22:37:49 +02:00
Franck NijhofandGitHub ec119ae718 Automatically onboard WLED (#73853) 2022-06-22 22:37:36 +02:00
Franck NijhofandGitHub 320ef55085 Automatically onboard Elgato (#73847) 2022-06-22 22:37:25 +02:00
ad7da9803f Adjust lutron_caseta type hints (#73840)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-06-22 22:37:01 +02:00
KholeandGitHub 73c54b14d0 Hive bump pyhiveapi version (#73846) 2022-06-22 22:20:47 +02:00
epenetandGitHub 75cfe845e1 Adjust freedompro type hints (#73839) 2022-06-22 22:17:50 +02:00
J. Nick KostonandGitHub 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
epenetandGitHub 9ac28d2076 Adjust vesync type hints (#73842) 2022-06-22 21:40:22 +02:00
Martin HjelmareandGitHub 0e674fc597 Clean up zwave_js logging and hass.data (#73856) 2022-06-22 21:35:26 +02:00
Franck NijhofandGitHub 1ead6d6762 Automatically onboard Yeelight (#73854) 2022-06-22 21:19:34 +02:00