epenet
853bd52a22
Adjust entity registry access in tests (1) ( #88950 )
2023-03-01 09:11:14 +01:00
J. Nick Koston
202bed5d51
Fix lingering reload task in notion reauth ( #88949 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-01 09:07:46 +01:00
Erik Montnemery
9ab95b6348
Revert "Add `state_class = MEASUREMENT` to Derivative sensor ( #88408 )" ( #88952 )
2023-03-01 08:53:05 +01:00
Marius Stedjan
9fc6700c5a
Add ZWaveDiscoverySchema for Merten 507801 ( #88342 )
...
* Add ZWaveDiscoverySchema for Merten 507801
* Add discovery tests to Merten 507801 z-wave device
* Add Z-Wave discovery schemas for Merten 507801 to disable endpoint 2 by default
* Add more discovery tests for Merten 507801 z-wave device
2023-03-01 00:47:47 -05:00
Chuck Deal
09d0128601
Add diagnostics to VeSync ( #86350 )
...
* Add diagnostics to VeSync
* Create unit tests for diagnostics and init
* Improved diagnostic test coverage
* Peer review fixes
* Fixed Peer Review comments
* Updated based on Peer Review
* Additional diagnostic redactions
* Removed account_id from diagnostic output
2023-02-28 22:12:48 -05:00
epenet
c724e7c29f
Adjust registry access in openai_conversation ( #88882 )
2023-02-28 21:59:44 -05:00
epenet
54f709f704
Adjust registry access in intent ( #88881 )
2023-02-28 21:58:19 -05:00
epenet
1bed5c7775
Adjust registry access in tests root ( #88880 )
2023-02-28 21:56:46 -05:00
epenet
0e4c32efe2
Adjust registry access in conversation ( #88879 )
2023-02-28 21:56:18 -05:00
epenet
6ab0b2751d
Adjust issue_registry imports ( #88878 )
...
* Add issue_registry to RUFF extend aliases
* Adjust code accordingly
* Revert "Add issue_registry to RUFF extend aliases"
This reverts commit 4e73dd567b
.
* Revert changes to common.py
2023-02-28 21:55:44 -05:00
Erik Montnemery
39f5f0946e
Store source entity in switch_as_x entity options ( #88914 )
2023-02-28 21:15:44 -05:00
Michael Hansen
e0bdb3ecc3
Update intent sentences package ( #88933 )
...
* Actually use translated state names in response
* Change test result now that locks are excluded from HassTurnOn
* Bump home-assistant-intents and hassil versions
2023-02-28 21:07:18 -05:00
Erik Montnemery
69ce6980d6
Add number + sensor device class energy storage ( #88310 )
...
* Add number + sensor device class energy storage
* Format code
* Update device automations
2023-02-28 19:35:43 +01:00
Franck Nijhof
95ed6fbc08
Small improvements to middleware filter ( #88921 )
...
Small improvements middleware filter
2023-02-28 12:07:17 -05:00
Erik Montnemery
7bfc7f134c
Reset state of template cover on error ( #88915 )
2023-02-28 12:06:40 -05:00
epenet
ac6bbc2f1c
Add missing mock in webostv config flow tests ( #88913 )
2023-02-28 12:04:40 -05:00
epenet
ee144d34a9
Adjust core test to avoid lingering task ( #88918 )
2023-02-28 12:03:36 -05:00
Marcel van der Veldt
36e6a879ad
Bump aiohue library to version 4.6.2 ( #88907 )
...
* Bump aiohue library to 4.6.2
* Fix long press (fixed in aiohue lib)
* fix test
2023-02-28 11:53:15 -05:00
Erik Montnemery
f93bd8ef2c
Only allow channel 15 during configuration of OTBR ( #88874 )
...
* Only allow channel 15 during automatic configuration of OTBR
* Also force channel 15 when creating a new network
2023-02-28 11:08:45 -05:00
Erik Montnemery
390daf1723
Sort unit lists sent to frontend ( #88898 )
2023-02-28 16:12:49 +01:00
epenet
7b5c978b95
Add missing mock in overkiz config flow tests ( #88899 )
2023-02-28 08:59:48 -05:00
Erik Montnemery
f41bec6ba9
Create repairs issue if Thread network is insecure ( #88888 )
...
* Bump python-otbr-api to 1.0.5
* Create repairs issue if Thread network is insecure
* Address review comments
2023-02-28 13:50:56 +01:00
Erik Montnemery
b6f66b3568
Add WS command weather/convertible_units ( #85681 )
2023-02-28 11:35:47 +01:00
Jan Bouwhuis
4e66554298
Also set `hass.config_entries` when `mock_hass_config` fixture is used ( #88669 )
...
* Set `hass.config_entries` with `mock_hass_config`
* Update tests/conftest.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-28 11:14:04 +01:00
rodriguestiago0
bef5fde832
Add stop charge button to renault integration ( #88003 )
...
* Added service to start/stop charge
* Remove comment
* Fixed service
* removed service for start/stop charge
* Remove version
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Format
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Revert change
* Fix lint
* Add tests
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-28 10:28:44 +01:00
Erik Montnemery
d397217b5b
Add confirm step to thread zeroconf flow ( #88869 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-28 10:23:36 +01:00
Diogo Gomes
07c25b3dd8
Prosegur late review comments ( #88859 )
...
* address late comments on #76428
* adress review
* extra tweaks
2023-02-28 08:16:22 +01:00
Emory Penney
0e8d28dab0
Add Config Flow to Obihai ( #88627 )
...
* Obihai: Config Flow Only
* Remove reboot service
* Update .coveragerc
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* PR Feedback
* Use Issue Registry
* Add config_flow tests
* Another pass with pre-commit
* Resolve cyclical import and move sensorClasses to sensor
* Update homeassistant/components/obihai/config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/obihai/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/obihai/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update tests/components/obihai/test_config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Another round of feedback
* More PR feedback
* Offline testing, already_configured is required
* Update homeassistant/components/obihai/config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/obihai/config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/obihai/config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Cleanup
* Update homeassistant/components/obihai/__init__.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* PR feedback
* Backout today's changes: Fix mypy error
* Update tests/components/obihai/test_config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update tests/components/obihai/test_config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update tests/components/obihai/test_config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update tests/components/obihai/test_config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Don't plan ahead
* PR feedback
* Update homeassistant/components/obihai/config_flow.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Cleanup strings
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-27 17:22:15 +01:00
Ernst Klamer
00954dfc1f
Add gas sensor to BTHome ( #88770 )
...
* Bump bthome
* Add gas sensor
2023-02-27 10:40:08 -05:00
Paul Bottein
e95944bf9f
Add filter options to entity and device selectors ( #87536 )
...
* Add support for multiple device classes
* Add support for entity filter selector
* Add support for device filter selector
* Apply suggestions
* Fix wrong property name
* Update snapshot
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-27 10:38:18 -05:00
epenet
7419a92a1b
Cleanup YAML import in aladdin_connect ( #88694 )
2023-02-27 16:20:01 +01:00
Erik Montnemery
ff4de8cd06
Add WS API for creating a Thread network ( #88830 )
...
* Add WS API for creating a Thread network
* Add tests
2023-02-27 10:19:13 -05:00
Paulus Schoutsen
2dcc2f88cc
Use snapshots in blueprint import tests ( #88843 )
2023-02-27 09:57:26 -05:00
Erik Montnemery
db1dd16ab0
Add thread user flow ( #88842 )
2023-02-27 15:30:04 +01:00
epenet
198ebaff6e
Add missing mock in abode config flow tests ( #88828 )
2023-02-27 14:03:51 +01:00
epenet
5cc9e7fedd
Add missing mock in cert_expiry config flow tests ( #88835 )
2023-02-27 14:01:53 +01:00
epenet
76819fbb23
Add missing mock in brunt config flow tests ( #88834 )
2023-02-27 14:01:09 +01:00
Erik Montnemery
aeb6c4f078
Tweak OTBR tests ( #88839 )
2023-02-27 13:59:16 +01:00
Jan Bouwhuis
b25f6e3ffc
Prepare for refactoring of MQTT related tests ( #88557 )
...
* Update mqtt_mock
* Tests manual_mqtt
* Tests mqtt_json
* Tests mqtt_room
2023-02-27 13:54:56 +01:00
Erik Montnemery
fe8f3602ff
Fix sensor unit conversion bug ( #88825 )
...
* Fix sensor unit conversion bug
* Ensure the correct unit is stored in the entity registry
2023-02-27 11:46:55 +01:00
J. Nick Koston
b5223e1196
Restore previous behavior of only waiting for new tasks at shutdown ( #88740 )
...
* Restore previous behavior of only waiting for new tasks at shutdown
* cleanup
* do a swap instead
* await canceled tasks
* await canceled tasks
* fix
* not needed since we no longer clear
* log it
* reword
* wait for airvisual
* tests
2023-02-26 22:36:18 -05:00
J. Nick Koston
1d1c553d9b
Avoid starting a bluetooth poll when Home Assistant is stopping ( #88819 )
...
* Avoid starting a bluetooth poll when Home Assistant is stopping
* tests
2023-02-26 22:02:52 -05:00
J. Nick Koston
f8934175cb
Prevent integrations from retrying setup once shutdown has started ( #88818 )
...
* Prevent integrations from retrying setup once shutdown has started
* coverage
2023-02-26 22:01:02 -05:00
J. Nick Koston
480a495239
Fix unifiprotect discovery running at shutdown ( #88802 )
...
* Fix unifiprotect discovery running at shutdown
Move the discovery start into `async_setup` so we only
start discovery once reguardless of how many config entries
for unifiprotect they have (or how many times they reload).
Always make discovery a background task so it does not get
to block shutdown
* missing decorator
2023-02-26 21:08:20 -05:00
Diogo Gomes
c8fc2dc440
Add Camera platform to Prosegur ( #76428 )
...
* add camera to prosegur
* add tests
* address review
* better tests
* clean
* clean
* fix tests
* leftover from merge
* sorting missing
* Update homeassistant/components/prosegur/services.yaml
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-02-26 20:25:55 -05:00
puddly
0fb41bdffe
Unblock JSON CI by fixing improperly indented JSON in test fixture ( #88803 )
2023-02-26 14:41:16 -06:00
hahn-th
c9dfa15ed6
Add device HmIP-DLD ( #83380 )
...
* Add HmIP-DLD
* Remove commented code
* Fix errors
* Format using black
* Fix device count
* Add missing tests
* Apply changes by reviewer
* Change setup entry code
* Remove jammed state
* Add error messages
* Update homeassistant/components/homematicip_cloud/helpers.py
Co-authored-by: Aaron Bach <bachya1208@gmail.com>
* Add decorator
* Add error log output
* Update test_device.py
---------
Co-authored-by: Aaron Bach <bachya1208@gmail.com>
2023-02-26 10:49:25 -07:00
Joakim Plate
e00ff54869
Update nibe library to 2.0.0 ( #88769 )
2023-02-26 11:05:31 +01:00
Yuxin Wang
490a0908d4
Avoiding testing implementation details in apcupsd tests ( #88772 )
...
Fix apcupsd tests.
2023-02-26 07:57:31 +01:00
J. Nick Koston
57360a7528
Prevent new discovery flows from being created when stopping ( #88743 )
2023-02-25 12:02:07 +01:00