Commit Graph

63307 Commits (9354df975c131e0c6d233ab25c86d73c9404bef6)

Author SHA1 Message Date
Tom Harris ea0e1c54d6
Handle Insteon events correctly (#94549)
Make events generalized
2023-06-16 09:35:44 +02:00
Raman Gupta 934e1a1603
Fix zwave_js trigger event reattach logic (#94702) 2023-06-16 09:35:29 +02:00
Alistair Tudor 843a15b1bb
Fix unit for Habitica text sensors (#94550) 2023-06-16 09:33:02 +02:00
Joost Lekkerkerker 4eefbfd4f2
Add strings for YouTube reauthentication (#94655) 2023-06-16 09:10:55 +02:00
G Johansson 72c1273d25
Fix Command Line update twice issue (#94672)
Command Line update twice issue
2023-06-16 09:08:51 +02:00
Franck Nijhof be05a749c5
Add preheating HVAC action to climate (#94677)
* Add preheating HVAC action to climate

* Fix MQTT tests
2023-06-15 22:16:12 -04:00
J. Nick Koston 26be0fab78
Fix debouncer not scheduling timer when wrapped function raises (#94689)
* Fix debouncer not scheduling timer when callback function raises

* test coro as well

* preen
2023-06-15 22:15:49 -04:00
J. Nick Koston 34b725bb99
Debounce discoveries to improve event loop stability at the started event (#94690)
* Debounce discoveries to improve event loop stability at the started event

The first one is immediate and anything that fires within the next
second will be debounced to only happen once every second

* fix mock
2023-06-15 22:15:07 -04:00
J. Nick Koston 7e3510800d
Bump bluetooth-data-tools to 1.2.0 (#94696)
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.1.0...v1.2.0

benchmark (0.4.0) currently in 2023.6.x: Parsing 100000 bluetooth messages took 8.928823958034627 seconds
benchmark (1.2.0) this PR: Parsing 100000 bluetooth messages took 1.6808899159659632 seconds
2023-06-15 22:11:14 -04:00
Dirk Sarodnick 3440c1615d
Fix bluetooth tracker asyncio usage (#94695)
* fix for asyncio usage

fixes the error "Passing coroutines is forbidden, use tasks explicitly", caused by passing an async function into asyncio.wait directly instead of creating a task for it.

* removes unnecessary default param

* corrects formatting for black
2023-06-15 22:10:04 -04:00
J. Nick Koston 45bf1235d8
Remove airplay filter now that apple tv supports airplay 2 (#94693)
remove airplay filter
2023-06-15 22:09:10 -04:00
J. Nick Koston 298f763f12
Drop codeowner for myq (#94699)
All of my garage doors have been migrated to using
https://esphome-ratgdo.github.io/esphome-ratgdo/

All of my gates have been migrated to using a
KC868-A4 board https://www.kincony.com/kc868-a4-digital-input-trigger-relay-output-esphome.html

I no longer use myq in production as there is now a
viable esphome replacement every place I was using
myq
2023-06-15 21:15:33 -04:00
Jan Bouwhuis 5e55f83cbc
Correct imap sensor measurement class and add suggested precision (#94060)
* Fix imap sensor measurement class and precision

* Test measurement class is set correctly

* Remove unrelated changes

* Move EntityDescription to module level
2023-06-16 00:44:58 +02:00
Michał Modzelewski b104680c6d
Bump pyatv to 0.13.0 (#94683) 2023-06-15 11:57:36 -10:00
Franck Nijhof 21bdcd6b63
Remove str as a valid HVACMode & HVACAction type (#94644)
* Remove str as a valid HAVCMode type

* Adjust pylint plugin

* Also remove str from hvac_action property method
2023-06-15 20:16:17 +02:00
Franck Nijhof 324bd9a97a
Fix HAVCAction typing in Atag (#94656) 2023-06-15 18:43:56 +02:00
Franck Nijhof 81d46fe2b2
Fix HAVCAction typing in Balboa Spa Client (#94658) 2023-06-15 18:43:32 +02:00
Franck Nijhof 68f87fe42a
Fix HAVCAction typing in Genius Hub (#94659) 2023-06-15 18:43:11 +02:00
Franck Nijhof 7e5a9ea6c7
Fix HAVCAction typing in Overkiz (#94660) 2023-06-15 18:42:46 +02:00
Kim Frellsen 562f0d3c52
Fortios device tracker updates (#92331)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-15 15:34:14 +02:00
Franck Nijhof a7955e4458
Fix HAVCMode typing in Elk-M1 Control (#94639) 2023-06-15 15:27:49 +02:00
Franck Nijhof d78429ad95
Use HAVCMode enum in Atag climate (#94634) 2023-06-15 14:14:25 +02:00
Franck Nijhof 204833b745
Fix HAVCMode typing in Rheem EcoNet (#94637) 2023-06-15 14:13:59 +02:00
Franck Nijhof 998a45879e
Use HAVCMode enum in BSB-Lan climate (#94638) 2023-06-15 14:13:20 +02:00
Franck Nijhof 908f3386e7
Fix HAVCMode typing in ESPHome (#94630) 2023-06-15 14:12:11 +02:00
Franck Nijhof 6f106e6505
Fix HAVCMode typing in AVM FRITZ!SmartHome (#94642) 2023-06-15 14:11:18 +02:00
Franck Nijhof e899cb3caa
Fix HAVCMode typing in Genius Hub (#94640) 2023-06-15 14:08:38 +02:00
Franck Nijhof b1abe6812b
Fix HAVCMode typing in Honeywell Total Connect Comfort (#94636) 2023-06-15 14:07:41 +02:00
Franck Nijhof e49f1b002f
Fix HAVCMode typing in Fibaro (#94641) 2023-06-15 14:07:08 +02:00
Franck Nijhof 1d3a7512d8
Fix HAVCMode typing in Overkiz (#94632) 2023-06-15 14:06:06 +02:00
Franck Nijhof 886dea59c3
Fix HAVCMode typing in Tuya (#94631) 2023-06-15 14:05:08 +02:00
Franck Nijhof 6c4fe9fc3b
Fix HAVCMode typing in Intellifire (#94633) 2023-06-15 14:04:38 +02:00
Dominik 64d914d56d
Bump minimum typing_extensions to 4.6.3 (#94587) 2023-06-15 12:30:52 +02:00
Erik Montnemery 334dacc322
Change Entity.name default to UNDEFINED (#94574)
* Change Entity.name default to UNDEFINED

* Update typing

* Update Pylint plugin

* Update TTS test
2023-06-15 11:09:53 +02:00
J. Nick Koston d369d679c7
Fix ESPHome entries reloading after startup when dashboard is in use (#94362) 2023-06-14 21:16:39 -10:00
epenet 580b09d0f2
Refactor XML parsing in rest (#94268)
* Refactor XML parsing in rest

* Adjust caplog check

* Adjust

* Rename

* Simplify
2023-06-15 09:15:25 +02:00
Aidan Timson 61d260e5fe
Add CPU Power to System Bridge (#80781)
* Add CPU Power to System Bridge

* Rename

* Update homeassistant/components/system_bridge/sensor.py

Co-authored-by: Aarni Koskela <akx@iki.fi>

* Fix unit

* Add suggested_display_precision=2

---------

Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-06-14 21:47:50 -04:00
J. Nick Koston 2a5ffa9a5b
Fix timestamps for bluetooth scanners that bundle advertisements (#94511)
#94138 added support for raw/bundled advertisements. We should use the
same monotonic time for all advertisements in the bundle if not time
is passed, or calculate the timestamp and pass it if its known
2023-06-14 21:47:00 -04:00
puddly 22dfa8797f
Bump ZHA dependencies (#93989)
* Make `find_entity_id` synchronous

* Remove `tries`

* Use new `attribute_updated` event signature

* Validate attributes before creating entities

* Avoid swallowing exceptions when opening covers

* Bump ZHA dependencies

* Add a matcher for Sinope water leak sensors using a non-standard ZCL attribute

* Ensure handler matching is strict, not multi

* Add type annotations for newly-updated functions
2023-06-14 21:42:31 -04:00
J. Nick Koston 584967a35a
Avoid double call to self.suggested_unit_of_measurement in sensor unit_of_measurement (#94582) 2023-06-14 21:33:05 -04:00
J. Nick Koston e0ae7a31fe
Remove _raw from zeroconf properties (#94615)
* Remove _raw from zeroconf properties

This was added in #31059 but it appears it was never used.

To preserve backwards compatibility, properties are still decoded
but utf-8 errors are replaced instead of dropped

* Remove _raw from zeroconf properties

This was added in #31059 but it appears it was never used.

To preserve backwards compatibility, properties are still decoded
but utf-8 errors are replaced instead of dropped
2023-06-14 21:31:52 -04:00
Maciej Bieniek 7b3f100efb
Catch InvalidAuthError in `shutdown()` method for Shelly gen2 devices (#94563)
* Catch InvalidAuthError in shutdown() method

* Add test

* Revert unwanted change in tests
2023-06-15 00:00:21 +03:00
disforw a79e37c240
Add coordinator to QNAP (#94413)
* Create coordinator.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update homeassistant/components/qnap/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Add import

* Update coordinator.py

* Update coordinator.py

* Add platformnotready

* Walrus

* Update sensor.py

* Undo walres

CI didnt like it

* Update coordinator.py black fix

* Update sensor.py fix black

* Update sensor.py fix ruff

* Update coordinator.py fix lint

* Update sensor.py fix ruff

* Update homeassistant/components/qnap/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update sensor.py

* Update coordinator.py

* Update coordinator.py

* Update sensor.py

* Update homeassistant/components/qnap/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update sensor.py

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-06-14 22:42:49 +02:00
J. Nick Koston b149fffa08
Bump bluetooth-data-tools to 1.1.0 (#94610)
Bume bluetooth-data-tools to 1.1.0

performance improvements

https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.0.0...v1.1.0
2023-06-14 22:25:26 +02:00
Ian Foster e998320053
Fix keyboard_remote for python 3.11 (#94570)
* started work to update keyboard_remote to work with python 3.11

* updated function names

* all checks pass

* fixed asyncio for python 3.11

* cleanup

* Update homeassistant/components/keyboard_remote/__init__.py

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

* Update __init__.py

added:
from __future__ import annotations

* Fix typing

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-14 22:06:55 +02:00
Erik Montnemery e539344d22
Set has_entity_name in mill (#94605) 2023-06-14 21:45:14 +02:00
Erik Montnemery cc53e4e6c1
Set has_entity_name in kodi (#94604)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-14 21:44:17 +02:00
Erik Montnemery fa9c31d3db
Set has_entity_name in freedompro (#94603)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-14 21:42:51 +02:00
Erik Montnemery c48afebbfc
Set has_entity_name in electrasmart (#94602)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-14 21:41:53 +02:00
Erik Montnemery fc068f878b
Minor adjustment in sharkiq, webostv, ws66i (#94611) 2023-06-14 21:41:32 +02:00