Commit graph

66470 commits

Author SHA1 Message Date
elmurato
7c3605c82e
Use config entry ID as unique ID and remove dependency to getmac in Minecraft Server ()
* Use config entry ID as unique ID

* Add entry migration to v2 and and remove helper module

* Remove unneeded strings

* Add asserts for config, device and entity entries and improve comments

* Add debug log for config entry migration

* Reset config entry unique ID and use config entry ID instead

* Remove unnecessary unique ID debug log

* Revert usage of constants for tranlation keys and use dash as delimiter for entity unique id suffix

* Revert "Revert usage of constants for tranlation keys and use dash as delimiter for entity unique id suffix"

This reverts commit 07de334606054097e914404da04950e952bef6d2.

* Remove unused logger in entity module
2023-09-07 12:22:46 +02:00
swamplynx
e8dfa7e2c8
Bump pylutron-caseta to v0.18.2 ()
* Bump pylutron-caseta to v0.18.2

Minor bump to pylutron-caseta requirement to support wall mounted occupancy sensor device type in latest RA3 firmware.

* Update requirements_all.txt for pylutron-caseta 0.18.2

* Update requirements_test_all.txt for pylutron-caseta 0.18.2
2023-09-07 12:17:38 +02:00
J. Nick Koston
f1ae523ff2
Bump pyenphase to 1.9.3 ()
* Bump pyenphase to 1.9.2

changelog: https://github.com/pyenphase/pyenphase/compare/v1.9.1...v1.9.2

Handle the case where the user has manually specified a password for
local auth with firmware < 7.x but its incorrect.

The integration previously accepted any wrong password and would
reduce functionality down to what works without a password. We now
preserve that behavior to avoid breaking existing installs.

* bump
2023-09-07 12:17:04 +02:00
Rami Mosleh
0cc2c27115
Add strict typing to islamic prayer times ()
* Add strict typing to islamic prayer times

* fix mypy errors
2023-09-07 12:16:31 +02:00
Erik Montnemery
e5210c5823
Always set severity level flag on render_template error events () 2023-09-07 12:00:19 +02:00
Arda ŞEREMET
9351e79dcb
Bump ProgettiHWSW to 0.1.3 ()
* Update manifest.json

* Update requirements_test_all.txt

* Update requirements_all.txt

* Updated dependencies file.

* Update manifest.json with correct naming convention.

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

* Updated requirements.

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-07 10:53:59 +02:00
Ståle Storø Hauknes
d2f9270bc9
Add my self as codeowner for airthings_ble ()
Update airthings_ble codeowner
2023-09-07 10:36:49 +02:00
Quentame
1a22ab77e1
Fix Freebox disk free space sensor ()
* Fix Freebox disk free space sensor

* Add initial value assert to check results
2023-09-07 10:28:08 +02:00
Maciej Bieniek
e1f4a3fa9f
Add energy meter sensors for Shelly Pro EM ()
* Add support for Pro EM

* Improve get_rpc_channel_name()

* Revert an unintended change

* Add tests
2023-09-07 06:59:04 +02:00
J. Nick Koston
0c7e0f5cd9
Bump sense_energy to 0.12.1 () 2023-09-06 20:01:22 -05:00
Aaron Bach
2565f153cd
Bump aiorecollect to 2023.09.0 () 2023-09-06 17:26:14 -06:00
Joost Lekkerkerker
3afdecd51f
Use shorthand attributes in Plum ()
Use shorthand attributes in Plum shorthand
2023-09-06 23:37:31 +02:00
Joost Lekkerkerker
61b02e9c66
Use shorthand attributes in Progetti ()
Use shorthand attributes in Progetti shorthand
2023-09-06 23:34:39 +02:00
Joost Lekkerkerker
b0e46f425f
Remove deprecated entities from OpenTherm Gateway () 2023-09-06 21:50:48 +02:00
J. Nick Koston
533350b94a
Bump dbus-fast to 1.95.0 () 2023-09-06 13:21:21 -05:00
J. Nick Koston
fdf902e053
Bump zeroconf to 0.98.0 () 2023-09-06 12:37:42 -05:00
Jan Bouwhuis
7c7456df99
Handle alexa invalid climate temp adjustment ()
* Handle temp adjust when target state not set

* Update homeassistant/components/alexa/errors.py

Co-authored-by: Robert Resch <robert@resch.dev>

* black

---------

Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-06 18:54:16 +02:00
Jan-Philipp Benecke
7a6c8767b3
Improve typing of trend component ()
* Some typing in trend component

* Add missing type hint

