Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
6f299e7
Improve error handling (#24204)
balloob May 30, 2019
bf91a8c
Fixing tplink issues with offline devices during setup (#23668)
vangorra May 31, 2019
a9c85b9
Bump oauthlib version (#24111)
therve May 31, 2019
dedc2ef
Update azure-pipelines.yml for Azure Pipelines
pvizeli May 31, 2019
bfc8d24
Update azure-pipelines.yml for Azure Pipelines
pvizeli May 31, 2019
5610541
Fix ESPHome config flow with invalid config entry (#24213)
OttoWinter May 31, 2019
9be1b72
Fix ESPHome config flow with invalid config entry (#24213)
OttoWinter May 31, 2019
261f3bc
Don't follow redirect on ingress itself (#24218)
pvizeli May 31, 2019
5fa66ba
Update azure-pipelines.yml for Azure Pipelines
pvizeli May 31, 2019
8fe1a84
Update azure-pipelines.yml for Azure Pipelines
pvizeli May 31, 2019
440e428
Instantiate lock inside event loop (#24203)
balloob May 31, 2019
3a0616c
Use resource for index routing. (#24223)
balloob May 31, 2019
18286db
Axis - Handle Vapix error messages (#24215)
Kane610 May 31, 2019
3c1cdec
Add manifest support for homekit discovery (#24225)
balloob May 31, 2019
4fa6f2e
Bump oauthlib version (#24111)
therve May 31, 2019
16edcd9
Allow discovery flows to be discovered via zeroconf/ssdp (#24199)
balloob May 30, 2019
052641e
Instantiate lock inside event loop (#24203)
balloob May 31, 2019
6371eca
Improve error handling (#24204)
balloob May 30, 2019
46cc6e1
Axis - Handle Vapix error messages (#24215)
Kane610 May 31, 2019
35f5784
Don't follow redirect on ingress itself (#24218)
pvizeli May 31, 2019
52e33c2
Use resource for index routing. (#24223)
balloob May 31, 2019
3eeccc1
Add manifest support for homekit discovery (#24225)
balloob May 31, 2019
d966e0c
Add control of Amcrest indicator light (#23986)
pnbruckner May 31, 2019
5c8f209
Bumped version to 0.94.0b2
balloob May 31, 2019
1e6b91b
Update azure-pipelines.yml for Azure Pipelines
pvizeli May 31, 2019
0ba2b4e
ZHA requirements version bump. (#24228)
Adminiuga May 31, 2019
958b894
Update azure-pipelines.yml for Azure Pipelines
pvizeli May 31, 2019
f43eca2
Don't allow more than one config flow per discovered Axis device (#24…
Kane610 May 31, 2019
9f1dc71
Bump pychromecast (#24234)
soldag Jun 1, 2019
70fe4f2
Log HomeKit model (#24229)
balloob Jun 1, 2019
3edc58a
Add GPSLogger device_info and unique_id (#24231)
balloob Jun 1, 2019
e6a5401
GeoFency unique ID and device info (#24232)
balloob Jun 1, 2019
3076866
add a deprecation warning for tplink device_tracker (#24236)
rytilahti Jun 1, 2019
b4374c8
Mobile app to use device tracker config entry (#24238)
balloob Jun 1, 2019
b90636f
Update home zone when core config updated (#24237)
balloob Jun 1, 2019
7d1a02f
Log HomeKit model (#24229)
balloob Jun 1, 2019
0cdea28
Don't allow more than one config flow per discovered Axis device (#24…
Kane610 May 31, 2019
dc8d4ac
Add GPSLogger device_info and unique_id (#24231)
balloob Jun 1, 2019
362f23a
GeoFency unique ID and device info (#24232)
balloob Jun 1, 2019
35ffac1
add a deprecation warning for tplink device_tracker (#24236)
rytilahti Jun 1, 2019
fe2e508
Mobile app to use device tracker config entry (#24238)
balloob Jun 1, 2019
e5cbf01
Bumped version to 0.94.0b3
balloob Jun 1, 2019
276ab19
Do not use the cache dir for PIP installs (#24233)
balloob Jun 1, 2019
278b9d0
Round Awair sensor values (#24093)
danielsjf Jun 1, 2019
ef820c3
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 1, 2019
5a81ddd
Sense update (#24220)
kbickar Jun 1, 2019
673290d
fix gitlab_ci sad icon (#24241)
Emilv2 Jun 1, 2019
12d5979
Add details to triggered state for total connect alarms (#24106)
austinmroczek Jun 1, 2019
4d07448
Bump python-velbus version for velbus component (#24226)
cereal2nd Jun 1, 2019
2823ef8
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 1, 2019
7be7d3f
Updated frontend to 20190601.0
balloob Jun 1, 2019
09c43e8
Updated frontend to 20190601.0
balloob Jun 1, 2019
bf85e18
Do not use the cache dir for PIP installs (#24233)
balloob Jun 1, 2019
22f68d7
Bumped version to 0.94.0b4
balloob Jun 1, 2019
9220270
Adds AdGuard Home integration (#24219)
frenck Jun 2, 2019
c486f79
Fix typo in integration component (#24250)
Emilv2 Jun 2, 2019
034b0e0
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 2, 2019
16a846b
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 2, 2019
4d4fd19
Replace pyunifi with aiounifi in UniFi device tracker (#24149)
Kane610 Jun 2, 2019
b4c858b
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 2, 2019
05454b7
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 2, 2019
ca20b0c
Add restore state to OwnTracks device tracker (#24256)
balloob Jun 2, 2019
fbfc674
Add service for adding event to google component (#22473)
isabellaalstrom Jun 2, 2019
411e36b
Updated frontend to 20190602.0
balloob Jun 2, 2019
a8c73ff
Updated frontend to 20190602.0
balloob Jun 2, 2019
6a69354
Add restore state to Geofency (#24268)
balloob Jun 3, 2019
6795db9
Mobile app device tracker to restore state (#24266)
balloob Jun 3, 2019
d2d3f27
Add restore state to OwnTracks device tracker (#24256)
balloob Jun 2, 2019
5f3bced
Mobile app device tracker to restore state (#24266)
balloob Jun 3, 2019
89d7c0a
Add restore state to Geofency (#24268)
balloob Jun 3, 2019
704cdac
Bumped version to 0.94.0b5
pvizeli Jun 3, 2019
e12cef8
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 3, 2019
2b0e569
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 3, 2019
263c032
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 3, 2019
a00d8a4
Update azure-pipelines.yml for Azure Pipelines
pvizeli Jun 3, 2019
34260ed
Bump aioesphomeapi to 2.1.0 (#24278)
OttoWinter Jun 3, 2019
7fd2e67
Remove icon() (#24280)
fabaff Jun 3, 2019
449a7d3
deCONZ migrate to SSDP discovery (#24252)
Kane610 Jun 3, 2019
b1dcfaf
Split devices of nodes with multiple instances (#24032)
Swamp-Ig Jun 3, 2019
4c88578
Add a discovery config flow to Wemo (#24208)
balloob Jun 3, 2019
6f903db
Fix cors on the index view (#24283)
balloob Jun 3, 2019
0b70419
Remove deps folder in config when on Docker (#24284)
balloob Jun 3, 2019
976bf3e
Add temperature sensor support to google smarthome thermostat device …
piitaya Jun 3, 2019
9ed5b70
deCONZ migrate to SSDP discovery (#24252)
Kane610 Jun 3, 2019
5085ce8
Add temperature sensor support to google smarthome thermostat device …
piitaya Jun 3, 2019
ee71d2c
Bump aioesphomeapi to 2.1.0 (#24278)
OttoWinter Jun 3, 2019
014cc14
Fix cors on the index view (#24283)
balloob Jun 3, 2019
4a71593
Remove deps folder in config when on Docker (#24284)
balloob Jun 3, 2019
281fe93
Bumped version to 0.94.0b6
balloob Jun 3, 2019
bad920f
Bumped version to 0.94.0b7
pvizeli Jun 4, 2019
0d5e151
Update pyvera to 0.3.1 for alert support (#24289)
brandond Jun 4, 2019
6180397
Updated frontend to 20190604.0
balloob Jun 4, 2019
14c0ada
Update translations
balloob Jun 4, 2019
b67d328
Updated frontend to 20190604.0
balloob Jun 4, 2019
8b4ef3b
Guard against bad states in Mobile App/OwnTracks (#24292)
balloob Jun 4, 2019
d7c8adc
Run SSDP discovery in parallel (#24299)
balloob Jun 4, 2019
bf52aa8
Create progress file for pip installs (#24297)
pvizeli Jun 4, 2019
ac788a7
Upgrade Zeroconf to 0.23 (#24300)
balloob Jun 4, 2019
bb0867f
Guard against bad states in Mobile App/OwnTracks (#24292)
balloob Jun 4, 2019
d17f27b
Create progress file for pip installs (#24297)
pvizeli Jun 4, 2019
185af1b
Run SSDP discovery in parallel (#24299)
balloob Jun 4, 2019
389da16
Upgrade Zeroconf to 0.23 (#24300)
balloob Jun 4, 2019
1096fe3
Bumped version to 0.94.0b8
balloob Jun 4, 2019
6d28008
Expose specific device_class for Velux covers (#24279)
gibman Jun 4, 2019
df1da75
Fix OwnTracks race condition (#24303)
balloob Jun 4, 2019
fbfaa41
address is deprecated in favor of addresses (#24302)
Kane610 Jun 4, 2019
3b60081
address is deprecated in favor of addresses (#24302)
Kane610 Jun 4, 2019
eca4246
Fix OwnTracks race condition (#24303)
balloob Jun 4, 2019
d0715c7
Merge remote-tracking branch 'origin/master' into rc
balloob Jun 4, 2019
13c3833
Bumped version to 0.94.0
balloob Jun 4, 2019
2943ad1
Change meteoalertapi to version 0.1.3 (#24307)
rolfberkenbosch Jun 5, 2019
034bbb4
Create azure-pipelines-wheels.yml
pvizeli Jun 5, 2019
701d258
Update and rename azure-pipelines.yml to azure-pipelines-release.yml
pvizeli Jun 5, 2019
279192d
Rename azure-pipelines-release.yml to azure-pipelines.yml
pvizeli Jun 5, 2019
17b3d3a
Update azure-pipelines-wheels.yml for Azure Pipelines
pvizeli Jun 5, 2019
fccbd41
Update azure-pipelines-wheels.yml for Azure Pipelines
pvizeli Jun 5, 2019
bc15f11
Rename azure-pipelines.yml to azure-pipelines-release.yml
pvizeli Jun 5, 2019
ce93a33
Update and rename azure-pipelines.yml to azure-pipelines-release.yml
pvizeli Jun 5, 2019
bf9c2c7
Upgrade pytest and -cov (#24258)
scop Jun 5, 2019
408ae44
Add LCN scene platform (#24242)
alengwenus Jun 5, 2019
0ed9e18
Add support for learning new commands (#23888)
felipediel Jun 5, 2019
d31140f
Upgrade to newer version of rflink with improve error handling on inc…
aequitas Jun 5, 2019
4c6ddd4
SolarEdge Local Component (#23996)
drobtravels Jun 5, 2019
c311e48
Don't let zeroconf be smart with addresses (#24321)
Kane610 Jun 5, 2019
6d4545c
Push to version 0.7.9 of denonavr (#24260)
scarface-4711 Jun 5, 2019
8d3c9bc
Don't let zeroconf be smart with addresses (#24321)
Kane610 Jun 5, 2019
d78e132
Merge pull request #24305 from home-assistant/rc
pvizeli Jun 5, 2019
607b44f
Update azure-pipelines-wheels.yml for Azure Pipelines
pvizeli Jun 5, 2019
f62d473
Update azure-pipelines-release.yml for Azure Pipelines
pvizeli Jun 5, 2019
09292d5
Update azure-pipelines-release.yml for Azure Pipelines
pvizeli Jun 5, 2019
96a51d1
Bump simplipy to 3.4.2 (#24326)
bachya Jun 5, 2019
859ae2f
Meteofrance fix 24244 (#24315)
victorcerutti Jun 6, 2019
f5db770
Only update media icon when necessary (#24324)
jjlawren Jun 6, 2019
6cc1bf3
components/cover: Typo in docstring. (#24329)
andre-richter Jun 6, 2019
9ca5bdd
Add exception handling for Netatmo climate (#24311)
cgtobi Jun 6, 2019
d261c6c
Initiate websession inside event loop (#24331)
balloob Jun 6, 2019
9fb1f2f
Remove deprecated AlarmControlPanel (#24322)
Jun 6, 2019
ae1bcd5
Use node descriptor from Zigpy for ZHA (#24316)
dmulcahey Jun 6, 2019
3b4a9a3
Add abbreviation for light template variable names (#24336)
bieniu Jun 6, 2019
64d6fa8
Remove attribute lowBat (#24323)
Jun 6, 2019
3b8f254
Don't load last_checkpoint if shipment is pending (#24301)
davidbb Jun 6, 2019
8f4bb8d
UPgrade youtube_dl to 2019.05.20 (#24347)
fabaff Jun 6, 2019
0eba920
Add new movement type "actively" of the Xiaomi Vibration Sensor (#24334)
syssi Jun 6, 2019
4ec2af7
Fix set_cover_position of the xiaomi_aqara cover for LAN protocol v2 …
syssi Jun 6, 2019
fcfbdd2
Add Environment Canada weather, sensor, and camera platforms (#21110)
michaeldavie Jun 6, 2019
984d41e
Google Cloud Platform component (TTS) (#23629)
lufton Jun 6, 2019
1bca313
Add Streamlabs Water Monitor (#21205)
cpopp Jun 6, 2019
32844bb
ebusd: added check for monitored conditions validity within correct c…
danielkucera Jun 6, 2019
bf7e09c
Bring the Sisyphus integration to silver quality (#22457)
jkeljo Jun 6, 2019
6cd9667
Support for Salda Smarty XV/XP Ventilation Unit (#21491)
z0mbieprocess Jun 6, 2019
7771ecf
Bump to pypck==0.6.1 (#24356)
alengwenus Jun 6, 2019
e98054a
Add templating to MQTT Cover tilt_status (#24355)
tommyjlong Jun 6, 2019
4db0e78
Upgrade ruamel.yaml to 0.15.97 (#24350)
fabaff Jun 6, 2019
156ab7d
Bump regenmaschine to 1.5.1 (#24358)
bachya Jun 6, 2019
1c13638
Life360 integration (#24227)
pnbruckner Jun 6, 2019
2c341f2
Refactor Waze Travel Time & Update Requirements (#22428)
Petro31 Jun 6, 2019
b71baef
Update pyhomematic (#24368)
danielperna84 Jun 7, 2019
7c5da67
Add service to update core location (#24328)
balloob Jun 7, 2019
a79224a
Fix ZHA battery level when value is reported via signal (#24371)
dmulcahey Jun 7, 2019
592d30d
Remove binary sensors for ZHA remotes and controllers (#24370)
dmulcahey Jun 7, 2019
cb460a8
Add support for ZHA door locks #2 (#24344)
presslab-us Jun 7, 2019
846d31c
Create azure-pipelines-ci.yml
pvizeli Jun 7, 2019
203c3a5
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
85f4cec
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
ae1511d
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
1647eba
Bump dependency (#24376)
Kane610 Jun 7, 2019
3d802af
Upgrade discord.py to 1.1.1 (#24375)
fabaff Jun 7, 2019
888c517
Upgrade Mastodon.py to 1.4.3 (#24374)
fabaff Jun 7, 2019
1acd343
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
3664f61
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
337cd40
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
e93fbcf
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
ceac04b
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
8af0747
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
eb3e53e
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
17b59cd
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
5a9db70
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 7, 2019
952d72f
Add shuffle support for itunes component (#24319)
kvanhoorn Jun 8, 2019
a3794b3
Fixed wrong setpoint value on startup when climate was previously tur…
alengwenus Jun 8, 2019
b5ada3b
Add ATTR_FORECAST_PRECIPITATION option (#24308)
rolfberkenbosch Jun 8, 2019
4c3f39b
Provide an option for the DD-WRT device tracker to include non-wirele…
Jun 8, 2019
d858e1b
Updated pubnubsub-handler to 1.0.7 to fix crash on slow startup (#24388)
Jun 8, 2019
61dabae
Add for option for template triggers (#24330)
pnbruckner Jun 8, 2019
233bc1a
Improve amcrest error handling and bump amcrest package to 1.5.3 (#24…
pnbruckner Jun 8, 2019
b30f4b8
Improve boolean validator (#24294)
Swamp-Ig Jun 8, 2019
0dc0706
Add more HomeKit models for discovery (#24391)
balloob Jun 8, 2019
7887d6d
Fix automation failing to restore state (#24390)
balloob Jun 8, 2019
f77514c
Check cloud trusted proxies (#24395)
balloob Jun 8, 2019
798b72e
Add a discovery config flow to Wemo (#24208)
balloob Jun 3, 2019
ebc0901
Initiate websession inside event loop (#24331)
balloob Jun 6, 2019
b8e20fc
Bump dependency (#24376)
Kane610 Jun 7, 2019
d1b82e9
Updated pubnubsub-handler to 1.0.7 to fix crash on slow startup (#24388)
Jun 8, 2019
2fed016
Fix automation failing to restore state (#24390)
balloob Jun 8, 2019
7d9988f
Add more HomeKit models for discovery (#24391)
balloob Jun 8, 2019
14066df
Check cloud trusted proxies (#24395)
balloob Jun 8, 2019
dc93779
Bumped version to 0.94.1
balloob Jun 8, 2019
787bd75
add device class to sensors (#24373)
dmulcahey Jun 8, 2019
4cb1d77
Fix for sun issues (#24309)
Swamp-Ig Jun 8, 2019
bfafe9c
Fix for sun issues (#24309)
Swamp-Ig Jun 8, 2019
48276b0
deCONZ - properly identify configured bridge (#24378)
Kane610 Jun 8, 2019
b68a796
deCONZ - properly identify configured bridge (#24378)
Kane610 Jun 8, 2019
282b4f4
Merge pull request #24396 from home-assistant/rc
balloob Jun 8, 2019
b179dbc
Merge remote-tracking branch 'origin/master' into dev
balloob Jun 8, 2019
3ac8c6d
Bump version to 0.95.0.dev0
balloob Jun 8, 2019
9924dd7
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 8, 2019
67e87f9
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 8, 2019
95d460c
Fixes linter warning in ZHA sensor (#24406)
frenck Jun 8, 2019
929f3c2
Use loose version (#24394)
balloob Jun 8, 2019
3fa8403
deCONZ fix retry set state(#24410)
Kane610 Jun 8, 2019
9235b52
Restore automation last_triggered with initial_state override (#24400)
frenck Jun 8, 2019
848a2a9
Fix recorder defaults (#24399)
balloob Jun 8, 2019
d648eb1
Minor improvements to automation test suite (#24424)
frenck Jun 9, 2019
896eaba
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
4cb0ff1
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
accfedc
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
7c27bab
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
6a4bf1f
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
b3b2e8f
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
7953008
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
fb3d66e
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
d286723
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
628264b
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
0db27f1
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
3f6a30a
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
0a5966c
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
4e6b133
Update azure-pipelines-ci.yml for Azure Pipelines
pvizeli Jun 9, 2019
cebb146
Upgrade broadlink library (#24450)
Danielhiversen Jun 10, 2019
4921d35
Upgrade ambiclimate library (#24449)
Danielhiversen Jun 10, 2019
84e6813
Rename via_hub to via_device (#24360)
Swamp-Ig Jun 10, 2019
fadfb89
Load the SSDP component only when it's needed (#24420)
aerialls Jun 10, 2019
34e3d2f
Axis discovery MAC filter (#24442)
Kane610 Jun 10, 2019
20ba80f
Remove frequest asuswrt log spam (#24448)
jwater7 Jun 10, 2019
af926db
Publish test results (#24460)
pvizeli Jun 10, 2019
d86837c
Life360: Fix config entry handling for accounts imported from configu…
pnbruckner Jun 10, 2019
1810e45
Remember gpslogger entities across restarts (fixes #24432) (#24444)
andkit Jun 10, 2019
168f20b
Add default config to constaint file (#24423)
balloob Jun 10, 2019
935240f
Add websock command to query device for triggers (#24044)
emontnemery Jun 10, 2019
236c5de
Sun listener to adapt to core config updates (#24464)
balloob Jun 10, 2019
820b381
Update Hass.io when core config is updated (#24461)
balloob Jun 10, 2019
ae5f284
Uber API is going away on June 13, 2019, remove component (#24468)
robbiet480 Jun 11, 2019
70bbb86
Use met.no instead of yr.no in default config (#24470)
thomasloven Jun 11, 2019
046a4fc
Bump pyubee to 0.7 to support more models (#24477)
mzdrale Jun 11, 2019
0a7919a
Somfy open api (#19548)
tetienne Jun 11, 2019
8fcfcc4
Add APRS device tracker component (#22469)
PhilRW Jun 11, 2019
7559e70
Add Linky sensors : yesterday + months + years (#23726)
Quentame Jun 11, 2019
a6a3555
Add attributs and fix lightlevel inconsistency for LightLevel sensor …
cyr-ius Jun 11, 2019
b87c541
Support ZLO device types to support newer Zigbee devices in ZHA (#24429)
jurriaan Jun 11, 2019
0eb3879
Camera platform for buienradar imagery (#23358)
ties Jun 11, 2019
d041c62
Position is reversed for horizontal awnings (#23257)
kbickar Jun 11, 2019
d7fcb52
Fix aprs imports (#24485)
amelchio Jun 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
272 changes: 272 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
# Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2.1

executors:

python:
parameters:
tag:
type: string
default: latest
docker:
- image: circleci/python:<< parameters.tag >>
- image: circleci/buildpack-deps:stretch
working_directory: ~/repo

commands:

docker-prereqs:
description: Set up docker prerequisite requirement
steps:
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends
libudev-dev libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev
libswscale-dev libswresample-dev libavfilter-dev

install-requirements:
description: Set up venv and install requirements python packages with cache support
parameters:
python:
type: string
default: latest
all:
description: pip install -r requirements_all.txt
type: boolean
default: false
test:
description: pip install -r requirements_test.txt
type: boolean
default: false
test_all:
description: pip install -r requirements_test_all.txt
type: boolean
default: false
steps:
- restore_cache:
keys:
- v1-<< parameters.python >>-{{ checksum "homeassistant/package_constraints.txt" }}-<<# parameters.all >>{{ checksum "requirements_all.txt" }}<</ parameters.all>>-<<# parameters.test >>{{ checksum "requirements_test.txt" }}<</ parameters.test>>-<<# parameters.test_all >>{{ checksum "requirements_test_all.txt" }}<</ parameters.test_all>>
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install -q -U pip
pip install -q -U setuptools
<<# parameters.all >>pip install -q --progress-bar off -r requirements_all.txt -c homeassistant/package_constraints.txt<</ parameters.all>>
<<# parameters.test >>pip install -q --progress-bar off -r requirements_test.txt -c homeassistant/package_constraints.txt<</ parameters.test>>
<<# parameters.test_all >>pip install -q --progress-bar off -r requirements_test_all.txt -c homeassistant/package_constraints.txt<</ parameters.test_all>>
no_output_timeout: 15m
- save_cache:
paths:
- ./venv
key: v1-<< parameters.python >>-{{ checksum "homeassistant/package_constraints.txt" }}-<<# parameters.all >>{{ checksum "requirements_all.txt" }}<</ parameters.all>>-<<# parameters.test >>{{ checksum "requirements_test.txt" }}<</ parameters.test>>-<<# parameters.test_all >>{{ checksum "requirements_test_all.txt" }}<</ parameters.test_all>>

install:
description: Install Home Assistant
steps:
- run:
name: install
command: |
. venv/bin/activate
pip install -q --progress-bar off -e .

jobs:

static-check:
executor:
name: python
tag: 3.5.5-stretch

steps:
- checkout
- docker-prereqs
- install-requirements:
python: 3.5.5-stretch
test: true

- run:
name: run static check
command: |
. venv/bin/activate
flake8 homeassistant tests script

- run:
name: run static type check
command: |
. venv/bin/activate
TYPING_FILES=$(cat mypyrc)
mypy $TYPING_FILES

- install

- run:
name: validate manifests
command: |
. venv/bin/activate
python -m script.hassfest validate

- run:
name: run gen_requirements_all
command: |
. venv/bin/activate
python script/gen_requirements_all.py validate

pre-install-all-requirements:
executor:
name: python
tag: 3.5.5-stretch

steps:
- checkout
- docker-prereqs
- install-requirements:
python: 3.5.5-stretch
all: true
test: true

pylint:
executor:
name: python
tag: 3.5.5-stretch
parallelism: 2

steps:
- checkout
- docker-prereqs
- install-requirements:
python: 3.5.5-stretch
all: true
test: true
- install

- run:
name: run pylint
command: |
. venv/bin/activate
PYFILES=$(circleci tests glob "homeassistant/**/*.py" | circleci tests split)
pylint ${PYFILES}
no_output_timeout: 15m

pre-test:
parameters:
python:
type: string
executor:
name: python
tag: << parameters.python >>

steps:
- checkout
- docker-prereqs
- install-requirements:
python: << parameters.python >>
test_all: true

test:
parameters:
python:
type: string
executor:
name: python
tag: << parameters.python >>
parallelism: 2

steps:
- checkout
- docker-prereqs
- install-requirements:
python: << parameters.python >>
test_all: true
- install

- run:
name: run tests with code coverage
command: |
. venv/bin/activate
CC_SWITCH="--cov --cov-report="
TESTFILES=$(circleci tests glob "tests/**/test_*.py" | circleci tests split --split-by=timings)
pytest --timeout=9 --durations=10 --junitxml=test-reports/homeassistant/results.xml -qq -o junit_family=xunit2 -o junit_suite_name=homeassistant -o console_output_style=count -p no:sugar $CC_SWITCH -- ${TESTFILES}
script/check_dirty
codecov

- store_test_results:
path: test-reports

- store_artifacts:
path: htmlcov
destination: cov-reports

- store_artifacts:
path: test-reports
destination: test-reports

# This job use machine executor, e.g. classic CircleCI VM because we need both lokalise-cli and a Python runtime.
# Classic CircleCI included python 2.7.12 and python 3.5.2 managed by pyenv, the Python version may need change if
# CircleCI changed its VM in future.
upload-translations:
machine: true

steps:
- checkout

- run:
name: upload english translations
command: |
pyenv versions
pyenv global 3.5.2
docker pull lokalise/lokalise-cli@sha256:2198814ebddfda56ee041a4b427521757dd57f75415ea9693696a64c550cef21
script/translations_upload

workflows:
version: 2
build:
jobs:
- static-check
- pre-install-all-requirements:
requires:
- static-check
- pylint:
requires:
- pre-install-all-requirements
- pre-test:
name: pre-test 3.5.5
requires:
- static-check
python: 3.5.5-stretch
- pre-test:
name: pre-test 3.6
requires:
- static-check
python: 3.6-stretch
- pre-test:
name: pre-test 3.7
requires:
- static-check
python: 3.7-stretch
- test:
name: test 3.5.5
requires:
- pre-test 3.5.5
python: 3.5.5-stretch
- test:
name: test 3.6
requires:
- pre-test 3.6
python: 3.6-stretch
- test:
name: test 3.7
requires:
- pre-test 3.7
python: 3.7-stretch
# CircleCI does not allow failure yet
# - test:
# name: test 3.8
# python: 3.8-rc-stretch
- upload-translations:
requires:
- static-check
filters:
branches:
only: dev
16 changes: 16 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
codecov:
branch: dev
coverage:
status:
project:
default:
target: 90
threshold: 0.09
notify:
# Notify codecov room in Discord. The webhook URL (encrypted below) ends in /slack which is why we configure a Slack notification.
slack:
default:
url: "secret:TgWDUM4Jw0w7wMJxuxNF/yhSOHglIo1fGwInJnRLEVPy2P2aLimkoK1mtKCowH5TFw+baUXVXT3eAqefbdvIuM8BjRR4aRji95C6CYyD0QHy4N8i7nn1SQkWDPpS8IthYTg07rUDF7s5guurkKv2RrgoCdnnqjAMSzHoExMOF7xUmblMdhBTWJgBpWEhASJy85w/xxjlsE1xoTkzeJu9Q67pTXtRcn+5kb5/vIzPSYg="
comment:
require_changes: yes
branches: master
Loading