Commit Graph
8166 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub a4432557d3 Defer writing http config until after startup has calmed down (#50000) 2021-05-02 19:48:49 -10:00
301d4b0657 Fix saving a scene (#49980)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-02 22:11:57 -07:00
J. Nick KostonandGitHub 42c48e8cf9 Add reauth support to myq (#49998) 2021-05-02 21:52:48 -07:00
J. Nick KostonandGitHub 1c8d9ca68b Check exception causes for matching strings during recorder migration (#49999) 2021-05-02 20:57:42 -07:00
jan iversenandGitHub 8adbc62a6e Enable homeassistant.update_entity service for all modbus platforms (#49918)
* Rename _update() to update()

A platform neeed a function update(), even though
polling is false, this is due to the service:
homeassistant.update_entity, which calls update()

* Update test harnesss to script testing.

Test homeassistant.update_entity in all platforms.
This call calls update() in the platform to get
a new reading.

* Add reuse parameter.

* Move service call from helper to tests.

* Change run_service_update --> prepare_service_update.

* Remove entity_id parameter.
2021-05-02 10:41:36 +02:00
Paulus SchoutsenandGitHub 1bd9826684 Handle different entity_id formats (#49969) 2021-05-01 20:30:28 -07:00
3546ff2da2 Bump Tesla dependency teslajsonpy to 0.18.3 (#49939)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-01 17:04:37 -07:00
J. Nick KostonandGitHub 002b068c0a Remove YAML support from sense (#49935) 2021-05-01 11:17:52 -10:00
Ville SkyttäandGitHub 77d5244577 Use device registry CONNECTION_* constants (#49923) 2021-04-30 23:58:50 +02:00
jjlawrenandGitHub 37e8571fe8 Use header URI in Plex config flow (#49915) 2021-04-30 23:15:59 +02:00
jan iversenandGitHub aa8ce07e35 Start Modbus cover timer independent if there is a state to restore (#49919)
* Start timer independent if there is a state to restore.

* Update test cases, that now start working.
2021-04-30 22:36:55 +02:00
jan iversenandGitHub 684ea9e49b Restructure modbus switch, and solve read/write conflicts (#49386)
Remove old style configuration from switch.
- The old style configuration allowed a number of illegal
  configurations, instead of adding if...log. in setup we
  only support the new configuration style.

Add new/changed configuration switch.

Removed verify_state and cleaned configuration to avoid possible
illegal configurations.
2021-04-30 16:47:18 +02:00
Maciej BieniekandGitHub 39e8a92596 Remove unused code from Brother config flow (#49889) 2021-04-30 16:41:55 +02:00
fdc29d6a80 Add device specific discovery for Heatit Z-TRM3 thermostat (#49804)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-30 16:10:25 +02:00
37dad92bf7 Split long string in DuneHD test (#49900)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-30 15:30:21 +02:00
Erik MontnemeryandGitHub 956c972e72 Add color_mode support to zwave_js light (#49588) 2021-04-30 13:46:25 +02:00
c68b259bd3 Cleanup of unused connection_class logic (#49865)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
Paulus SchoutsenandGitHub f5e4b13814 Add auto_off to binary sensor template entity (#49615) 2021-04-29 09:25:34 -07:00
jan iversenandGitHub 760caeed85 Complete modbus device response tests (#49633)
* Prepare test harness for new pymodbus return types.

Use pytest.fixture to mock pymodbus.
Use pytest.fixture to load modbus using mocked pymodbus
Add test of Exception/IllegalResponse/ExceptionResponse from pymodbus.

* Modbus.py is back at 100% test coverage.

* Added assert mock.called.

* add mock reset.
2021-04-29 18:06:56 +02:00
Maciej BieniekandGitHub 0379dee47e Fix host_valid() logic in Vilfo config flow (#49862) 2021-04-29 17:11:22 +02:00
Raman GuptaandGitHub 4a95f6c2a3 Improve Google Travel Time import and naming logic (#49839) 2021-04-29 17:10:03 +02:00
Maciej BieniekandGitHub 61991572d7 Fix host_valid() logic in DuneHD config flow (#49860) 2021-04-29 17:05:09 +02:00
Maciej BieniekandGitHub 3210c086ef Improve type annotations for the Brother integration (#49771) 2021-04-29 16:59:31 +02:00
Maciej BieniekandGitHub 9588e0d35a Fix host_valid() logic in BraviaTV config flow (#49857) 2021-04-29 16:09:59 +02:00
Ruslan SayfutdinovandGitHub 02764c2f46 Disable strict type checks for tests (#49851) 2021-04-29 15:57:02 +02:00
Raman GuptaandGitHub 6f36fcc427 Improve Waze Travel Time import and naming logic (#49838) 2021-04-29 15:49:16 +02:00
Erik MontnemeryandGitHub bf57c77d5c Add color_mode to demo light (#49694)
* Update demo light with color mode support

* Add rgbw and rgbww color properties

* Update demo light

* Tweak

* Remove unneeded _clear_colors
2021-04-29 10:45:17 +02:00
Mike KeeseyandGitHub 1c0fd61075 Remove references to hass.data in harmony tests (#49836)
Instead, just use the mocks directly.
2021-04-28 18:27:57 -10:00
Robert SvenssonandGitHub 056f636568 Add tampering sensor to deCONZ integration (#49776) 2021-04-28 20:16:06 +02:00
jjlawrenandGitHub 8c311cbaa0 Handle special Plex library sections (#49525) 2021-04-28 19:58:05 +02:00
5e07ab17b2 Add support for deCONZ alarm events in logbook (#49652)
* Add support for alarm events in logbook

* Update homeassistant/components/deconz/alarm_control_panel.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-04-28 19:46:15 +02:00
Joakim SørensenandGitHub 296dc9303f Add OS version and board type to analytics (#49725) 2021-04-28 19:13:09 +02:00
Robert SvenssonandGitHub 311e0e4185 Last minute tweaks to deCONZ alarm panel entity service(#49819)
Text for entry and exit delay was wrong
Remove functions that need a bit more investigating
2021-04-28 18:54:53 +02:00
ChrisandGitHub e85d58c3a1 Fix white_value causing zwave-js to set non-existing values (#49799) 2021-04-28 09:23:48 -07:00
Joakim SørensenandGitHub 3088f063d2 Don't overwrite existing files when generating configuration (#49815) 2021-04-28 17:15:04 +02:00
Raman GuptaandGitHub 795fe18a90 Add additional zwave_js WS API commands for nodes (#49509)
* Add zwave_js WS API commands for node.refresh_values and node.refresh_cc_values

* remove guard since API will be used by frontend

* add missing validation

* use get in case node ID is wrong

* use decorator

* add additional coverage
2021-04-28 10:22:18 -04:00
Erik MontnemeryandGitHub e96cbccc92 Improve color conversion for RGBWW lights (#49807) 2021-04-28 15:46:41 +02:00
Martin HjelmareandGitHub 9e1042d9e0 Fix zwave_js flow set add-on options (#49813)
* Fix zwave_js flow set add-on options

* Improve and deduplicate error messages

* Add more call assertions

* Add final missing call assertion
2021-04-28 15:09:39 +02:00
J. Nick KostonandGitHub 3f547e58d7 Fix zeroconf test inadvertently matching strings that start with name (#49578)
* Fix zeroconf test inadvertently matching strings that start with name

* adjust

* adjust
2021-04-28 11:47:36 +02:00
J. Nick KostonandGitHub dcb5b9f8b5 Bump httpx to 0.18.0 and respx to 0.17.0 (#49805) 2021-04-28 11:22:09 +02:00
Raman GuptaandGitHub 1cb907c2e3 Add zwave_js discovery schema for Vision Security ZL7432 (#49510)
* Add zwave_js discovery schema for Vision Security ZL7432

* add tests

* fix test

* add correct fixture

* Make discussed changes

* fix tests

* move event handler

* fix logic to get entity ID

* add test

* make discovery test more explicit

* remove domain from event data

* always provide entity_id key to make automations easier and translate value if possible

* formatting

* comment

* dont overwrite value
2021-04-28 10:22:54 +02:00
Erik MontnemeryandGitHub d7247c2ace Correct conversion of RGB and XY colors to RGBW (#49802) 2021-04-28 10:12:20 +02:00
Alexei ChetroiandGitHub 345873f94f Don't bind all clusters unconditionally (#49793) 2021-04-27 20:25:34 -04:00
89e7983ee0 Add Blueprint foundation to Scripts (#48621)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-04-27 15:15:38 -07:00
Dermot DuffyandGitHub 3fda66d9e2 Change motionEye to use a two item device identifier tuple (#49774)
* Change to a two item device identifier tuple.

* Don't use join.
2021-04-27 23:48:27 +02:00
513685bbea Add dynamic update interval to Airly integration (#47505)
* Add dynamic update interval

* Update tests

* Improve tests

* Improve comments

* Add MAX_UPDATE_INTERVAL

* Suggested change

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

* Use async_fire_time_changed to test update interval

* Fix test_update_interval

* Patch dt_util in airly integration

* Cleaning

* Use total_seconds instead of seconds

* Fix update interval test

* Refactor update interval test

* Don't create new context manager

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 23:34:53 +02:00
a57761103c Mutesync integration (#49679)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-27 13:44:59 -07:00
J. Nick KostonandGitHub 87420627a8 Reduce config entry setup/unload boilerplate Q-S (#49778) 2021-04-27 22:10:04 +02:00
Erik MontnemeryandGitHub d2fd504442 Limit precision when stringifying float states (#48822)
* Limit precision when stringifying float states

* Add test

* Fix typing

* Move StateType

* Update

* Move conversion to entity helper

* Address review comments

* Tweak precision

* Tweak

* Make _stringify_state an instance method
2021-04-27 21:48:24 +02:00
ebbcfb1bc7 Fix and upgrade surepetcare (#49223)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 20:58:52 +02:00