Commit Graph

14119 Commits (3738135e0b8132a81da045115bc28c51111c4cca)

Author SHA1 Message Date
Joakim Sørensen 3738135e0b
Add helper to access RepairsFlowManager ()
async_external_step
2022-11-23 12:00:38 +01:00
Hessel c68149c75b
Fix Wallbox price unit ()
* Change Symbol to Currency code in test

* change unit to currency/kWh

* f string
2022-11-23 11:25:21 +01:00
Shay Levy 4a089b5c28
Add tests coverage for Shelly climate platform () 2022-11-22 09:04:55 -06:00
Jan Bouwhuis 9c1e8486c5
Add unique id option for `mqtt_room` sensors ()
Add unique_id setting for mqtt_room
2022-11-22 15:56:31 +01:00
Jevgeni Kiski 157222126e
Add Vallox temperature control entities ()
Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi>
Co-authored-by: Andre Richter <andre-richter@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-22 12:46:57 +01:00
epenet 9d192643ee
Move PluggableAction to trigger helpers ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-11-22 11:35:18 +01:00
Erik Montnemery be7e76f302
Migrate ZHA when enabling multi-PAN support on HA Yellow ()
* Migrate ZHA when enabling multi-PAN support on HA Yellow

* Refactor BaseZhaFlow.async_step_maybe_confirm_ezsp_restore

* Change data passed to ZHA to initiate migration

* Catch errors during ZHA migration

* Fix ZhaMigrationHelper.async_prepare_yellow_migration return value

* Improve test coverage

* Improve test coverage

* Fix spelling

* Rename some none HA yellow specifics

* Rename again

* Increase number of migration retries + refactor

* Suppress OperationNotAllowed when reloading

* Adjust tests
2022-11-22 11:17:23 +01:00
jan iversen 15176300e2
Add full test of wrap option ()
fixes undefined
2022-11-22 09:57:04 +01:00
Guido Schmitz 1e64d830ac
Migrate devolo Home Control to new entity naming () 2022-11-22 09:54:05 +01:00
Aarni Koskela e4c73259f7
Configure autoflake for pre-commit () 2022-11-22 08:10:36 +01:00
J. Nick Koston 7df711f1f3
Show HomeKit Controller unhandled pairing error reason in the UI () 2022-11-21 21:24:35 -05:00
J. Nick Koston a7caa038be
Accept advertisements from alternate scanners when a scanner stops scanning () 2022-11-21 21:23:07 -05:00
puddly dfed57ed4d
Bump ZHA dependencies ()
* Bump ZHA dependencies

* Use the corrected `TypeValue` keyword argument name in unit tests
2022-11-21 19:39:34 -05:00
G Johansson b3dd59f202
Add config flow to Scrape ()
* Scrape take 2

* cleanup

* new entity name

* Fix name, add tests

* Use FlowResultType

* Add test abort

* hassfest

* Remove not needed test

* clean

* Remove config entry and implement datacoordinator

* fix codeowners

* fix codeowners

* codeowners reset

* Fix coordinator

* Remove test config_flow

* Fix tests

* hassfest

* reset config flow

* reset strings

* reset sensor

* Reconfig

* Fix tests

* coverage

* Remove coverage

* Remove print

* Add config flow

* Fix config flow

* Add back init

* Add entry to sensor

* float to int

* Fix SelectSelector

* Add tests for config entry to existing

* Test config flow

* Fix test reload

* Fix rebase

* Fix strings

* clean init

* Clean test_sensor

* Align sensor setup entry

* Add error to strings

* review changes

* clean tests

* Add back options flow

* review changes

* update_listener

* Add tests

* Remove duplicate abort

* strings

* sensors to sensor

* review changes

* more review changes

* clarify test payload

* fixture name
2022-11-21 21:39:39 +01:00
Shay Levy 91a44b697b
Add tests coverage for Shelly number platform () 2022-11-21 10:55:06 -06:00
epenet 13c03d022b
Fix suggested values in openuv config flow ()
* Fix suggested values in openuv config flow

* Don't use new helper
2022-11-21 17:12:28 +01:00
Shay Levy 32f3eb722e
Add tests coverage for Shelly entity ()
* Add tests coverage for Shelly entity

* Make it generator expression
2022-11-20 23:59:25 +02:00
J. Nick Koston 3f5649092e
Break out bluetooth apis into api.py ()
* Break out bluetooth apis into api.py

Like  this is not a functional change.

* cleanups
2022-11-20 12:33:03 -05:00
J. Nick Koston a1d9d7116c
Prevent powerwall from switching addresses if its online ()
* Prevent powerwall from switching addresses if its online

If the wifi interface was discovered we would switch the
ip address in the entry to the wifi ip even if it was
connected via ethernet

* cover

* more cover
2022-11-20 10:38:30 -05:00
Jan Bouwhuis 5c00b8b823
Wait for MQTT entry on snips integration startup ()
Wait for MQTT integration to load
2022-11-20 16:17:45 +01:00
J. Nick Koston 7801cd96de
Split bluetooth models into base_scanner and wrappers () 2022-11-20 08:44:28 -06:00
Aarni Koskela 38b84620bd
Add support for Sensirion BLE sensors () 2022-11-19 14:26:54 -06:00
Shay Levy 8bd7f59b93
Add tests for Shelly sensor platform () 2022-11-19 22:01:30 +02:00
Shay Levy ea98f0e9e8
Add tests for Shelly binary_sensor platform ()
* Add tests for Shelly binary_sensor platform

