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
Arturo
0a3a8c4b3c
Fix matter light color capabilities bit map ( #88693 )
...
* Adds matter light color capabilities bit map
* Fixed matter light hue and saturation test
2023-02-25 10:25:04 +01:00
Rami Mosleh
091305fc57
Use DataUpdateCoordinator for islamic_prayer_times ( #73893 )
...
* use DataUpdateCoordinator for islamic_prayer_times
Add suggested type hints
remove uneccassry options setup
* Use entity_description for sensors
* move coordinator into separate file, sensor_descptions to sensor.py
* add strict typing
* revert strict typing
* fix test coverage
* revert unrelated file changes
* fix sorting
* Update code based on review
* add missing type hint
* more missing type hints
* Update homeassistant/components/islamic_prayer_times/coordinator.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* remove config_entry parameter
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-25 10:05:51 +01:00
Artem Draft
f18c0bf626
Pass `assumed_state` property in universal media player ( #87846 )
...
Pass assumed_state property in universal media player
2023-02-25 07:43:58 +01:00
J. Nick Koston
7b2e743a6b
Fix timeout in purpleapi test ( #88715 )
...
https://github.com/home-assistant/core/actions/runs/4264644494/jobs/7423099757
2023-02-24 14:33:25 -05:00
Jon Caruana
e69091c6db
Use strict typing for LiteJet integration ( #88629 )
...
* Strict typing for LiteJet.
* Add test for new check.
* PR feedback.
* PR feedback.
2023-02-24 17:51:48 +01:00
Erik Montnemery
d90ee85118
Allow conditions to be implemented in platforms ( #88509 )
...
* Allow conditions to be implemented in platforms
* Update tests
* Tweak typing
* Rebase fixes
2023-02-23 22:30:51 -05:00
Franck Nijhof
2f826a6f86
Modernize uptime tests ( #88636 )
...
* Modernize uptime tests
* Fix tests
2023-02-23 22:15:20 -05:00
David Poll
af49b98475
Enable jinja loop controls (break/continue) ( #88625 )
...
Enables jinja loop controls (break/continue)
2023-02-23 22:14:28 -05:00
puddly
9575cd9161
Name the Yellow-internal radio and multi-PAN addon as ZHA serial ports ( #88208 )
...
* Expose the Yellow-internal radio and multi-PAN addon as named serial ports
* Remove the serial number if it isn't available
* Use consistent names for the addon and Zigbee radio
* Add `homeassistant_hardware` and `_yellow` as `after_dependencies`
* Handle `hassio` not existing when listing serial ports
* Add unit tests
2023-02-23 20:52:53 -05:00
J. Nick Koston
f0b029c363
Bump mopeka_iot_ble to 0.4.1 ( #88680 )
...
* Bump mopeka_iot_ble to 0.4.1
closes #88232
* adjust tests
2023-02-23 20:52:31 -05:00
Marcel van der Veldt
301144993c
Fix support for Bridge(d) and composed devices in Matter ( #88662 )
...
* Refactor discovery of entities to support composed and bridged devices
* Bump library version to 3.1.0
* move discovery schemas to platforms
* optimize a tiny bit
* simplify even more
* fixed bug in light platform
* fix color control logic
* fix some issues
* Update homeassistant/components/matter/discovery.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* fix some tests
* fix light test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-23 14:58:37 -05:00
Allen Porter
e1e0400b16
Fix local calendar issue with events created with fixed UTC offsets ( #88650 )
...
Fix issue with events created with UTC offsets
2023-02-23 13:37:15 -05:00
Raman Gupta
5739782877
Add support for firmware target in zwave_js FirmwareUploadView ( #88523 )
...
* Add support for firmware target in zwave_js FirmwareUploadView
fix
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* fix types
* Switch back to using Any
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-23 13:24:55 -05:00
Franck Nijhof
6112793b19
Modernize Twentemilieu tests ( #88640 )
2023-02-23 10:26:17 -05:00
epenet
dac3c7179f
Add missing async_setup_entry mock in openuv ( #88661 )
2023-02-23 10:22:39 -05:00
Artem Draft
6474297d1f
Browse media support in universal media player ( #85668 )
...
Allow forward and override browse media in universal media player
2023-02-23 09:17:46 +01:00
Erik Montnemery
473db48943
Bump python-otbr-api to 1.0.4 ( #88613 )
...
* Bump python-otbr-api to 1.0.4
* Adjust tests
2023-02-22 15:31:02 -05:00
puddly
2a819f23c1
Disable the ZHA bellows UART thread when connecting to a TCP coordinator ( #88202 )
...
Disable the bellows UART thread when connecting to a TCP coordinator
2023-02-22 15:12:55 -05:00
Paulus Schoutsen
c6ff79aa0e
Error checking for OTBR ( #88620 )
...
* Error checking for OTBR
* Other errors in flow too
* Tests
2023-02-22 20:58:11 +01:00
J. Nick Koston
3ebb2fc3a9
Fix handling of HomeKit sources with unsafe characters ( #88280 )
...
fixes #87049
2023-02-22 14:33:27 -05:00
Maciej Bieniek
64e39c9c81
Bump brother to 2.2.0 ( #88618 )
2023-02-22 20:28:58 +01:00
Marcel van der Veldt
881e85d74f
Bump python-matter-server to 3.0.0 ( #88607 )
...
* Bump python-matter-server to 3.0.0
Include all fixes for the changed api schema of the library
* fix test fixtures
* remove invalid data from fixtures
* fix some of the tests
* fix binary sensor bug
* fix sensor bug
* fix switch test
* fix tests
* adjust bugs and typos
2023-02-22 14:24:30 -05:00