Commit Graph

63772 Commits (0a165bb35acbacb9eb5a57e67dfad68b02ad6e1f)

Author SHA1 Message Date
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
J. Nick Koston 2aff138b92
Small improvements to websocket api performance (#95693) 2023-07-02 12:33:25 -05:00
Joost Lekkerkerker 65f67669d2
Use device info object in LaCrosse View (#95687)
Use device info object
2023-07-02 19:27:29 +02:00
Joost Lekkerkerker 23a16666c0
Remove obsolete entity name from Lametric (#95688)
Remove obsolete name
2023-07-02 19:25:39 +02:00
J. Nick Koston 953bd60296
Bump zeroconf to 0.70.0 (#95714) 2023-07-02 12:23:41 -05:00
J. Nick Koston 99badceecc
Bump python-kasa to 0.5.2 (#95716) 2023-07-02 12:09:20 -05:00
Denis Shulyaka 7026ea643e
Add action attribute to generic hygrostat (#95675)
* add action attribute to generic hygrostat

* Simplified initialization
2023-07-02 17:51:11 +02:00
Jan Bouwhuis b314e2b1a1
Fix songpal test_setup_failed test (#95712) 2023-07-02 16:32:43 +02:00
Paulus Schoutsen 86912d2409
Met Eireann: fix device info (#95683) 2023-07-02 10:31:30 -04:00
J. Nick Koston f0cb03e631
Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678)
* Handle incorrect or missing device name for ESPHome noise encryption

If we did not have the device name during setup we could never
get the key from the dashboard. The device will send us
its name if we try encryption which allows us to find the
right key from the dashboard.

This should help get users unstuck when they change the key
and cannot get the device back online after deleting and
trying to set it up again manually

* bump lib to get name

* tweak

* reduce number of connections

* less connections when we know we will fail

* coverage shows it works but it does not

* add more coverage

* fix test

* bump again
2023-07-02 10:29:45 -04:00
Maciej Bieniek 79a122e1e5
Fix Shelly button `unique_id` migration (#95707)
Fix button unique_id migration
2023-07-02 16:28:41 +03:00
Brandon Rothweiler 33cd44ddb7
Upgrade pymazda to 0.3.9 (#95655) 2023-07-02 16:28:18 +03:00
Paulus Schoutsen e4f617e92e
Update log message when referenced entity not found (#95577)
* Update log message when referenced entity not found

* Update homeassistant/helpers/service.py

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

* Update test

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-02 00:04:03 +02:00
Aaron Bach cac6dc0eae
Fix implicit device name for SimpliSafe locks (#95681) 2023-07-01 18:53:47 +02:00
ollo69 8108a0f947
Add Bridge module to AsusWRT (#84152)
* Add Bridge module to AsusWRT

* Requested changes

* Requested changes

* Requested changes

* Add check on router attributes value
2023-07-01 13:55:28 +02:00
Matthias Alphart c81b6255c2
Use `async_on_remove` for KNX entities removal (#95658)
* Use `async_on_remove` for KNX entities removal

* review
2023-07-01 07:16:45 -04:00
Marc Mueller 432bfffef9
Update ruff pre-commit repo (#95603) 2023-07-01 12:12:24 +02:00