1
mirror of https://github.com/home-assistant/core synced 2024-09-06 10:29:55 +02:00
Commit Graph

66668 Commits

Author SHA1 Message Date
J. Nick Koston
fa1a1715c9
Drop codeowner for LIFX (#100556) 2023-09-18 10:08:49 -05:00
J. Nick Koston
49d742ce31
Drop codeowner for Magic Home/flux_led (#100557) 2023-09-18 10:08:38 -05:00
Jan-Philipp Benecke
adf34bdf8b
Set co2signal integration type to service (#100543) 2023-09-18 12:56:35 +02:00
Joost Lekkerkerker
ec6c374761
Clean up lyric sensor platform (#100495)
* Clean up lyric sensor platform

* Clean up lyric sensor platform

* Clean up lyric sensor platform

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

---------

Co-authored-by: Aidan Timson <aidan@timmo.dev>
2023-09-18 12:42:31 +02:00
jan iversen
6ac1305c64
Adjust codeowners in modbus (#100474) 2023-09-18 12:39:09 +02:00
Marc Mueller
306f39b053
Update pytest warnings filter (#100546) 2023-09-18 12:26:16 +02:00
Marc Mueller
08c4e82cf9
Update typing-extensions to 4.8.0 (#100545) 2023-09-18 11:58:47 +02:00
Jan-Philipp Benecke
dc2afb71ae
Move co2signal coordinator to its own file (#100541)
* Move co2signal coordinator to its own file

* Fix import
2023-09-18 11:56:28 +02:00
steffenrapp
45c0dc6854
Add missing conversation service translation (#100308)
* Update services.yaml

* Update strings.json

* Update services.yaml

* Update strings.json

* Update strings.json

* fix translation keys

* Fix translation keys
2023-09-18 11:44:41 +02:00
Ville Skyttä
902f997ee0
Fix google invalid token expiry test init for UTC offsets > 0 (#100533)
```
$ python3 -q
>>> import datetime, time
>>> time.tzname
('EET', 'EEST')
>>> datetime.datetime.max.timestamp()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: year 10000 is out of range
```
2023-09-18 12:39:43 +03:00
Marc Mueller
f41e3a2beb
Remove duplicate mobile_app client fixture (#100530) 2023-09-18 10:52:43 +02:00
Glenn Waters
276d245409
Bump elkm1-lib to 2.2.6 (#100537) 2023-09-17 20:39:23 -05:00
Maciej Bieniek
f6243a1f79
Add event platform for Shelly gen2 devices (#99659)
* Add event platform for gen2 devices

* Add tests

* Add removal condition

* Simplify RpcEventDescription; fix availability

* Improve names and docstrings

* Improve the event entity name

* Use async_on_remove()

* Improve tests coverage

* Improve tests coverage

* Prefix the entity name with the device name in the old way

* Black

* Use DeviceInfo object
2023-09-18 00:38:08 +02:00
Marc Mueller
6acb182c38
Fix full black run condition [ci] (#100532) 2023-09-17 17:05:29 -05:00
starkillerOG
868afc037e
Try Reolink ONVIF long polling if ONVIF push not supported (#100375) 2023-09-17 22:28:52 +02:00
Markus Friedli
dd1dc52994
Fix broken reconnect capability of fritzbox_callmonitor (#100526) 2023-09-17 20:00:09 +02:00
Ville Skyttä
2794ab1782
Fix huawei_lte current month up/download sensor error on delete (#100506)
Deleting one of them prematurely deleted the last reset item
subscription that is shared between the two.
2023-09-17 18:11:44 +02:00
tronikos
7aa02b8621
Bump opower to 0.0.34 (#100501) 2023-09-17 09:50:17 -05:00
Marc Mueller
48f9a38c74
Update numpy to 1.26.0 (#100512) 2023-09-17 09:49:21 -05:00
Dennis
ddeb2854aa
Added device class to speedtestdotnet sensor entities. (#100500)
Added device class to sensor entities.
2023-09-16 15:40:16 -07:00
jan iversen
9931f45532
Deprecate modbus parameter retry_on_empty (#100292) 2023-09-16 21:14:52 +02:00
Jieyu Yan
81af45347f
Add fan modes in Lyric integration (#100420)
* Add fan modes in Lyric integration

* add fan_mode only when available

* move supported_features to init

* mapped fan_modes to built-in modes

* log KeyError for fan_modes
2023-09-16 20:58:00 +02:00
Joost Lekkerkerker
f715f5c76f
Only get meteo france alert coordinator if it exists (#100493)
Only get meteo france coordinator if it exists
2023-09-16 18:48:41 +02:00
J.P. Krauss
01ecef7f05
Fix error is measurement is not sent by AirNow (#100477) 2023-09-16 18:16:15 +02:00
Kevin
c8265a86b2
Bump python-androidtv to 0.0.72 (#100441)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-16 10:12:00 -05:00
J. Nick Koston
8a98a0e830
Avoid writing unifiprotect state when nothing has changed (#100439) 2023-09-16 09:57:43 -05:00
Joost Lekkerkerker
7b71d27637
Pass function correctly to Withings API (#100391)
* Pass function correctly to Withings API

* Add more typing
2023-09-16 16:20:24 +02:00
Ravaka Razafimanantsoa
f99dedfb42
Add switchbot cloud integration (#99607)
* Switches via API

* Using external library

* UT and checlist

* Updating file .coveragerc

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/switchbot_via_api/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Review fixes

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* This base class shouldn't know about Remote

* Fixing suggestion

* Sometimes, the state from the API is not updated immediately

* Review changes

* Some review changes

* Review changes

* Review change: Adding type on commands

* Parameterizing some tests

* Review changes

* Updating .coveragerc

* Fixing error handling in coordinator

* Review changes

* Review changes

* Adding switchbot brand

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* Review changes

* Adding strict typing

* Removing log in constructor

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-16 16:00:41 +02:00
jan iversen
568974fcc4
Modbus 100% test coverage (again) (#100482) 2023-09-16 14:00:22 +02:00
jan iversen
48dc81eff0
Simplify code, due to better error catching in modbus. (#100483) 2023-09-16 13:49:37 +02:00
Joost Lekkerkerker
30d604c851
Use central logger in Withings (#100406) 2023-09-16 13:46:11 +02:00
Jan-Philipp Benecke
16cc87bf45
Move flipr base entity to its own file (#100481)
* Move flipr base entity to its own file

* Add forgotten __init__.py
2023-09-16 11:55:49 +02:00
Jan-Philipp Benecke
b5c6e82374
Move co2signal models to their own file (#100478) 2023-09-16 11:49:49 +02:00
Jan-Philipp Benecke
57337b5cee
Move flipr coordinator to its own file (#100467) 2023-09-16 11:19:49 +02:00
Jan-Philipp Benecke
024db6dadf
Move cert_expiry coordinator to its own file (#100472)
* Move cert_expiry coordinator to its own file

* Add missing patched config flow test
2023-09-16 11:19:05 +02:00
Jan-Philipp Benecke
c504ca906d
Move co2signal exceptions to their own file (#100473)
* Move co2signal exceptions to their own file

* Add myself as codeowner
2023-09-16 11:18:19 +02:00
Jan Bouwhuis
9747e0091f
Use shorthand attrs for device_class zwave_js sensor (#100414)
* Use shorthand attrs zwave_js sensor

* Simplify
2023-09-16 10:13:27 +02:00
jan iversen
d25f45a957
Harden modbus against lib errors (#100469) 2023-09-16 09:57:55 +02:00
Joost Lekkerkerker
a111988232
Make codespell ignore snapshots (#100463) 2023-09-15 20:39:14 +02:00
J. Nick Koston
a4e0444b95
Bump sense-energy to 0.12.2 (#100459) 2023-09-15 13:38:14 -05:00
Kevin Stillhammer
c9975852bb
bump pywaze to 0.5.0 (#100456) 2023-09-15 19:03:04 +02:00
Matrix
06949b181f
Bump yolink-api to 0.3.1 (#100426) 2023-09-15 17:20:30 +02:00
jan iversen
fd83f7d87f
Add test for modbus CONF_DEVICE_ADDR (#100435) 2023-09-15 16:12:44 +02:00
Robert Resch
b329439fff
Fix timer reload description (#100433)
Fix copy/paste error of #100388
2023-09-15 16:05:56 +02:00
jan iversen
9eb0b844bc
Test VIRTUAL_COUNT parameter (#100434) 2023-09-15 15:02:24 +02:00
steffenrapp
b4c095e944
Add missing timer service translation (#100388) 2023-09-15 14:42:27 +02:00
Seth
5ac149a760
Remove state class from RainMachine TIMESTAMP sensors (#100400) 2023-09-15 14:33:17 +02:00
jan iversen
ec2364ef43
Add virtual_count == slave_count in modbus configuration (#100398)
* Add virtual_count as config parameter.

* Review (other PR) comments.

* Review.

* Review comment.
2023-09-15 14:00:02 +02:00
jan iversen
c173ebd11a
Add device_address to modbus configuration (#100399) 2023-09-15 13:49:33 +02:00
Joost Lekkerkerker
1737b27dd4
Generate withings webhook ID in config flow (#100395) 2023-09-15 12:58:56 +02:00