Commit Graph

63744 Commits (4ff158a105e815c2323d02cf163bc7d193f319d8)

Author SHA1 Message Date
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
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 Kroegel 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 Vleeshouwer 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
puddly 8ddc7f2089
Fix ZHA startup issue with older Silicon Labs firmwares (#95642)
Bump ZHA dependencies
2023-06-30 15:07:20 -04:00
Dave Pearce 982a52b91d
Add unique_id to Wirelesstag entities. (#95631)
* Add unique_id to Wirelesstag entities.

* Update homeassistant/components/wirelesstag/binary_sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/wirelesstag/sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/wirelesstag/switch.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-06-30 15:04:23 -04:00
dougiteixeira c6210b68bd
Fix device source for Riemann sum integral (#95622)
Fix Device Source
2023-06-30 14:49:00 -04:00
dougiteixeira c472ead4fd
Fix device source for Threshold (#95623)
Fix Device Source
2023-06-30 14:48:36 -04:00
dougiteixeira 0431e031ba
Fix device source for Utility Meter select (#95624)
Fix Device Source
2023-06-30 14:48:11 -04:00
dougiteixeira 11146ff40b
Fix device source for Derivative (#95621)
Fix Device Source
2023-06-30 14:29:44 -04:00
Michael Hansen 6b8ae0ec86
Ensure trigger sentences do not contain punctuation (#95633)
* Ensure trigger sentences do not contain punctuation

* Update homeassistant/components/conversation/trigger.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-30 13:06:26 -05:00
Bram Kragten 958359260e
Update frontend to 20230630.0 (#95635) 2023-06-30 13:55:03 -04:00
Paulus Schoutsen 9280dc69ae
Default device name to config entry title (#95547)
* Default device name to config entry title

* Only apply name default if device info provided

* Fix logic detecting type of device info
2023-06-30 13:54:20 -04:00
Brett Adams d4e40ed73f
Fix Diagnostics in Advantage Air (#95608)
* Fix diag paths

* Fix key sand add redactions

* Name things better.

* Add super basic test

* Rename docstring

* Add snapshot

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-30 13:52:52 -04:00
J. Nick Koston 376c61c34b
Bump aioesphomeapi to 15.0.1 (#95629)
fixes #87223 (the cases were the host gets too far behind,
not the cases were the esp8266 runs out of ram but thats
is not a core issue)
2023-06-30 11:37:04 -04:00
Joost Lekkerkerker 9cf691abdb
Fix explicit device naming for integrations m-r (#95620)
Fix explicit device naming for m-r
2023-06-30 11:34:35 -04:00
Joost Lekkerkerker 7eb26cb9c9
Fix explicit device naming for integrations a-j (#95619)
Fix explicit device naming for a-j
2023-06-30 11:33:50 -04:00
J. Nick Koston beac3c713b
Handle DNSError during radio browser setup (#95597)
```
2023-06-29 08:11:06.034 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Radio Browser for radio_browser
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 390, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/radio_browser/__init__.py", line 25, in async_setup_entry
    await radios.stats()
  File "/usr/local/lib/python3.11/site-packages/radios/radio_browser.py", line 124, in stats
    response = await self._request("stats")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/backoff/_async.py", line 151, in retry
    ret = await target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/radios/radio_browser.py", line 73, in _request
    result = await resolver.query("_api._tcp.radio-browser.info", "SRV")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
aiodns.error.DNSError: (12, 'Timeout while contacting DNS servers')
```
2023-06-30 11:21:10 -04:00
Marius 0f1f3bce87
Update services.yaml (#95630)
take out 'templates accepted'
2023-06-30 11:20:20 -04:00
Aaron Bach 39e0662fc8
Add ability to configure map icons for PurpleAir (#86124) 2023-06-30 08:35:19 -06:00
Marc Mueller 522d2496df
Update typing-extensions to 4.7.0 (#95539) 2023-06-30 15:00:15 +02:00
Dr. Drinovac 8510d3ad69
Use explicit naming in Sensibo climate entity (#95591)
* Use explicit naming in Sensibo climate entity

* Fix black

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-06-30 14:48:20 +02:00
Joost Lekkerkerker 4ac92d755e
Add config flow for zodiac (#95447)
* Add config flow for zodiac

* Add config flow for zodiac

* Fix feedback
2023-06-30 12:58:07 +02:00
Álvaro Fernández Rojas abf6e0e44d
Refactor Airzone Cloud _attr_has_entity_name in sensor (#95609)
airzone_cloud: sensor: refactor _attr_has_entity_name

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-30 11:39:10 +02:00
Brett Adams 78de5f8e3e
Explicity use device name in Advantage Air (#95611)
Explicity use device name
2023-06-30 11:37:57 +02:00