1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-03 00:35:52 +00:00
Commit Graph

16298 Commits

Author SHA1 Message Date
Tim Werner
e5aa5e2c35 rewrite mqtt unittest tests to pytest style (#42122) 2020-10-20 16:35:49 +02:00
Robert Svensson
1303d20064 Adapt Axis integration to async HTTPx calls (#42095) 2020-10-20 09:31:04 +02:00
jjlawren
e6e4c9cf59 Allow Cast to play Plex media (#41869)
* Allow Cast to play Plex media

* Add Plex to after_dependencies, add missing constant

* Extract function from Sonos service to allow media lookups

* Move to non-async method

* Check if media_id exists

* Add test to make codecov happy
2020-10-19 16:34:22 -05:00
dmonego
c8821d930e Move sleepiq tests to pytest style functions (#42018) 2020-10-19 23:31:33 +02:00
CurrentThread
e129ea4db7 Rewrite demo unittest tests to pytest style test functions (#41845) 2020-10-19 23:29:44 +02:00
CurrentThread
7e3aa6ddce Rewrite remote unittest tests to pytest style test functions and remove legacy test helpers (#41715) 2020-10-19 23:28:40 +02:00
Alexander Pitkin
f5f4570a29 Rewrite alert test to pytest (#41102)
* Rewrite alert test to pytest

* Rewrite alert test to pytest. Add mock_notifier fixture
2020-10-19 23:26:40 +02:00
Paulus Schoutsen
b8417a2ce2 Do not allow coroutines to be passed to HassJob (#42073)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-19 23:25:33 +02:00
Erik Montnemery
ec7f329807 Add support for Tasmota status sensor (#41782)
* Add sensor attributes, remove useless test.

* Fix tests

* Rework handling of sensor attributes

* Remove unused sensor attributes

* Hide status sensors

* Bump hatasmota to 0.0.19

* Use DEVICE_CLASS_SIGNAL_STRENGTH for WiFi signal sensor

* Improve test coverage

* Fix tests
2020-10-19 22:07:31 +02:00
Robert Svensson
de98168211 Axis lib migrates to httpx (#42054)
* Clean up some parameter naming

* Bump lib

* Bump to v39
2020-10-19 20:01:25 +02:00
Paulus Schoutsen
440570244d Don't swallow all errors when checking for config validator platform (#42058) 2020-10-19 17:09:57 +02:00
Paulus Schoutsen
8d4675713a Fix event test (#42078) 2020-10-19 16:50:46 +02:00
Ronan Murray
16c402f583 Rewrite nsw_fuel_station tests to pytest style (#41171) 2020-10-19 12:19:39 +02:00
Rob Bierbooms
5e98bdb19c Rewrite openhardwaremonitor tests to pytest style test functions (#41157) 2020-10-19 12:18:34 +02:00
Sebastian Rodriguez
226a6f7584 Rewrite time_date unittest tests to pytest style test functions (#41149) 2020-10-19 12:14:07 +02:00
CurrentThread
6b409dc811 Rewrite filesize unittest tests to pytest style test functions (#41421) 2020-10-19 12:10:53 +02:00
thaohtp
a57d1c1bf0 Rewrite efergy unittest tests to pytest style test functions. (#41769)
Issue: https://github.com/home-assistant/core/issues/40836
2020-10-19 12:09:39 +02:00
Adam Cooper
fe7c8dd80a Migrated coinmarketcap tests to utilise pytests instead of unittests (#42013) 2020-10-19 12:08:55 +02:00
Julian Engelhardt
97b1fffad4 Geo rss test style (#42038) 2020-10-19 11:59:04 +02:00
dvermd
5a533a8c5d Rewrite datadog tests to pytest (#42059) 2020-10-19 11:57:01 +02:00
thaohtp
6f4be7882b Rewrite logentries unittest tests to pytest style test functions (#41852)
* Rewrite logentries unittest tests to pytest style test functions.

Issue: https://github.com/home-assistant/core/issues/40862

* Import mock correctly

* Fix mock import

* Fix failure in formatting.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-19 11:30:40 +02:00
J. Nick Koston
31c21126a8 Implement time tracking in templates (#41147)
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-10-19 11:02:43 +02:00
J. Nick Koston
77b95ae8a1 Reduce domain states rate limit to 1 per second (#42004) 2020-10-19 10:18:25 +02:00
J. Nick Koston
3a9b2392f8 Suppress domain and all listeners during template rate limit (#42005) 2020-10-19 10:17:51 +02:00
J. Nick Koston
9649525fe6 Increase coverage and optimize history skip_initial_state (#42014)
Avoids a database query when all states have not
changed in the time window when skip_initial_state
is set.
2020-10-19 09:53:47 +02:00
Paulus Schoutsen
388a5d8c91 Add entity ID to time trigger (#41933) 2020-10-19 09:42:00 +02:00
Jason Hunter
5a397312e7 Update ONVIF to Zeep 4.0/httpx (#42020)
* convert to httpx and zeep 4.0

* fix tests

* add onvif-zeep-async to manifest

* pin zeep to fool CI cache

* address review comments
2020-10-18 23:29:53 -04:00
Paulus Schoutsen
6ab9b7355f Add tests for singleton decorator (#42055) 2020-10-18 22:41:22 +02:00
Eugene Prystupa
6366872119 Add support for Bond fireplaces with integrated lights (#41255) 2020-10-18 14:11:24 -05:00
scheric
22b360a10e Use common strings in ambiclimate config flow (#41772)
* already_configured_account->already_configured

* add authenticated string

* oauth2_missing_...->missing_configuration
2020-10-18 20:55:32 +02:00
Ronaldo Lima
d6d17aa295 Replace invalid credentials with common string invalid_auth (#41997)
* add GeoNet NZ Volcano to home-assistant#40578

* move invalid_credentials

* revert geonet nz volkano

* change invalid_credentials to invalid_auth

* change translation keys
2020-10-18 13:55:01 -05:00
J. Nick Koston
8c27a99386 Convert nuheat to use DataUpdateCoordinator (#42034)
* Convert nuheat to use DataUpdateCoordinator

* coverage

* Update homeassistant/components/nuheat/climate.py
2020-10-18 13:45:47 -05:00
Brett
5fab68725d Add Switch platform to Advantage Air (#41995)
* Add Switch platform

* Rename DOMAIN in climate

* Revert "Rename DOMAIN in climate"

This reverts commit 271ac7b8a5215515910e497d75351457d9bc84c0.

* Update unique_id

* Use constants

* Add switch platform to init

* Fix path for change

* Add tests

* Fix indentation of async_add_entities
2020-10-18 13:30:53 -05:00
Felipe Martins Diel
d96a1744f0 Improve RemoteEntity class (#40605) 2020-10-18 08:59:36 -05:00
Erik Montnemery
515a6479a4 Bump hatasmota to 0.0.18 (#42000)
* Bump hatasmota to 0.0.17

* Bump hatasmota to 0.0.18
2020-10-18 00:00:28 +02:00
Robert Svensson
c6c617ed31 Improve device registry for host and deCONZ service (#41786) 2020-10-17 11:44:23 -05:00
Brett
e71d851973 Add Sensor Platform to Advantage Air (#41870)
* WIP Add Sensor platform

* Code quality improvements

* Readability improvements

* Fix RSSI in fixture

* Sensor platform tests

* Created parent sensor class

* Fix DOMAIN namespace

* Code Coverage fix for impossible case

* Use parent class

* Add to fixture for code coverage

* Description Update

* Use consistent name for ADVANTAGE_AIR_DOMAIN

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Set ADVANTAGE_AIR_DOMAIN where required

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-10-17 11:29:36 -05:00
Robert Svensson
7eb532ddd0 Improve imports in deCONZ tests (#41976)
* Improve imports in deconz tests

* Add spacing
2020-10-17 11:20:06 -05:00
Ronaldo Lima
121613f5e6 Use common string in GeoNet NZ Volcano (#41981)
* add GeoNet NZ Volcano to home-assistant#40578

* change key from already_configured_location to already_configured on GeoNet NZ Volkano
2020-10-17 15:07:44 +02:00
Paulus Schoutsen
39ba0fc7ee Remove BOM integration because it uses webscraping (#41941)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-17 13:56:11 +02:00
Gautham Varma K
ee1b6d3195 Use common strings in denonavr integration (#41746) 2020-10-17 13:34:51 +02:00
Anders Melchiorsen
30b454ddb7 Fix Sonos shuffle/repeat state with Spotify Connect (#41939) 2020-10-17 09:40:43 +02:00
Philip Allgaier
dde6305549 Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
J. Nick Koston
ad6ce5fa83 Convert rest sensors to async using httpx (#41973) 2020-10-16 19:21:13 -05:00
Ronaldo Lima
87deb2344c Use common strings in Azure DevOps config flow (#41974) 2020-10-17 01:27:44 +02:00
Aaron Bach
74a1b75919 Deprecate YAML config for RainMachine (0.119 removal) (#41971) 2020-10-16 16:35:13 -05:00
Jaroslav Hanslík
3e82cc1b4f Add arming state to template alarm control panel (#41964) 2020-10-16 23:01:06 +02:00
Brett
ca9ac48938 Add Binary Sensor Platform to Advantage Air (#41871)
* Binary Sensor Platform

* Parent Binary Sensor Class

* Fix DOMAIN namespace

* Use parent class
2020-10-16 12:12:24 -05:00
Rob Bierbooms
92f89213a3 Fix InfluxDB v2 API with write precision None (#41937) 2020-10-16 16:44:50 +02:00
Robert Svensson
85ccff28cd Revert partial changes to deCONZ integration from earlier PR (#41943) 2020-10-16 14:38:12 +02:00