* Enable strict typing on trend
2023-09-06 18:51:38 +02:00
Tomáš Holý
9bc07f50f9
Add additional fields for 3-phase UPS to nut ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-06 11:39:33 -05:00
mkmer
54d92b649b
Raise error on open/close failure in Aladdin Connect ()
Raise error on open/close failure
2023-09-06 18:33:58 +02:00
James Smith
f24c4ceab6
Enable strict typing for Climate component ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-06 17:55:41 +02:00
Marc Mueller
8bfdc5d3d9
Update pytest-aiohttp to 1.0.5 () 2023-09-06 17:37:11 +02:00
Joost Lekkerkerker
eab76fc621
Revert "Bump pyoverkiz to 1.10.1 ()" () 2023-09-06 17:16:40 +02:00
Marc Mueller
ab3bc1b74b
Improve blink config_flow typing () 2023-09-06 17:00:16 +02:00
Marc Mueller
2628a86864
Update pre-commit to 3.4.0 () 2023-09-06 16:58:57 +02:00
Marc Mueller
d8035ddf47
Fix tradfri asyncio.wait () 2023-09-06 16:57:13 +02:00
Marc Mueller
5d54660802
Fix asyncio.wait typing () 2023-09-06 16:53:41 +02:00
David Knowles
0b95e4ac17
Fix the Hydrawise status sensor () 2023-09-06 16:51:27 +02:00
Erik Montnemery
c9a6ea94a7
Send template render errors to template helper preview () 2023-09-06 16:07:05 +02:00
Erik Montnemery
e1ea53e72f
Correct state attributes in template helper preview () 2023-09-06 16:06:33 +02:00
Erik Montnemery
c376447ccd
Don't allow changing device class in template binary sensor options () 2023-09-06 15:59:30 +02:00
Erik Montnemery
97710dc5b7
Correct state attributes in group helper preview () 2023-09-06 15:59:03 +02:00
David Knowles
bb765449eb
Add binary_sensor to Schlage ()
* Add binary_sensor to Schlage

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-06 15:03:54 +02:00
Bram Kragten
9700888df1
Update frontend to 20230906.1 () 2023-09-06 15:00:26 +02:00
starkillerOG
0037385336
Reolink onvif not supported fix ()
* only subscibe to ONVIF if supported

* Catch NotSupportedError when ONVIF is not supported

* fix styling
2023-09-06 14:46:24 +02:00
Jan Bouwhuis
397952ceea
Postpone Imap_email_content removal () 2023-09-06 12:45:46 +02:00
Jan Bouwhuis
b815ea1332
Revert "Remove imap_email_content integration" () 2023-09-06 11:54:18 +02:00
Marc Mueller
274507b5c9
Fix pylint plugin test DeprecationWarning () 2023-09-06 11:35:57 +02:00
J. Nick Koston
034fabe188
Use loop time to set context ()
* Use loop time to set context

loop time is faster than utcnow, and since its only used internally it can
be switched without a breaking change

* fix mocking
2023-09-06 11:04:49 +02:00
c0ffeeca7
71afa0ff43
Yellow LED controls: rename LEDs ()
- reorder, to reflect placement on board, left to right (yellow, green, red)
2023-09-06 10:46:52 +02:00
Bram Kragten
00ada69e0b
Update frontend to 20230906.0 () 2023-09-06 10:40:05 +02:00
Erik Montnemery
687e69f7c3
Fix unit conversion for gas cost sensor () 2023-09-06 10:35:04 +02:00
Erik Montnemery
48f7924e9e
Allow specifying a custom log function for template render ()
* Allow specifying a custom log function for template render

* Bypass template cache when reporting errors + fix tests

* Send errors as events

* Fix logic for creating new TemplateEnvironment

* Add strict mode back

* Only send error events if report_errors is True

* Force test of websocket_api only

* Debug test

* Run pytest with higher verbosity

* Timeout after 1 minute, enable syslog output

* Adjust timeout

* Add debug logs

* Fix unsafe call to WebSocketHandler._send_message

* Remove debug code

* Improve test coverage

* Revert accidental change

* Include severity in error events

* Remove redundant information from error events
2023-09-06 10:03:35 +02:00
Jan-Philipp Benecke
f41b045244
Use shorthand attributes in Trend () 2023-09-06 09:55:25 +02:00
Erik Montnemery
cdca4591a4
Include template listener info in template preview () 2023-09-06 09:49:42 +02:00
Jan-Philipp Benecke
b28fda2433
Move template coordinator to its own file ()
* Move template update coordinator to its own file

* Add coordinator.py to .coveragerc

* Remove coordinator.py to .coveragerc

* Apply suggestions from code review

* Update homeassistant/components/template/coordinator.py

* Copy over fixes from upstream

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-09-06 08:54:25 +02:00
tronikos
d4ef570b0a
Add a comment why state_class=total () 2023-09-06 08:43:46 +02:00
Rami Mosleh
d523734db1
Display channel number in Bravia TV if title is not available ()
Display channel number if title is not available
2023-09-06 08:35:34 +02:00
Maciej Bieniek
d9a1ebafdd
Show OTA update progress for Shelly gen2 devices ()
* Show OTA update progress

* Use an event listener instead of a dispatcher

* Add tests

* Fix name

* Improve tests coverage

* Fix subscribe/unsubscribe logic

* Use async_on_remove()
2023-09-06 08:17:45 +02:00
Joost Lekkerkerker
4f05e61072
Add codeowner for Withings () 2023-09-05 21:14:56 -05:00