Commit Graph

63788 Commits (e0c77fba22b36d058585bdff2de62f8c17e73f15)

Author SHA1 Message Date
Erik Montnemery e0c77fba22
Fix siren.toggle service schema (#95770) 2023-07-04 08:48:16 +02:00
Joost Lekkerkerker 234ebdcb84
Add entity translations for P1 Monitor (#95811) 2023-07-04 08:39:24 +02:00
Robert Svensson fe1430d04b
Bump aiounifi to v49 (#95813) 2023-07-03 23:55:23 +02:00
Joost Lekkerkerker 04be7677a9
Add entity translations for Open UV (#95810) 2023-07-03 23:00:12 +02:00
Paul Bottein 4581c36648
Fix datetime parameter validation for list events (#95778) 2023-07-03 15:22:22 -04:00
Allen Porter 2f73be0e50
Ensure that calendar output values are json types (#95797) 2023-07-03 12:05:02 -07:00
Paulus Schoutsen 0f725a24bd
Remove the weak ref for tracking update listeners (#95798) 2023-07-03 13:56:21 -05:00
J. Nick Koston 4d3662d4da
Tune httpx keep alives for polling integrations (#95782)
* Tune keep alives for polling integrations

aiohttp closes the connection after 15s by default,
and httpx closes the connection after 5s by default.

We have a lot of integrations that poll every 10-60s
which create and tear down connections over and over.

Set the keep alive time to 65s to maximize connection
reuse and avoid tls negotiation overhead

* Apply suggestions from code review

* adjust
2023-07-03 14:21:59 -04:00
Erik Montnemery 78880f0c9d
Fix execute device actions with WS execute_script (#95783) 2023-07-03 14:21:01 -04:00
J. Nick Koston 3f9d5a0192
Use the converter factory in sensor.recorder._normalize_states (#95785)
We have a factory to create converters now which avoids
the overhead of calling convert to create the converter
every time
2023-07-03 14:20:23 -04:00
J. Nick Koston 73f90035bb
Bump aioesphomeapi to 15.1.2 (#95792)
changelog: https://github.com/esphome/aioesphomeapi/compare/v15.1.1...v15.1.2

intentionally not tagged for beta to give it more time in dev
since we are near the end of the beta cycle
2023-07-03 14:19:41 -04:00
Bram Kragten aed0c39bc8
Update frontend to 20230703.0 (#95795) 2023-07-03 14:17:24 -04:00
Erik Montnemery 5f9da06e49
Fix flaky websocket_api test (#95786) 2023-07-03 11:53:21 -05:00
Erik Montnemery 5712d12c42
Remove unsupported services from tuya vacuum (#95790) 2023-07-03 18:37:18 +02:00
Joost Lekkerkerker 27e4bca1b3
Fix Growatt translation key (#95784) 2023-07-03 18:36:37 +02:00
Joost Lekkerkerker f0eb084908
Add entity translations to Notion (#95755)
* Add entity translations to Notion

* Use device class translations

* Use device class translations
2023-07-03 18:31:07 +02:00
Marc Mueller 0a165bb35a
Improve opower generic typing (#95758) 2023-07-03 17:43:52 +02:00
Franck Nijhof 430a1bcb3d
Fix implicit use of device name in Verisure (#95781) 2023-07-03 17:38:54 +02:00
Franck Nijhof 3fa1e12152
Fix implicit use of device name in TwenteMilieu (#95780) 2023-07-03 17:38:03 +02:00
Jan Bouwhuis e5eb5dace5
Fix translation growatt inverter temperature (#95775) 2023-07-03 16:41:51 +02:00
tronikos 4e7d8b579a
Address Opower review comments (#95763)
* Address comments

* Apply suggestions from code review

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

* Update sensor.py

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-03 14:53:44 +02:00
tronikos bd6f70c236
Bump opower to 0.0.12 (#95748) 2023-07-03 14:19:40 +02:00
Marcel van der Veldt 266522267a
Bump aioslimproto to 2.3.2 (#95754) 2023-07-03 14:19:05 +02:00
Jan-Philipp Benecke 935242e64e
Use device info object for Discovergy (#95764) 2023-07-03 14:04:17 +02:00
Joost Lekkerkerker 8062a0a3bd
Use device info object for Nuki (#95757) 2023-07-03 14:03:24 +02:00
Joost Lekkerkerker 78cc11ebc4
Use device class naming for Nuki (#95756) 2023-07-03 14:02:49 +02:00
Joost Lekkerkerker 4ee7ea3cba
Use DeviceInfo object for Nobo hub (#95753) 2023-07-03 14:01:58 +02:00
hidaris 3bd8955e0e
Add Matter Climate support (#95434)
* Add Matter Climate support

* update set target temp and update callback

* remove print

* remove optional property

* Adjust the code to improve readability.

* add thermostat test

* Remove irrelevant cases in setting the target temperature.

* add temp range support

* update hvac action

* support adjust low high setpoint..

* support set hvac mode

* address some review feedback

* move some methods around

* dont discover climate in switch platform

* set some default values

* fix some of the tests

* fix some typos

* Update thermostat.json

* Update homeassistant/components/matter/climate.py

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

* Update homeassistant/components/matter/climate.py

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

* support heat_cool in hvac_modes

* address some review feedback

* handle hvac mode param in set temp service

* check hvac modes by featuremap

* add comment to thermostat feature class

* make ruff happy..

* use enum to enhance readability.

* use builtin feature bitmap

* fix target temp range and address some feedback

* use instance attribute instead of class attr

* make ruff happy...

* address feedback about single case

* add init docstring

* more test

* fix typo in tests

* make ruff happy

* fix hvac modes test

* test case for update callback

* remove optional check

* more tests

* more tests

* update all attributes in the update callback

* Update climate.py

* fix missing test

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-03 12:33:50 +02:00
Michael Davie 367acd0433
Bump env_canada to v0.5.35 (#95497)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-03 11:23:32 +02:00
Raman Gupta de7677b28d
Small zwave_js code cleanup (#95745) 2023-07-03 09:30:53 +02:00
Richard Kroegel cdea33d191
Bump bimmer_connected to 0.13.8 (#95660)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-03 09:12:17 +02:00
J. Nick Koston 2b66480894
Speed up routing URLs (#95721)
alternative to #95717
2023-07-02 23:00:33 -04:00
J. Nick Koston 7bdd64a3f7
Handle invalid utf-8 from the ESPHome dashboard (#95743)
If the yaml file has invalid utf-8, the config flow would raise an
unhandled exception. Allow the encryption key to be entered manually
in this case instead of a hard failure

fixes #92772
2023-07-02 22:47:25 -04:00
dougiteixeira 75bdb03363
Fix source device when source entity is changed for Utility Meter (#95636)
* Fix source device when source entity is changed

* Update loop

* Complement and add comments in the test_change_device_source test

* Only clean up dev reg when options change

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-07-02 22:46:21 -04:00
Joost Lekkerkerker 7fdbc7b75d
Clean up solarlog const file (#95542)
Move platform specifics to their own file
2023-07-02 22:43:14 -04:00
Allen Porter 7d6595f755
Delete the local calendar store when removing the config entry (#95599)
* Delete calendar store when removing the config entry

* Unlink file on remove with tests
2023-07-02 22:42:39 -04:00
Joost Lekkerkerker 792525b7a2
Add entity translations for Meater (#95732)
* Add entity translations for Meater

* Update homeassistant/components/meater/sensor.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-07-02 22:41:46 -04:00
Joost Lekkerkerker 4551954c85
Add entity translations to LaCrosse View (#95686) 2023-07-02 21:56:37 -04:00
J. Nick Koston b24c6adc75
Avoid regex for negative zero check in sensor (#95691)
* Avoid regex for negative zero check in sensor

We can avoid calling the regex for every sensor value
since most of the time values are not negative zero

* tweak

* tweak

* Apply suggestions from code review

* simpler

* cover

* safer and still fast

* safer and still fast

* prep for py3.11

* fix check

* add missing cover

* more coverage

* coverage

* coverage
2023-07-02 21:53:50 -04:00
Mike Woudenberg ab50069918
Quality improvement on LOQED integration (#95725)
Remove generated translation
Raise error correctly
Remove obsolete consts
Remove callback, hass assignment and info log
Use name from LOQED API instead of default name
Correct entity name for assertion
2023-07-02 21:52:52 -04:00
Joost Lekkerkerker 33bc1f01a4
Add entity translations for lifx (#95727) 2023-07-02 21:42:02 -04:00
Joost Lekkerkerker b2611b595e
Use DeviceInfo object for Meater (#95733)
Use DeviceInfo object
2023-07-02 21:36:53 -04:00
Joost Lekkerkerker 259455b32d
Add entity translations to melnor (#95734) 2023-07-02 21:36:27 -04:00
Joost Lekkerkerker 4a5a8cdc29
Add entity translations to minecraft server (#95737) 2023-07-02 21:34:58 -04:00
Joost Lekkerkerker 4ff158a105
Remove NAM translations handled by device class (#95740)
Remove translations handled by device class
2023-07-02 21:32:32 -04:00
tronikos caaeb28cbb
Add Opower integration for getting electricity/gas usage and cost for many utilities (#90489)
* Create Opower integration

* fix tests

* Update config_flow.py

* Update coordinator.py

* Update sensor.py

* Update sensor.py

* Update coordinator.py

* Bump opower==0.0.4

* Ignore errors for "recent" PGE accounts

* Add type for forecasts

* Bump opower to 0.0.5

* Bump opower to 0.0.6

* Bump opower to 0.0.7

* Update requirements_all.txt

* Update requirements_test_all.txt

* Update coordinator

Fix exception caused by https://github.com/home-assistant/core/pull/92095
{} is dict but the function expects a set so change it to set()

* Improve exceptions handling

* Bump opower==0.0.9

* Bump opower to 0.0.10

* Bump opower to 0.0.11

* fix issue when integration hasn't run for 30 days

use last stat time instead of now when fetching recent usage/cost

* Allow username to be changed in reauth

* Don't allow changing  username in reauth flow
2023-07-02 21:26:31 -04:00
Joost Lekkerkerker 1ead95f5ea
Use device class naming for Nest (#95742) 2023-07-02 18:10:29 -07:00
J. Nick Koston 0ff3836083
Use a normal tuple for the EventBus jobs (#95731) 2023-07-02 16:35:57 -05:00
Aaron Bach c1b8e4a3e5
Add mold risk sensor to Notion (#95643)
Add mold detection sensor to Notion
2023-07-02 12:13:18 -06:00
Joost Lekkerkerker 2807b6cabc
Add entity translations to kaleidescape (#95625) 2023-07-02 19:35:05 +02:00