Commit Graph

31255 Commits (30b94892c423f87665c099088e45eb54b2bcf9b5)

Author SHA1 Message Date
springstan 30b94892c4
Use strings instead of f-strings for constants (#40619) 2020-11-09 10:09:53 +01:00
Jonathan Keljo c8a940c59f
Upgrade sisyphus-control dependency to 3.0 (#42995)
This has a small chance of breaking tables with older firmwares; if your table has issues, make sure it is running at least firmware v1.10.73.

From the release notes for the new version:

[3.0] - 2020-11-08
==================
Added
-----
* Track remaining/total time support (requires recent firmware)
* Test shell program

Changed
-------
* Reworked the data model to match how Sisyphus itself does it. This fixes crashes that were occurring working with tables that have the latest firmware, but may break things with older firmwares.
* Switched to `python-socketio` for Socket.IO support, as it is more actively maintained than `SocketIO-client-nexus`.
* Switched to VSCode for development
2020-11-09 09:36:16 +01:00
Yuval Aboulafia adfcbe9058
Make Jewish Calendar use DEVICE_CLASS_TIMSTAMP and remove timestamp attribute (#41397)
* Added "time" attribute

* Revert "Added "time" attribute"

This reverts commit 8adab9b788.

* Make DEVICE_CLASS use the DEVICE_CLASS_TIMESTAMP

* Removed unix timstamp attr

* keep attributes but delete the timestamp
2020-11-09 09:26:43 +01:00
Raman Gupta a416a9e046
Allow options flows to be aborted (#41875) 2020-11-09 08:59:42 +01:00
Steve Brandt 0f46916f9e
Adds feature to get also longitude and latitude of the triggerd entry… (#42990) 2020-11-09 08:37:59 +01:00
Diogo Gomes 12adde5349
On HA restart parse last_reset as a datetime object (#42939) 2020-11-09 08:35:50 +01:00
Andrew Marks 42cdbc7e1d
Correct logging and add test case for sharkiq (#41863)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-09 08:33:09 +01:00
Xiaonan Shen f499187835
Fix yeelight binary sensor unique ID (#42562) 2020-11-09 08:32:21 +01:00
HomeAssistant Azure d9d21ab05e [ci skip] Translation update 2020-11-09 00:03:23 +00:00
Kevin Hellemun e929ae10cd
Fix Spotify scopes evaluation (#42819)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-11-09 00:46:26 +01:00
Shay Levy 8b998365a4
Increase update timeouts used in Shelly integration (#42937)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-08 21:49:41 +01:00
springstan 46412ef0c6
Remove empty dependencies from manifest (#42973) 2020-11-08 21:29:28 +01:00
On Freund 5a7e4b4dae
Add zone_entity_id to Risco events (#39678)
* Add zone_entity_id to Risco events

* Add comment

* Fix dependency on order
2020-11-08 12:14:43 -06:00
epenet 7c397a02b7
Add onewire switches (#42962)
* Add support for switches

* Fix stale comment
2020-11-08 12:06:41 -06:00
J. Nick Koston 2845fca08e
Remove debug prints from utcnow test (#42977) 2020-11-08 11:48:01 -06:00
Felipe Martins Diel e5fe0c40ec
Add support for Broadlink SP4 series and the latest SP mini 3 devices (#41522)
* Add support for Broadlink SP4 series

* Bump python-broadlink to 0.16

* Fix stale docstring
2020-11-08 11:19:28 -06:00
springstan 30e0d14499
Correct link to frontend repo (#42972) 2020-11-08 11:11:45 -06:00
Tom 877bfcb308
Add support for Stretch product to Plugwise integration (#40108)
* Initial switch-group/stretch with failing wk_lisa_battery test

* Adding switch tests, but TypeErrors, needs more investigation

* Fixes and tests aligned

* Review updates

* Use const

* Comments

* Add stretch hostname for testing part

* Remove unused consts

* Revert guardings in line with -beta

* Catchup with dev (mostly with ourselves from #41201)

* Update docstring

* Remove debug logging

* Fix for #42725 (incorrect entity namingi)

* Fix naming for gas interval

* Add missing CONF_USERNAME and use of it

* Change "dummy" to "class"

* Don't use "class"

* Fix CONF_USERNAME default, dummy and other consts

Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
2020-11-08 11:09:43 -06:00
jan iversen 55cdec8c4e
Add test for register configuration for modbus switch (#42604)
* check for false config in modbus tests.

add call to pytest.fail() if device cannot be defined.

* correct bit error in register read.

Only LSB is to be considered for checking ON/OFF

* Add register tests for modbus switch.

Copy the coil tests to work for register tests.

* allow test coverage to control switch.py

With both register and coil test the coverage is a log higher than 50%

* Correct minor bug in handling of register in modbus switch

* Add state_on/state_off test for modbus switch

* restore modbus switch exclusion from coverage

switch file coverage is only at 72%, ideally we want either 80%+ coverage on the file or 90%+ on the component itself which is only about 83% currently with this file included. this is so we keep the overall project coverage in 90%+.

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-11-08 10:42:45 -06:00
Erik Montnemery 51b4bc547c
Bump hatasmota from 0.0.27 (#42802)
* Adjust tests

* Add test for deprecated discovery message

* Update status sensors

* Bump hatasmota to 0.0.27

* Update tests
2020-11-08 17:11:25 +01:00
Franck Nijhof 6e9b65405a
Disable legacy templates by default (#42967) 2020-11-08 16:11:38 +01:00
Franck Nijhof 2656e9b0f9
Upgrade colorlog to 4.5.0 (#42965) 2020-11-08 14:05:55 +01:00
Malte Franken a0d1f4a6fb
Bump aio_georss_gdacs to v0.4 (#42957) 2020-11-08 13:13:09 +01:00
springstan c029490e15
Add not internet accessible to base strings for config flows (#42478)
* Add not internet accessible to base strings for config flows

* Add prefix webhook_ to json key

* Update reference value to new key
2020-11-08 08:55:18 +01:00
springstan 9ce971ca30
Use common strings in locative config flow (#42481) 2020-11-07 23:03:40 -06:00
absurdist81 d384ca0e69
Add icons for OBiTALK status and reboot sensors (#42883) 2020-11-07 21:00:21 -06:00
Aaron Bach 8dbddd874f
Migrate Flu Near You to DataUpdateCoordinator (#42594)
* Migrate Flu Near You to DataUpdateCoordinator

* Prefer partial over lambda

* Remove overlap with CoordinatorEntity
2020-11-07 20:45:14 -06:00
epenet 2b2d7558de
Add binary_sensor platform to onewire integration (#42832)
* Add binary_sensor platform to onewire integration

* Keep the same name

* Rework tests

* Rework tests
2020-11-07 20:42:20 -06:00
J. Nick Koston 1626c236dc
Only call utcnow once during a state changed event (#42941) 2020-11-07 15:51:06 -10:00
HomeAssistant Azure eebf0ef336 [ci skip] Translation update 2020-11-08 00:04:05 +00:00
Randall Wessel 239b3f059b
Change air pressure unit to hPa in OpenWeatherMap (#42801) 2020-11-07 20:29:57 +01:00
Pawel df38c59dc8
Add config flow to epson and fix timeouts (#39697) 2020-11-07 18:15:29 +01:00
Simone Chemelli 12a891cc0a
Bump aioshelly to 0.5.1 (#42940) 2020-11-07 18:10:14 +01:00
J. Nick Koston b47a5449e3
Ensure storage task loads are always garbage collected (#42917) 2020-11-07 06:54:56 -10:00
J. Nick Koston 3ec7258c21
Ensure instances of async_add_entities can be garbage collected (#42919) 2020-11-07 06:54:20 -10:00
Erik Montnemery 7f640c4a2e
Generate random MQTT client ID (#42934)
* Generate random MQTT client ID

* Add comment

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-11-07 16:27:09 +01:00
Franck Nijhof 9d650245ee
Upgrade pytest to 6.1.2 (#40662)
* Upgrade pytest to 6.1.0

* Upgrade pytest to 6.1.2
2020-11-07 12:39:37 +01:00
AlexSchmitz222 d77d7b2217
Change fritzbox title for better product family distinction (#42432) 2020-11-07 11:13:16 +01:00
Daniel Hjelseth Høyer ce5994d9fe
Upgrade Tibber library to 0.16.0 (#42929)
Signed-off-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2020-11-07 10:53:19 +01:00
HomeAssistant Azure 57c6bb96f4 [ci skip] Translation update 2020-11-07 00:04:02 +00:00
Alexei Chetroi 4b7829d777
Allow ZHA coordinator binding/unbinding (#42854)
* Allow coordinator ZDO binding/unbinding operations

* Let coordinator to provide endpoint it

* Refactor ClusterPair to a dataclass

* Rename ClusterPair
2020-11-06 17:33:13 -05:00
shbatm 121872c546
Fix dimming for ISY994 Z-Wave devices using percent instead of 8-bit brightness values (#42915) 2020-11-06 10:07:37 -10:00
Sören Oldag bf9f3e1997
Bump pwmled to v1.6.7 (#42903) 2020-11-06 19:27:01 +01:00
Guido Schmitz c7b2147e55
Handle offline gateways in devolo Home Control (#42897) 2020-11-06 12:49:47 +01:00
Paulus Schoutsen 15da7b3ca6
Cloud: Recover when internet is not available yet (#42877) 2020-11-06 12:12:18 +01:00
Franck Nijhof fd04b96132
Upgrade hadolint to 0.18.2 (#42087)
* Upgrade hadolint to 0.18.1

* Upgrade hadolint to 0.18.2
2020-11-06 11:01:51 +01:00
Aaron Bach bba7c15d79
Migrate RainMachine to DataUpdateCoordinator (#42530) 2020-11-06 10:58:50 +01:00
Sören Oldag 4e614e0f2c
Remove unneeded state restoration of the physical device in rpi_gpio_pwm integration (#42804)
* Add @soldag to code owners of rpi_gpio_pwm platform

* Remove unneeded state restoration of the physical device in rpi_gpio_pwm integration
2020-11-06 10:58:37 +01:00
Manuel de la Rosa 2d428210e4
Add Spanish US voice to amazon polly (#42891)
* Update tts.py

* Update tts.py
2020-11-06 10:49:00 +01:00
Allen Porter a5da98680a
Add nest climate support for SDM API (#42702)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-06 09:57:02 +01:00