Commit Graph
87719 Commits
Author SHA1 Message Date
J. Nick Koston ca20663c31 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 22:50:27 -04:00
Brandon Rothweiler 327a54e65a Upgrade pymazda to 0.3.9 (#95655) 2023-07-02 22:50:26 -04:00
Richard Kroegelandrikroe e907585b7f Add bmw connected drive region-specific scan interval (#95649)
Add region-specific scan interval

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-07-02 22:50:25 -04:00
dougiteixeiraandPaulus Schoutsen 3fa009b98c 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:50:24 -04:00
Mick VleeshouwerandPaulus Schoutsen 226f1d7c73 Fix missing EntityDescription names in Overkiz (#95583)
* Fix labels

* Update homeassistant/components/overkiz/entity.py

* Check if description.name is string

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-07-02 22:50:23 -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
dougiteixeiraandPaulus Schoutsen 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
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 SchoutsenandMartin Hjelmare 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
Paulus Schoutsen 923677dae3 Tesla Wall Connector: use correct device info keys (#95647) 2023-07-01 06:06:46 -04:00
Paulus Schoutsen 62ac7973c2 VeSync: use correct device info keys (#95646) 2023-07-01 06:06:27 -04:00
Paulus Schoutsen 2191fb21fa Rainbird: use correct device info keys (#95645) 2023-07-01 06:06:01 -04:00
Paulus Schoutsen c8d4225117 Met: use correct device info keys (#95644) 2023-07-01 06:05:28 -04:00
Richard Kroegelandrikroe 591f1ee338 Add bmw connected drive region-specific scan interval (#95649)
Add region-specific scan interval

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-07-01 10:41:03 +02:00
Mick VleeshouwerandPaulus Schoutsen 8b159d0f47 Fix missing EntityDescription names in Overkiz (#95583)
* Fix labels

* Update homeassistant/components/overkiz/entity.py

* Check if description.name is string

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-06-30 23:59:01 -04:00
Paulus Schoutsen 3fbc026d5a Remove passing MAC as an identifier for Fritz (#95648) 2023-06-30 16:13:22 -04:00
Paulus Schoutsen be49f90550 Bumped version to 2023.7.0b3 2023.7.0b3 2023-06-30 15:08:35 -04:00
puddly 4993b6ee90 Fix ZHA startup issue with older Silicon Labs firmwares (#95642)
Bump ZHA dependencies
2023-06-30 15:08:28 -04:00
Bram Kragten 2de0b0f6ac Update frontend to 20230630.0 (#95635) 2023-06-30 15:08:27 -04:00
Marius 313e15a915 Update services.yaml (#95630)
take out 'templates accepted'
2023-06-30 15:08:26 -04:00