* Rename create to register for
2022-11-19 18:07:02 +02:00
Ernst Klamer 672acf30a4
Bump bthome-ble to 2.3.1 ()
* Bump bthome-ble

* Bump bthome-ble
2022-11-19 13:48:33 +01:00
J. Nick Koston e4666206ec
Improve time change helper comments ()
* Improve time change helper comments

https://github.com/home-assistant/core/pull/82324#discussion_r1026962806

* Improve time change helper comments

https://github.com/home-assistant/core/pull/82324#discussion_r1026962806
2022-11-19 04:04:19 +01:00
Ayk Borstelmann 3b783a85c3
AVM Fritz!Box SmartHome: Integrate Templates () 2022-11-18 17:37:56 +01:00
Hessel f7badfe441
Add wallbox Energy Price ()
fixes undefined
2022-11-18 17:36:38 +01:00
Jan Bouwhuis c720742ec9
Revert (wait_for_states) and (late review) ()
* Revert "Address late review of config entry wait for states tests ()"

This reverts commit 12d76a8a4f.

* Revert "Implement ConfigEntry async_wait_for_states ()"

This reverts commit 3cc9ecf1dc.
2022-11-18 17:16:03 +01:00
G Johansson c5c23cbc95
Add unique id to Times of Day () 2022-11-18 16:53:32 +01:00
G Johansson 2ca61eef79
Code quality tests Wake on Lan () 2022-11-18 16:27:20 +01:00
J. Nick Koston 1c6b4967cf
Fix litejet tests ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-18 08:19:38 -06:00
J. Nick Koston 077bd594eb
Fix modbus test assuming repeat listeners always fire at 0 microseconds () 2022-11-18 14:23:42 +01:00
Jevgeni Kiski 5453b346dd
Add Vallox bypass locking switch entity ()
* Switch entity

* adding missing function for tests

* Apply suggestions from code review

Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi>

* Review

* fix

* Update homeassistant/components/vallox/switch.py

Co-authored-by: Andre Richter <andre-richter@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Adding a separate parameter for the expected state

Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi>
Co-authored-by: Andre Richter <andre-richter@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-18 10:16:54 +01:00
Jan Bouwhuis 7c2e7863d2
Remove legacy YAML support from MQTT () 2022-11-17 22:55:31 +01:00
Erik Montnemery 1a274adc28
Add config_entries.async_wait_component ()
Co-authored-by: thecode <levyshay1@gmail.com>
2022-11-17 21:52:57 +01:00
Jan Bouwhuis b717da879f
Add support for Mqtt protocol version 5 () 2022-11-17 21:12:27 +01:00
J. Nick Koston 47c66dbed4
Offload platform specific bluetooth code to bluetooth-adapters ()
* Offload platform specific bluetooth code to bluetooth-adapters

* adjust

* fix some more patch targets

* more test fixes

* almost there

* may not be setup yet

* more fixes

* fixes

* fix test

* fix merge
2022-11-17 14:34:19 -05:00
J. Nick Koston d0efdd750f
Fix high latency from thundering heard at 0 microseconds ()
* Fix high latency at 0 microseconds

fixes 

* fix async_track_utc_time_change alignment

* use replace to preserve fold

* naming

* tweak

* make async_fire_time_changed aware of the thundering heard issue
2022-11-17 14:22:06 -05:00
Álvaro Fernández Rojas 3dba9c4695
Add QNAP QSW accumulated port sensors ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-17 12:41:33 -06:00
J. Nick Koston 8da969b767
Disable BLE options flow for sleepy shelly devices () 2022-11-17 20:39:51 +02:00
J. Nick Koston 8792d664e7
Add websocket endpoints to control integration logging ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik <erik@montnemery.com>
2022-11-17 08:57:43 -06:00
Erik Montnemery b6586d5c34
Align number and sensor device classes ()
* Align number and sensor device classes

* Add tests

* Tweak tests
2022-11-17 14:00:28 +01:00
Thomas Dietrich ad8b882cb6
Switch statistics config to require either/both 'max_age' and 'sampling_size' ()
* Remove default characteristic

* Remove default sampling_size

* Fix typo

* Fix typo
2022-11-17 10:31:06 +01:00
Jan Bouwhuis f60850586e
Remove `b64` encoding work-a-round for MQTT camera () 2022-11-17 10:11:25 +01:00
epenet 6424c71daa
Cleanup supported_features in demo ()
* Cleanup supported_features in demo cover

* Improve other platforms

* Adjust media_player patch
2022-11-17 09:39:46 +01:00
epenet 89c7568515
Remove duplicate code in hassfest model () 2022-11-17 09:10:37 +01:00
Erik Montnemery a6ff8c5fb3
Fix Home Assistant Yellow tests () 2022-11-16 13:01:53 -06:00
Erik Montnemery aaec464627
Add support for managing the silabs multiprotocol add-on ()
* Add support for managing the silabs multiprotocol add-on

* Fix passing context when starting option flow

* Allow unloading a ha yellow config entry

* Fix tests

* Log data passed to ZHA option flow

* Improve ZHA migration logic

* Move tests

* Improve test coverage

* Remove dead code

* Drop automatic ZHA migration
2022-11-16 17:38:07 +01:00
Erik Montnemery 607a0e7697
Reduce size of get_statistics_during_period WS API response () 2022-11-16 17:36:30 +01:00