Franck Nijhof
0e98bc5ea2
Skip template result parsing in several places ( #42408 )
...
* Skip template result parsing in several places
* Adjust alert integration
* Adjust Alexa integration
* Adjust apns integration
* Adjust arest integration
* Adjust dialogflow integration
* Adjust generic camera integration
* Adjust imap email content integration
* Adjust InfluxDB integration
* Adjust intent integration
* Adjust logbook integration
* Adjust HP ILO integration
* Adjust manual alarm control panel integration
* Adjust manual mqtt alarm control panel integration
* Adjust minio integration
* Adjust mqtt integration
* Adjust notify integration
* Adjust persistent notification integration
* Adjust rest integration
* Adjust rss feed template integration
* Adjust slack integration
* Adjust Xiaomi integration
* Adjust TCP integration
* Adjust Telegram Bot integration
* Bump CI cache version
* Revert "Bump CI cache version"
This reverts commit 875efe58cf
.
* Adjust demo tests
2020-10-26 19:29:10 +01:00
Paulus Schoutsen
6380ebd1eb
Fix MQTT publish from a script with templates ( #42398 )
2020-10-26 16:46:26 +01:00
epenet
0de52c173c
Implement PlatformNotReady on onewire integration ( #42395 )
2020-10-26 16:33:13 +01:00
J. Nick Koston
935c2df7cb
Add a test for template entities that reuse the template ( #42404 )
2020-10-26 16:08:57 +01:00
Franck Nijhof
45aba9bdf2
Allow skip parsing template result ( #42401 )
2020-10-26 16:01:09 +01:00
Elena Rogleva
41f917fede
Rewrite pilight/test_init.py tests to pytest style test functions ( #42366 )
2020-10-26 15:26:08 +01:00
Erik Montnemery
029963dfc2
Bump hatasmota to 0.0.23 ( #42394 )
2020-10-26 14:58:36 +01:00
Paulus Schoutsen
bba770b411
Fix CI ( #42397 )
2020-10-26 13:36:03 +01:00
Paulus Schoutsen
e552c9ba96
Store original result on template results ( #42391 )
...
* Store original result on template results
* Fix shell command test
2020-10-26 11:30:58 +01:00
Glenn Waters
6645cb2637
Cleanup log style and tests for ElkM1 ( #42353 )
2020-10-26 10:36:28 +01:00
taiyeoguns
8f74a0c2e6
Convert logbook tests to pytest ( #42289 )
2020-10-26 09:18:02 +01:00
Olen
0cf9a1621a
Create __init__.py in AlarmDecoder tests ( #42388 )
...
__init__.py was missing
2020-10-26 09:17:15 +01:00
Emily Mills
00df7539cf
Use string-lights icon for zerproc ( #42379 )
2020-10-26 09:04:58 +01:00
J. Nick Koston
ce2c388c09
Ensure config entry platforms are excluded from reload ( #42367 )
2020-10-25 23:53:31 +01:00
springstan
cbf6086c30
Use common strings in luftdaten config flow ( #42376 )
2020-10-25 23:40:12 +01:00
wouterbaake
e6400fc11b
Use common strings in opentherm_gw config flow ( #42211 )
...
* Use common strings in opentherm_gw config flow
* Combine TimeourError and SerialException handling
* Fixed test_form_connection_error
* And then fix the flake8 error...
* Change "timeout" to "cannot_connect" msg
2020-10-25 22:01:05 +01:00
Paulus Schoutsen
de12ac354a
Expose more Websocket API constants ( #42263 )
2020-10-25 21:10:13 +01:00
epenet
c157a582b8
Add device_info to onewire sensors ( #42309 )
...
* Add device info
* Cleanup log
2020-10-25 18:05:02 +01:00
SukramJ
9a970cfe3d
Remove split devices from HMIPC ( #42348 )
2020-10-25 11:03:41 -05:00
J. Nick Koston
221bb5ad52
Upgrade to aiohttp 3.7.1 ( #42305 )
2020-10-25 14:44:39 +01:00
J. Nick Koston
6822190772
Fix unmocked https in the test suite ( #42316 )
2020-10-25 07:16:23 -05:00
Alex Popoutsis
64b1ccd8f6
Add WLED preset service ( #42217 )
...
Co-authored-by: djtimca <60706061+djtimca@users.noreply.github.com>
2020-10-25 12:44:26 +01:00
Glenn Waters
cc77621477
Clean up ElkM1 lib ( #42319 )
2020-10-24 23:46:22 -05:00
Teemu R
bdb71c9159
Only log xiaomi_miio update exceptions once ( #41226 )
...
* xiaomi_miio: only log update exceptions once
Replaces #37695
* add som more missed exception logger cases + do not change the control flow as pointed out by @cgtobi
* Use patch&MagickMock from tests.async_mock
* Fix linting for alarm_control_panel
* update the test to verify that the warning on update is only logged when the device was previously available
2020-10-25 01:53:36 +02:00
Allen Porter
5e9de88f4b
Fix nest to stop doing asyncio in a property ( #42312 )
...
This upgrades to the latest vesion of python-google-nest-sdm that
had bug fixes to stop doing asyncio in a property.
2020-10-24 23:33:52 +02:00
epenet
5db1474099
Add device_class information to onewire sensors ( #42308 )
2020-10-24 14:45:01 -05:00
Robert Svensson
e06c8009e1
Add area id to entity registry ( #42221 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-24 21:25:28 +02:00
epenet
2787a52ef7
Add onewire test for more devices ( #42037 )
...
* Add tests for device families 12 and 26
* Update patch import to tests.async_mock
2020-10-24 13:56:41 -05:00
Allen Porter
0c852b5f81
Update nest integration with fixes from initial PR ( #42250 )
2020-10-24 20:48:28 +02:00
Paulus Schoutsen
1c36bf5e19
Fix block till done in create entry config flow tests ( #42290 )
2020-10-24 16:20:56 +02:00
Erik Montnemery
bfb603fe78
Fix reconfiguring of Tasmota lights ( #42288 )
2020-10-24 14:31:08 +02:00
Erik Montnemery
15f46392d2
Fix Tasmota CT light ( #42287 )
2020-10-24 14:29:26 +02:00
Rob Bierbooms
79fac17c28
Add unique_id and device_info to DSMR entities ( #42279 )
...
* Add unique ids and device info
* Fix tests
* Add tests
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Fix black
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-24 06:22:23 -05:00
SukramJ
6efb782871
Add wired devices to Homematic IP Cloud ( #41232 )
...
* Add wired devices to HomematicIP Cloud
* Add test to check device registry
* Add comments
* Update comment
2020-10-23 21:14:54 -05:00
epenet
6ef53a2c5d
Add config flow for One wire ( #39321 )
...
* Add support for config_flow
Add support for switches
Add support for binary sensors
* Add config flow strings
* Update .coveragerc
* black-formatting
* fixes for isort and flake
* fixes for pylint
* fixes for isort
* fixes for isort
* fixes for config_flow
* Add devices to Device Registry
* Updated comments
* fixes for flake8
* Updated comments
* Updated comments
* Implement async_unload_entry
* remove binary_sensor and switch implementation (will move to new PR)
* Update .coveragerc
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update .coveragerc
* Review config flow to store the configuration type
* Add config_flow tests
* Move CONF_NAMES to constants
* Fix isort
* Tweak to onewire logger
* Tweak to onewire logger for sensor
* Reset _LOGGER variable
* Normalise header
* Normalise header
* Update to use references in config flow translations
* Improve test coverage
* fixes for isort
* Update async_unload_entry
* Update common strings
* Update imports
* Move connect attempt to executor
* Update common strings
* Remove OWFS from config_flow
* Prevent duplicate config entries
* Fix isort
* Fix flake8
* Fix tests following removal of OWFS implementation
* Fix flake8
* Adjust config from yaml to config-flow, and add ability to specify sysbus directory
* Ajust unique_id for config entries
* Fix test_config_flow
* Fix invalid merge
* Convert yaml to config_entry
* Update sysbus tests
* Tweaks to yaml import process, and add OWFS warning
* Enable migration of OWFS platform config to config_entry
* update the existing corresponding config entry on OWFS conversion
* Remove CONFIG_SCHEMA
* Move data_schema to constants
* Remove log message
* Remove duplicate warning
* Update already_configured to use already_configured_device constant
* Schedule get_entities on the executor
* Update duplicate entry check for OWServer
* Review TryCatch
* Schedule os.path.isdir on the executor
* rename owhost/owport
* Update checks for empty
* Fix incorrect patch
* Move config_flow validation methods to new OneWireHub
* Fix typo and pre-commit
* Cleanup try/else
* patch async_setup/async_setup_entry
* cleanup implicit exit point
* Fix invalid patch
* cleanup implicit exit point
* cleanup implicit exit point
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-23 20:57:16 -05:00
J. Nick Koston
4bf9ce6fca
Add support for homekit garage obstruction sensors ( #42243 )
2020-10-23 12:18:02 -05:00
Erik Montnemery
88231aa541
Fix Tasmota relay acting as on/off light ( #42259 )
2020-10-23 17:40:43 +02:00
Paulus Schoutsen
5dac3883b0
Stub light profiles ( #42232 )
2020-10-23 16:28:21 +02:00
Erik Montnemery
b626df1316
Improve cast integration tests ( #42229 )
...
* Improve cast tests
* Address review comments
* Further cleanup of tests
2020-10-23 16:16:55 +02:00
Tim Werner
3f623ad453
Rewrite group unittest to pytest style ( #42159 )
2020-10-23 12:05:07 +02:00
Aaron Bach
536f1186b0
Remove remnants of configurable RainMachine scan interval ( #42239 )
...
* Remove remnants of configurable RainMachine scan interval
* Clean up tests
* Cleanup
2020-10-22 21:32:04 -05:00
J. Nick Koston
4a3b40a3ef
Ensure websocket event serializer cache is effective if subscription iden differs ( #42226 )
...
Since someone websocket subscriptions will use an iden of 2 for
state_changed event (most comment), and some will use another
number for all events, the cache would not be used because the
iden number was different. We now cache only the event and
use a fast replace to insert the iden number into the serailized
response.
2020-10-23 01:28:22 +02:00
Erik Montnemery
de35d58fd4
Support reloading Tasmota config entries ( #42097 )
2020-10-23 01:22:51 +02:00
Anders Melchiorsen
cb0c937b3e
Refresh now() templates on second=0 ( #42225 )
2020-10-23 00:11:02 +02:00
Tim Werner
fcc895f294
Rewrite mochad unittest to pytest style ( #42164 )
2020-10-22 14:58:54 +02:00
taiyeoguns
8bb7febbc5
Convert nx584 tests to pytest ( #42094 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-22 10:36:31 +02:00
CurrentThread
9b145a78d9
Remove not used legacy remote test helpers ( #42144 )
2020-10-22 10:02:04 +02:00
Julian Engelhardt
5230ff6640
Rest test style ( #42032 )
2020-10-22 10:00:48 +02:00
Robert Svensson
e54f4aa9ed
Improve Axis tests ( #42183 )
2020-10-22 09:29:53 +02:00
Ronan Murray
dab5e5ebc9
Rewrite london_air tests in pytest style ( #41165 )
2020-10-21 23:49:28 +02:00