1
mirror of https://github.com/home-assistant/core synced 2024-10-04 07:58:43 +02:00
Commit Graph

35364 Commits

Author SHA1 Message Date
David F. Mulcahey
4ed74cd2f5
Move ZHA config panel section translations to the backend (#49816) 2021-04-30 09:29:34 -07:00
jan iversen
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 Bieniek
39e8a92596
Remove unused code from Brother config flow (#49889) 2021-04-30 16:41:55 +02:00
Raman Gupta
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
Maciej Bieniek
37dad92bf7
Split long string in DuneHD test (#49900)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-30 15:30:21 +02:00
Franck Nijhof
98b305285f
Upgrade pytest-xdist to 2.2.1 (#49904) 2021-04-30 14:35:30 +02:00
David F. Mulcahey
20cffc30de
Small ZHA code cleanup (#49908) 2021-04-30 13:48:11 +02:00
Erik Montnemery
956c972e72
Add color_mode support to zwave_js light (#49588) 2021-04-30 13:46:25 +02:00
Franck Nijhof
0d3d2edbff
Fix unexpected data in Waze config flow import (#49902) 2021-04-30 11:12:31 +02:00
Franck Nijhof
2e9bf8ab4e
Fix unexpected data in Google Travel Time config flow import (#49903) 2021-04-30 11:12:13 +02:00
Franck Nijhof
9b863324c5
Update frontend to 20210429.0 (#49896) 2021-04-30 10:26:56 +02:00
Ville Skyttä
a19f757120
Allow str 1..n-tuples in device registry identifier type hints (#49864)
This reflects current practice, but the intent has been to have them as
2-tuples, and a future change is likely to start enforcing that (again).

Refs https://github.com/home-assistant/core/pull/49670#discussion_r622344872
2021-04-30 08:56:55 +02:00
Raman Gupta
1b6cd9e0f3
Don't validate inputs on platform setup for Google/Waze travel time (#49886)
* Don't validate inputs on platform setup for Google/Waze travel time

* feedback from other PR
2021-04-30 08:33:15 +02:00
Tom Toor
dcaefe9f5a
Reduced polling interval for mutesync integration (#49884) 2021-04-30 07:55:51 +02:00
jjlawren
adba82de8b
Do not pass hass.data to Sonos entities (#49881) 2021-04-30 07:01:09 +02:00
Aaron Bach
73714eba4b
Remove no-longer-functioning SimpliSafe websocket support (#49876)
* Remove no-longer-functioning SimpliSafe websocket support

* Linting
2021-04-29 19:02:45 -06:00
HomeAssistant Azure
38a03009ae [ci skip] Translation update 2021-04-30 00:04:58 +00:00
Bram Kragten
55b5a1ed9c
Update frontend to 20210407.1 (#49882) 2021-04-29 14:31:51 -07:00
Franck Nijhof
b2c1da54aa
Fix jumpy Verisure Wallplug state (#49880) 2021-04-29 14:31:34 -07:00
Franck Nijhof
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
jjlawren
db886ef03a
Add additional Sonos codeowner (#49879) 2021-04-29 13:50:16 -07:00
karliemeads
2dedf3dd07
Apply default light profile only when light is toggled from off to on (#49376)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-29 22:06:09 +02:00
Raman Gupta
042099de14
Fix options flow bugs in Google/Waze Time Travel (#49866) 2021-04-29 12:57:48 -07:00
Ville Skyttä
22bda640b0
Restore missing Huawei LTE cleanup on HA stop (#49871)
Refs https://github.com/home-assistant/core/pull/49788#discussion_r623071013
2021-04-29 20:45:25 +02:00
Aaron David Schneider
0421c55bf1
Fix Fritz device tracker multiple routers (#49808)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-29 11:10:36 -07:00
Paulus Schoutsen
f5e4b13814
Add auto_off to binary sensor template entity (#49615) 2021-04-29 09:25:34 -07:00
Shay Levy
87a595d928
Add color modes to Shelly light (#49867) 2021-04-29 09:13:58 -07:00
jan iversen
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 Bieniek
0379dee47e
Fix host_valid() logic in Vilfo config flow (#49862) 2021-04-29 17:11:22 +02:00
Ruslan Sayfutdinov
a4db35a16e
Rename FlowResultDict in scaffold template (#49858) 2021-04-29 17:10:31 +02:00
Raman Gupta
4a95f6c2a3
Improve Google Travel Time import and naming logic (#49839) 2021-04-29 17:10:03 +02:00
Raman Gupta
5d421c9715
Use EVENT_HOMEASSISTANT_STARTED instead of EVENT_HOMEASSISTANT_START (#49861) 2021-04-29 17:06:27 +02:00
Maciej Bieniek
61991572d7
Fix host_valid() logic in DuneHD config flow (#49860) 2021-04-29 17:05:09 +02:00
Maciej Bieniek
3210c086ef
Improve type annotations for the Brother integration (#49771) 2021-04-29 16:59:31 +02:00
djtimca
f7cf82be6d
Add Omnilogic Switch platform (#42116)
* Bump omnilogic dependency to 0.4.4 to fix Lights key error.

* Bumped dependency to 0.4.5.

* Fixed pump type issue for unique pool structure.

* Create full platform bundle for final testing and PR to Home Assistant dev.

* Removed logger instances not required.

* Fixed lint issues.

* Fixed pylint issues.

* Fix pylint issues. Fix issue with pH sensor offset.

* Stripped light, water_heater platform for PR submit.

* Correct pH and ORP sensor report to unknown with offset if pump is off.

* Moving guard condition check to helper function.

* Update to asyncio.sleep to wait for switch status delay in Hayward API status.

* Removed sleep, added state delay to handle slow Hayward API state update response.

* Fix flake8 issue.

* Fix flake8 issue.

* Fix isort issue.

* Addressed PR Comments.

* Addressed PR comments. Corrected Unit of Measure for sensor where pump speed is not variable.

* Fix pylint issue.

* Address pylint issue.

* Update homeassistant/components/omnilogic/switch.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-04-29 16:46:04 +02:00
Angelo Gagliano
7c28262bee
Add codeowners for DHT (#49855) 2021-04-29 16:11:56 +02:00
Maciej Bieniek
9588e0d35a
Fix host_valid() logic in BraviaTV config flow (#49857) 2021-04-29 16:09:59 +02:00
jan iversen
5b6d2edb48
Catch missing/unavailable response from modbus (#49632)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-29 15:59:17 +02:00
Ruslan Sayfutdinov
02764c2f46
Disable strict type checks for tests (#49851) 2021-04-29 15:57:02 +02:00
Raman Gupta
6f36fcc427
Improve Waze Travel Time import and naming logic (#49838) 2021-04-29 15:49:16 +02:00
Ruslan Sayfutdinov
183220008d
Rename FlowResultDict to FlowResult (#49847) 2021-04-29 13:40:51 +02:00
Franck Nijhof
8be6605be9
Remove example entry from PR template (#49842) 2021-04-29 13:37:55 +02:00
Ruslan Sayfutdinov
0301706fc6
Define AddEntitiesCallback type (#49812) 2021-04-29 12:28:14 +02:00
Franck Nijhof
de6c9e67b1
Upgrade black to 21.4b2 (#49841) 2021-04-29 11:50:29 +02:00
Franck Nijhof
52f3a7249f
hassfest detect built-in domain override for custom integrations (#49845) 2021-04-29 11:43:23 +02:00
Joakim Sørensen
b7184b669f
Add onboarded key to analytics WS command (#49751) 2021-04-29 11:11:23 +02:00
Erik Montnemery
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
Fabian Affolter
25d257b631
Upgrade py-cpuinfo to 8.0.0 (#49833) 2021-04-29 08:39:03 +02:00
Ruslan Sayfutdinov
5008c27e7a
Relax type annotation for DataUpdateCoordinator data (#49827) 2021-04-28 18:31:08 -10:00
Ruslan Sayfutdinov
a0bf95d4b5
Validate if modules in mypy config exist (#49810) 2021-04-29 06:29:53 +02:00