Joakim Sørensen
f5c35ac0c1
Handle zone exception when setting up Cloudflare ( #85110 )
2023-01-04 14:36:41 +01:00
Erik Montnemery
22dbbd4b71
Revert "Disable sky connect config entry if USB stick is not plugged in" ( #85103 )
2023-01-04 11:33:16 +01:00
Jan Bouwhuis
9f24897814
Do not reset current selection on reconfig or MQTT select ( #85099 )
...
* Do not reset current selection on reconfig
* Add a test
2023-01-04 10:29:53 +01:00
Jan Bouwhuis
b29c96639b
Correct initial config of MQTT climate ( #85097 )
...
* Do not reset MQTT climate state on re-config
* More corrections
* Correct startup behavior in optimistic mode
2023-01-04 10:29:02 +01:00
Aaron Bach
49b1d6e7fe
Remove workaround for reloading PurpleAir upon device removal ( #85086 )
2023-01-03 21:24:24 -05:00
shbatm
e150b0cf0f
ISY994: Add dhcp support for eisy ( #85083 )
2023-01-03 15:14:36 -10:00
Paul Bottein
dd0f11a062
Add translation key for IPP printer integration ( #84441 )
...
* Add translation key for IPP printer integration
* Add tests
2023-01-03 17:56:46 -06:00
Mike K
799d527fb5
Add MQTT climate setting for current humidity ( #84592 )
...
* MQTT Climate: Add support for setting the current humidity via MQTT
* MQTT Climate: Add configuration constants related to setting the target humidity
* MQTT Climate: Add support for setting the humidity's state topic & template
* MQTT Climate: Add support for setting the initial humidity
* MQTT Climate: Add support for setting the humidity's command topic & template
* MQTT Climate: Add support for setting the min/max humidity
* MQTT Climate: Fix style & tests
* MQTT Climate: Set the initial humidity to None
* MQTT Climate: Rename _set_mqtt_attribute to _set_climate_attribute and handle_temperature_received to handle_climate_attribute_received
* MQTT Climate: Copy humidity range validation from MQTT Humidifier
* MQTT Climate: Remove CONF_HUMIDITY_INITIAL
* MQTT Climate: Only enable support for TARGET_HUMIDITY when the command topic is set
* MQTT Climate: Check if setting the target humidity is supported before actually setting it
* MQTT Climate: Make sure that CONF_HUMIDITY_COMMAND_TOPIC has been configured when setting CONF_HUMIDITY_STATE_TOPIC
* MQTT Climate: Fix broken tests
* MQTT Climate: Add test for optimistically setting the target humidity
* MQTT Climate: Remove references to "temperature" in handle_climate_attribute_received
* MQTT Climate: Add additional humidity-related tests
* MQTT Climate: Remove supported feature check in handle_target_humidity_received
It's not needed because this is covered by the `valid_humidity_state_configuration` validation.
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* MQTT Climate: Remove supported feature check in async_set_humidity
It is covered by the base Climate entity.
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-01-03 22:57:20 +01:00
Klaas Schoute
7d54620f34
Add EnergyZero integration ( #83886 )
2023-01-03 22:28:16 +01:00
Aarni Koskela
38f183a683
Ruuvi Gateway integration ( #84853 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-03 10:19:43 -10:00
Erik Montnemery
6490dcf099
Import mqtt and recorder locally in test fixtures ( #85067 )
2023-01-03 20:18:36 +01:00
Koen van Zuijlen
6349760a2c
Zeversolar integration ( #84887 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-03 20:14:08 +01:00
Ernst Klamer
171e114ec1
Add door, opening and motion sensors to Xiaomi-ble ( #84990 )
2023-01-03 08:21:28 -10:00
amitfin
b5664f9eaf
Bump pycoolmasternet-async and add coolmaster swing mode ( #82809 )
...
* Add filter and error code support to CoolMastetNet
* Create separate entities
* coolmaster swing_mode support
* Changed default to False
* Raise HomeAssistantError
* Add tests for init and climate
* Fixed bad merge
* Catch only ValueError
2023-01-03 10:21:11 -08:00
Austin Brunkhorst
ca7384f96e
Add services for transitioning snooz volume on or off ( #83515 )
...
* Add services for fading snooz on/off
* Rename fade to transition
2023-01-03 18:08:54 +01:00
amitfin
11b03b5669
Bump pycoolmasternet-async and add filter and error code support to CoolMastetNet ( #84548 )
...
* Add filter and error code support to CoolMastetNet
* Create separate entities
* Remove async_add_entities_for_platform
* Fixed call to async_add_entities
* Avoid using test global
2023-01-03 09:00:45 -08:00
epenet
34798189ca
Improve SFR Box test coverage ( #85054 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-03 17:56:30 +01:00
epenet
3737170d37
Improve onewire tests ( #85064 )
2023-01-03 17:32:39 +01:00
epenet
6af07aa348
Improve renault tests ( #85065 )
2023-01-03 17:32:10 +01:00
Sándor Oroszi
a0d41e1d97
Add hs_command_template and xy_command_template to mqtt light default schema ( #84988 )
...
* Add mqtt light hs_command_template
* Add mqtt light xy_command_template
2023-01-03 12:58:00 +01:00
epenet
2a9526de17
Address late feedback in SFR Box config flow ( #85037 )
...
* Address late feedback in SFR Box config flow
* Adjust tests
2023-01-03 12:18:05 +01:00
Erik Montnemery
605619a5ee
Update stale strings in repairs tests ( #85046 )
2023-01-03 11:11:20 +01:00
J. Nick Koston
6b95fa5942
Fix bluetooth not being loaded with esphome proxies when removed from default_config ( #85032 )
...
* Fix bluetooth not being loaded with esphome proxies when removed from default_config
fixes #84960
* actually commit the conftest change
2023-01-02 21:10:39 -05:00
starkillerOG
c4a5d12df4
Switch to reolink-aio ( #85014 )
...
* switch to reolink-aio
* fix imports
2023-01-02 20:49:55 -05:00
Martin Hjelmare
94b80db968
Handle not available add-on in hassio add-on manager ( #84943 )
...
* Handle not available add-on in hassio add-on manager
* Fix zwave_js tests
* Fix sky connect tests
* Fix matter tests
* Fix yellow tests
* Update hardware tests
2023-01-02 20:28:21 -05:00
shbatm
240e1fd8f3
Update ISY994 integration to be model agnostic ( #85017 )
2023-01-02 14:22:40 -10:00
J. Nick Koston
b8a1537b58
Improve performance of fetching and storing history and events with the database ( #84870 )
2023-01-02 13:26:08 -10:00
Erik Montnemery
472c23d35f
Disable sky connect config entry if USB stick is not plugged in ( #84975 )
...
* Disable sky connect config entry if USB stick is not plugged in
* Remove debug stuff
2023-01-02 22:24:59 +01:00
mkmer
323810e31a
Bump AIOAladdinConnect to 0.1.50 ( #85006 )
2023-01-02 21:47:36 +01:00
Joakim Plate
987e77780a
Only run garbage collection per module ( #84681 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-01-02 09:31:12 -10:00
Joakim Plate
b302d1f3fc
Add initial test for nibe buttons ( #84950 )
2023-01-02 20:24:20 +01:00
Robert Svensson
534bb74069
Bump axis to v45 ( #84992 )
2023-01-02 18:14:14 +01:00
Franck Nijhof
02b5da710b
Remove attributes from Twinkly lights ( #84986 )
2023-01-02 17:58:07 +01:00
Aaron Bach
0a77232444
Renovate PurpleAir tests ( #84894 )
2023-01-02 12:55:19 +01:00
Erik Montnemery
9af17fa5a0
Improve device automation tests ( #84972 )
2023-01-02 12:33:38 +01:00
Erik Montnemery
11c174aca3
Revert "Add aliases to device registry items" ( #84976 )
2023-01-02 12:30:25 +01:00
Jan Bouwhuis
9cf86b234b
Add optimistic option for MQTT climate ( #84777 )
2023-01-02 11:39:42 +01:00
Michael
bcbae1388d
Remove deprecated PI-Hole YAML config ( #84803 )
2023-01-02 10:57:16 +01:00
TheJulianJES
f740312247
Fix some typos in ZHA comments ( #84881 )
...
* Fix copy paste errors
* Fix "setup/set up" usage
* Fix typo
* Fix comment
* Fix copy paste errors
* Remove space at end of comment
* Remove double word
* Fix copy paste errors
* Fix typos
* Apply review suggestion
* Upper-case zha (to ZHA) everywhere
* Review: fix "over rules"
* Review: most/more
2023-01-02 00:20:59 -05:00
Allen Porter
0ae55fb58b
Fix Climate device HVAC mode trigger UI ( #84930 )
...
* Fix Climate device HVAC mode trigger UI
* Use updated order of test case results
2023-01-01 20:16:18 -05:00
Allen Porter
a1588cd6af
Fix caldav calendars with custom timezones ( #84955 )
...
* Fix caldav calendars with custom timezones
* Revert whitespace change
2023-01-01 20:11:34 -05:00
starkillerOG
c0d5ceb18c
Process late feedback for Reolink ( #84884 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-01 23:32:17 +01:00
mkmer
b65d4a9efd
Bump whirlpool-sixth-sense to 0.18.0 ( #84945 )
...
* bump whirlpool_sixth_sense to 18.0
add callback method initiated in 18.0
* add disconnect to mock
2023-01-01 20:08:54 +01:00
Robert Svensson
f56f391f81
Remove legacy constant from UniFi ( #84947 )
2023-01-01 20:03:14 +01:00
Aaron Bach
34b5928707
Use serial number for AirVisal Pro config entry unique ID ( #84902 )
...
* Use serial number for AirVisal Pro config entry unique ID
* Code review
2023-01-01 14:17:34 +01:00
Maikel Punie
fdf2f8a2ea
Bump velbus-aio to 2022.12.0 ( #83278 )
...
* Add support for fututre config entry migrations
* Add testcase
* dir check bug
* rework the migrate testcase
* implement comments
* Missed this part of the file
* Fix and clean tests
* add more into the testcase
* push sugestions
* Upgrade velbusaio to add version 2 support
* more comments
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-01 12:28:31 +01:00
J. Nick Koston
d51f483855
Fix failing HomeKit Controller diagnostics tests ( #84936 )
2022-12-31 21:38:34 -10:00
tronikos
d90ec3ccca
Google Assistant SDK: Log command and response ( #84904 )
...
Log command and response
2022-12-31 12:07:31 -08:00
Aaron Bach
ad51952802
Renovate ReCollect Waste config flow tests ( #84908 )
2022-12-31 07:35:33 -07:00
Aaron Bach
e7cb3f1979
Renovate Notion config flow tests ( #84906 )
2022-12-31 07:34:59 -07:00
Allen Porter
6b6f115d7e
Fix handling of empty google_calendars.yaml file ( #84909 )
...
fixes undefined
2022-12-31 11:50:56 +01:00
epenet
896526c24b
Add SFR Box integration ( #84780 )
...
* Add SFR Box integration
* Adjust error handling in config flow
* Add tests
* Use value_fn
* Add translation
* Enable mypy strict typing
* Add ConfigEntryNotReady
* Rename exception
* Fix requirements
2022-12-31 10:14:13 +01:00
J. Nick Koston
f6991cd4dc
Small fixes for SwitchBot Locks ( #84888 )
...
Co-authored-by: Aaron Bach <bachya1208@gmail.com>
2022-12-31 05:05:25 +01:00
Aaron Bach
f8467d253e
Renovate Ambient PWS config flow tests ( #84879 )
...
* Renovate Ambient PWS config flow tests
* Naming
* Update tests/components/ambient_station/conftest.py
* Update tests/components/ambient_station/conftest.py
* Simplify
2022-12-30 17:09:38 -07:00
Aaron Bach
34dc47ad10
Ensure AirVisual Pro migration includes device and entity customizations ( #84798 )
...
* Ensure AirVisual Pro migration includes device and entity customizations
* Update homeassistant/components/airvisual/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Code review
* Fix tests
* Fix tests FOR REAL
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-30 14:47:41 -07:00
Robert Svensson
60de2a82c7
Make device tracker use common UniFi entity class ( #84786 )
2022-12-30 22:27:45 +01:00
Franck Nijhof
02f64ada2d
Only reflect unavailable state in DSMR when disconnected ( #84862 )
...
* Only reflect unavailable state in DSMR when disonnected
* Addressreview comment
2022-12-30 13:08:11 -05:00
Franck Nijhof
f8fa676ac8
Do not validate device classes when entity state is unknown ( #84860 )
2022-12-30 13:07:49 -05:00
Aaron Godfrey
8cbbdf21f3
Update todoist integration to use new official rest api library ( #79481 )
...
* Swapping out libraries.
* Adding types
* Add ability to add task.
* Removed remaining todos.
* Fix lint errors.
* Fixing tests.
* Update to v2 of the rest api.
* Swapping out libraries.
* Adding types
* Add ability to add task.
* Removed remaining todos.
* Fix lint errors.
* Fix mypy errors
* Fix custom projects.
* Bump DEPENDENCY_CONFLICTS const
* Remove conflict bump
* Addressing PR feedback.
* Removing utc offset logic and configuration.
* Addressing PR feedback.
* Revert date range logic check
2022-12-30 09:49:35 -08:00
Artem Draft
3ac7c687be
Redesign and refactor Bravia TV config_flow ( #84832 )
...
fixes undefined
2022-12-30 16:35:18 +01:00
Franck Nijhof
1b3d3d5cc3
Add availability property to DSMR sensors ( #84848 )
2022-12-30 16:21:41 +01:00
SukramJ
005bc8994d
Add mA to SensorDeviceClass.CURRENT units ( #84492 )
...
fixes undefined
2022-12-30 13:55:14 +01:00
Martin Hjelmare
df2d0cd3e3
Refactor mysensors device tracker ( #84747 )
2022-12-30 13:15:00 +01:00
Franck Nijhof
bcf32f8331
Mark required fields in FlowResult typedict ( #84811 )
...
* Mark required fields in FlowResult typedict
* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
epenet
f68a7636c5
Cleanup pytest.approx in unit conversion tests ( #84810 )
2022-12-30 10:16:20 +01:00
Abílio Costa
0e8164c07a
Add support for US in the Whirlpool integration ( #77237 )
...
* Support US region in the Whirlpool integration
* Force maytag brand for US region
* Add missing util.py file
* Fix import after merge
* run black
* Missing region key in config flow test
* Fixed Generic config entry
* fixed typos in dict
* Remove redundant list const
Co-authored-by: mkmer <mike.j.kasper@gmail.com>
2022-12-30 09:13:47 +01:00
Damian Sypniewski
7aadcc1f97
Add option to retrieve SwitchBot Lock encryption key through config flow ( #84830 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-29 21:48:39 -10:00
Martin Hjelmare
5d4216d648
Add mysensors text platform ( #84667 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-30 00:01:03 +01:00
Robert Svensson
e33cea9ff7
Add PoE power sensor to UniFi integration ( #84314 )
...
* Add PoE power sensor to UniFi integration
* Add unit of power
* Only update state if value has changed
* Remove stale print
* Subscribe to specific sensor to remove unnecessary state changes
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-29 22:55:00 +01:00
Duco Sebel
d8cbff65f1
Fix code quality issues for HomeWizard ( #84134 )
...
* Remove unused constant
* Reuse fetch check for retrieving device information
* Remove else block
* Patch integration setup in test
* use isinstance to detect return type, instead of tuple
* Raise exception when recoverable error has been triggered to make code cleaner
* Use error code to split message and localization
* Actually log things
2022-12-29 10:35:24 -08:00
Jan Bouwhuis
ee66ffc8de
Do not depend MQTT CI tests on debug logs ( #84783 )
...
* Do not depend MQTT CI tests on debug logs
* Leave Clean up expire as debug message
2022-12-29 18:29:28 +01:00
Brandon Rothweiler
8678b36e71
Add distance sensor device class to Mazda integration ( #84659 )
2022-12-29 17:17:11 +01:00
Jan Bouwhuis
5fbe36d43e
Fix MQTT test logging level after default pytest logging capture change ( #84773 )
...
Fix logging level for MQTT CI testing after #84672
2022-12-29 15:08:35 +01:00
Allen Porter
2049993941
Check google calendar API scope to determine if write access is enabled ( #84749 )
...
* Check google calendar API scope to determine if write access is enabled
* Add API scope for calendar service for creating events
2022-12-29 11:00:31 +01:00
epenet
6261994fcf
Enable unit conversion for DATA_SIZE ( #84699 )
2022-12-29 09:58:15 +01:00
Joakim Plate
5c43f0861f
Avoid running final writes in executor in test ( #84679 )
2022-12-28 23:40:11 +01:00
Robert Svensson
de5c7b0414
Rework UniFi device tracker to utilizing entity description ( #81979 )
...
* Rework UniFi device tracker to utilizing entity description
* Use bound
* Fix review comments from other PR
2022-12-28 22:29:11 +01:00
Joakim Plate
cb982294bd
Avoid logging increase during tests ( #84672 )
2022-12-28 22:12:25 +01:00
Michael
551d52103d
Remove deprecated tankerkoenig YAML config ( #84711 )
...
remove yaml import
2022-12-28 16:11:40 -05:00
Allen Porter
128ccbaa57
Gracefully handle caldav event with missing summary ( #84719 )
...
fixes undefined
2022-12-28 22:07:51 +01:00
epenet
46e02ebaff
Enable unit conversion for DATA_RATE ( #84698 )
2022-12-28 21:49:00 +01:00
Álvaro Fernández Rojas
5d4591a3ec
airzone: update aioairzone to v0.5.2 ( #84690 )
2022-12-28 16:37:50 +01:00
Matthias Alphart
0c7eb431e6
KNX ConfigFlow: add selection of secure tunnel endpoint ( #84651 )
2022-12-28 11:43:03 +01:00
Jonno12345
5e04a87cc6
Fix Scrape integration for date and timestamp devices ( #84480 )
...
* Scrape integration fix for date and timestamp devices
* Changes advised by PR review. Merged test source and used walrus operator
2022-12-28 10:16:14 +01:00
Damian Sypniewski
64cf4b2258
Fix SwitchBot Lock test ( #84682 )
2022-12-27 19:12:52 -10:00
Damian Sypniewski
599569bc53
Add support for SwitchBot Lock ( #84673 )
...
* Added support for SwitchBot Lock
* Updated PySwitchbot to 0.32.1
* Updated .coveragerc
* Removed unnecessary condition
* Using library method to verify encryption key
* Added config flow tests
* Remove link from config flow description
* Added one more test for config flow
* Updated CODEOWNERS
2022-12-27 18:16:00 -10:00
Joakim Plate
94a02e7613
Switch to orjson for tests ( #84674 )
2022-12-28 03:36:58 +01:00
J. Nick Koston
4296f227cf
Fix thundering heard in setup_again when there are many integrations ( #84670 )
2022-12-27 15:59:42 -10:00
Martin Hjelmare
d441fb2ec5
Use debouncer in mysensors ( #84638 )
...
* Use debouncer in mysensors
* Clean cover tests
* Fix debouncer mocking
* Follow typing
2022-12-27 21:37:10 +01:00
Allen Porter
624c93bb38
Add Local calendar edit support ( #84141 )
...
* Add update support for calendars and implement in local calendar
* Fix supported feature for update calendar
* Increase test coverage for websocket error cases
* Improve test coverage for update failure cases
* Improve test coverage by sharing code between update and create
* Update homeassistant/components/calendar/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-27 12:36:43 -08:00
starkillerOG
a06b1eaf69
Add reolink IP NVR/Camera integration ( #84081 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-27 10:15:53 -10:00
Brandon Rothweiler
f5c56152d5
Add climate platform to Mazda integration ( #75037 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-27 10:13:36 -10:00
PierreAronnax
7ef145d4ce
Return unavailable if Govee BLE sensor is in error ( #84547 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-27 10:11:41 -10:00
Matthias Alphart
a752232de8
KNX ConfigFlow: Validate contents of knxkeys file ( #84411 )
2022-12-27 21:00:19 +01:00
Matthias Alphart
acd31d4ae3
Add `cooldown` and `respond_to_read` options for KNX expose ( #84613 )
...
Add cooldown option for KNX expose
2022-12-27 20:36:02 +01:00
Martin Hjelmare
eae8154753
Add mysensors cover tests ( #84626 )
2022-12-27 20:04:22 +01:00
Martin Hjelmare
d1489fe76f
Add mysensors climate tests ( #84619 )
2022-12-27 17:40:59 +01:00
Martin Hjelmare
633c82d9fe
Clean mysensors test fixture loading ( #84618 )
2022-12-27 17:17:01 +01:00
Martin Hjelmare
dea513cdbd
Add mysensors light tests ( #84606 )
2022-12-27 15:25:22 +01:00
ollo69
5058272818
Use Object selector for AndroidTV detection rules option ( #84412 )
2022-12-27 15:08:23 +01:00