Commit graph

66641 commits

Author SHA1 Message Date
Ravaka Razafimanantsoa
f99dedfb42
Add switchbot cloud integration ()
* 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) () 2023-09-16 14:00:22 +02:00
jan iversen
48dc81eff0
Simplify code, due to better error catching in modbus. () 2023-09-16 13:49:37 +02:00
Joost Lekkerkerker
30d604c851
Use central logger in Withings () 2023-09-16 13:46:11 +02:00
Jan-Philipp Benecke
16cc87bf45
Move flipr base entity to its own file ()
* 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 () 2023-09-16 11:49:49 +02:00
Jan-Philipp Benecke
57337b5cee
Move flipr coordinator to its own file () 2023-09-16 11:19:49 +02:00
Jan-Philipp Benecke
024db6dadf
Move cert_expiry coordinator to its own file ()
* 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 ()
* 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 ()
* Use shorthand attrs zwave_js sensor

* Simplify
2023-09-16 10:13:27 +02:00
jan iversen
d25f45a957
Harden modbus against lib errors () 2023-09-16 09:57:55 +02:00
Joost Lekkerkerker
a111988232
Make codespell ignore snapshots () 2023-09-15 20:39:14 +02:00
J. Nick Koston
a4e0444b95
Bump sense-energy to 0.12.2 () 2023-09-15 13:38:14 -05:00
Kevin Stillhammer
c9975852bb
bump pywaze to 0.5.0 () 2023-09-15 19:03:04 +02:00
Matrix
06949b181f
Bump yolink-api to 0.3.1 () 2023-09-15 17:20:30 +02:00
jan iversen
fd83f7d87f
Add test for modbus CONF_DEVICE_ADDR () 2023-09-15 16:12:44 +02:00
Robert Resch
b329439fff
Fix timer reload description ()
Fix copy/paste error of 
2023-09-15 16:05:56 +02:00
jan iversen
9eb0b844bc
Test VIRTUAL_COUNT parameter () 2023-09-15 15:02:24 +02:00
steffenrapp
b4c095e944
Add missing timer service translation () 2023-09-15 14:42:27 +02:00
Seth
5ac149a760
Remove state class from RainMachine TIMESTAMP sensors () 2023-09-15 14:33:17 +02:00
jan iversen
ec2364ef43
Add virtual_count == slave_count in modbus configuration ()
* 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 () 2023-09-15 13:49:33 +02:00
Joost Lekkerkerker
1737b27dd4
Generate withings webhook ID in config flow () 2023-09-15 12:58:56 +02:00
Erik Montnemery
d1afcd773f
Revert "Cache entity properties that are never expected to change in the base class" ()
Revert "Cache entity properties that are never expected to change in the base class ()"

This reverts commit 042776ebb8.
2023-09-15 11:25:24 +02:00
Jan-Philipp Benecke
7723a9b36b
Move airtouch4 coordinator to its own file () 2023-09-15 10:04:41 +02:00
TJ Horner
a8013836e1
Bump apple_weatherkit to 1.0.3 () 2023-09-15 08:28:27 +02:00
Erik Montnemery
a70235046a
Tweak datetime service schema () 2023-09-15 08:07:27 +02:00
Diogo Gomes
9470c71d49
Fix current condition in IPMA ()
always use hourly forecast to retrieve current weather condition. fix 
2023-09-15 07:52:50 +02:00
Jan-Philipp Benecke
772ac9766b
Move awair coordinators to their own file ()
* Move awair coordinators to their file

* Add awair/coordinator.py to .coveragerc
2023-09-15 07:52:29 +02:00
J. Nick Koston
b68ceb3ce4
Use more shorthand attributes in hyperion ()
* Use more shorthand attributes in hyperion

There are likely some more here, but I only did the safe ones

* Update homeassistant/components/hyperion/switch.py

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

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-15 02:28:59 +00:00
J. Nick Koston
6a9c9ca735
Improve performance of mqtt_room () 2023-09-14 17:55:56 -05:00
J. Nick Koston
042776ebb8
Cache entity properties that are never expected to change in the base class () 2023-09-14 17:48:48 -05:00
Joakim Plate
5f20725fd5
Remove _next_refresh variable in update coordinator ()
* Remove _next_refresh variable

* Adjust tomorrowio
2023-09-14 22:32:50 +02:00
J. Nick Koston
df74ed0d40
Bump bleak-retry-connector to 3.2.1 () 2023-09-14 15:13:15 -05:00
Jan Bouwhuis
23faa0882f
Avoid multiline ternary use () 2023-09-14 22:10:28 +02:00
Joost Lekkerkerker
c34c4f8f03
Reload on Withings options flow update ()
* Reload on Withings options flow update

* Remove reload from reauth
2023-09-14 21:54:49 +02:00
Jan-Philipp Benecke
157647dc44
Move solarlog coordinator to own file () 2023-09-14 21:52:21 +02:00
Joost Lekkerkerker
a62f16b4cc
Remove obsolete strings from Withings () 2023-09-14 21:41:34 +02:00
starkillerOG
3f2a660dab
Bump reolink-aio to 0.7.10 () 2023-09-14 21:24:23 +02:00
Robert Svensson
f909199125
Remove hard coded Icon from Unifi device scanner () 2023-09-14 20:13:46 +02:00
J. Nick Koston
1d4b731603
Bump zeroconf to 0.112.0 () 2023-09-14 12:40:47 -05:00
Jan Bouwhuis
6701a449bd
Use shorthand attrs for tasmota () 2023-09-14 18:17:23 +02:00
Jan Bouwhuis
8b7061b634
Short handed device class for overkiz cover () 2023-09-14 11:10:31 -05:00
Jan Bouwhuis
89eec9990b
Use shorthand device_type attr for plaato sensors () 2023-09-14 09:55:47 -05:00
jan iversen
d4a2927ebe
Solve racing problem in modbus test ()
* Test racing problem.

* review comment.

* Revert to approved state.

This reverts commit 983d9d68e8.
2023-09-14 16:03:32 +02:00
starkillerOG
7ea2087c45
Add Netgear entity translations ()
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-14 13:58:53 +02:00
Joost Lekkerkerker
6fc1407613
Extract Withings API specifics in own class ()
* Extract Withings API specifics in own class

* Extract Withings API specifics in own class

* Ignore api test coverage

* fix feedback
2023-09-14 13:31:54 +02:00
Ståle Storø Hauknes
b858658516
Fix Airthings ble migration ()
* Import Platform for tests

* Migration bugfix

* Store new unique id as a variable in tests

* Add comments to tests
2023-09-14 12:51:06 +02:00
Guido Schmitz
8a8f1aff83
Remove useless timeout guards in devolo_home_network () 2023-09-14 12:35:21 +02:00
Jan Rieger
f305661dd7
Change service set_location to use number input selectors () 2023-09-14 12:13:19 +02:00