Skip to content
Merged

0.83 #18776

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
fbcf088
Bump frontend to 20181103.1
balloob Nov 3, 2018
f76ccb6
Add support for various load level devices (#18161)
rafale77 Nov 3, 2018
610b0b6
Add Tautulli sensor platform (#17835)
ludeeus Nov 3, 2018
155df91
Add option to manually specify device detection method (#17852)
heytensai Nov 3, 2018
5dd691e
Rename huawei_lte.py to test_huawei_lte.py (#18170)
tjorim Nov 4, 2018
164c680
Improve netgear_lte logging when unconnected (#18163)
amelchio Nov 4, 2018
5418e05
XMPP HTTP upload (#17426)
flowolf Nov 4, 2018
42cb23f
Update Coinbase icons (#18172)
tjorim Nov 4, 2018
eb0d989
Bugfix discovery (delete/mqtt) call for Hass.io (#18159)
pvizeli Nov 4, 2018
27e159f
Handle TensorFlow like OpenCV (#18185)
pvizeli Nov 4, 2018
a498e15
Add support for TensorFlow in official docker (#18191)
pvizeli Nov 4, 2018
0992e83
Remove config (breaking change) (#18153)
jjlawren Nov 4, 2018
dbf721c
Added AU (Australia) (#18183)
troykelly Nov 4, 2018
e161dc3
Upgrade toonlib to 1.1.3 (#18189)
fabaff Nov 4, 2018
44556a8
SMA: Optional import in schema & backoff fix (#18099)
kellerza Nov 4, 2018
4a7507b
Update python-openzwave to 0.4.11 (#18160)
rafale77 Nov 4, 2018
9a6c229
Refactor mysensors message handling (#17214)
MartinHjelmare Nov 4, 2018
959fa81
Fix temperature interval Thermostat HomeKit (#18192)
cdce8p Nov 4, 2018
922f34f
Add more type hints to helpers (#18196)
scop Nov 4, 2018
1c3ef8b
Implemented tplink_lte components and notify service via SMS (#17111)
andtos90 Nov 5, 2018
6e4ce35
Add destination and icon (#18210)
Dav0815 Nov 5, 2018
2e91328
Webhook names (#18206)
balloob Nov 5, 2018
a901c59
Add Traccar device tracker (#18200)
ludeeus Nov 5, 2018
8ee0e0c
Turn off not cancellable scripts automatically HomeKit (#17793)
quthla Nov 5, 2018
8de79ed
add service to reconnect the bot (#18142)
hobbypunk90 Nov 5, 2018
bf54582
Cloud conf (#18216)
balloob Nov 5, 2018
36524e9
Bump version of pywemo to 0.4.29 (#18217)
sqldiablo Nov 5, 2018
f9f53fd
Removes melissa sensors (they should be state attributes as implement…
kennedyshead Nov 5, 2018
81fa74e
Remove unrelated scripts (#18219)
balloob Nov 5, 2018
3d4ff74
Add available property to DirecTV (#18168)
ehendrix23 Nov 5, 2018
dcdae32
deCONZ - reflect hub status on entities (#18106)
Kane610 Nov 5, 2018
26ba4a5
Ignore duplicate state changes GarageDoor HomeKit (#18149)
cdce8p Nov 5, 2018
b261c4b
Activate kodi media player progress bar (#17626)
vetegrodd Nov 5, 2018
561f699
Duplicate entities on discovery (#18074)
ehendrix23 Nov 5, 2018
93b16e7
Mill room temp (#18203)
Danielhiversen Nov 5, 2018
c59b038
Add scenes as switches HomeKit (#17799)
quthla Nov 5, 2018
abf147e
Check if os has chown (#18229)
bramkragten Nov 5, 2018
46b5b62
Improve debug log information (#18230)
ehendrix23 Nov 5, 2018
3366d2c
Tibber login validate (#18235)
Danielhiversen Nov 5, 2018
d951ed4
Add Xiaomi Smartmi Fresh Air System support (#18097)
syssi Nov 5, 2018
6f568d1
Update pynetgear to 0.5.1 (#18238)
Arkkimaagi Nov 6, 2018
7077e19
Elk-M1 fixes (#18154)
Nov 6, 2018
24c110a
Lovelace: Duplicate ID check on load config + caching (#18152)
bramkragten Nov 6, 2018
c5d0440
deCONZ - manual input fallback in config flow (#18116)
Kane610 Nov 6, 2018
ddee5f8
Fix IOLinc sensor (#18250)
teharris1 Nov 6, 2018
2bf2214
Add support for locks in google assistant component (#18233)
ahayworth Nov 6, 2018
087bffe
Add workaround to use notification state for zwave lock state (#17386)
mtreinish Nov 6, 2018
121ec5c
Add season icons (#18221)
tjorim Nov 6, 2018
b506aaf
docstring fix (#18257)
smurfix Nov 6, 2018
4581a74
Report *which* component didn't return a bool (#18258)
smurfix Nov 6, 2018
3322fee
Fritz keepalive (#18155)
akloeckner Nov 6, 2018
24efda2
Add additional property to HomeKitSwitch to show whether the Homekit …
drndos Nov 6, 2018
2c36b9d
Add support for Google Home device tracking (#18190)
ludeeus Nov 6, 2018
34d7758
Correct expose_by_default interaction with expose_domains (#17745)
glentakahashi Nov 6, 2018
c6f3c23
Melissa state_attributes (#18201)
kennedyshead Nov 6, 2018
114bc8e
Support eco mode option on Ziggo Mediabox XL (#17990)
4lloyd Nov 6, 2018
1aba469
Add attributes of ARP table (#17987)
akloeckner Nov 6, 2018
e3a8f3a
Add input_boolean reporting to Prometheus (#17966)
TFenby Nov 6, 2018
58c77e1
Add Xiaomi Air Purifier 2s support (#18260)
syssi Nov 6, 2018
7933bd7
Allow alexa to simply turn on and off climate components. (#16989)
Parlane Nov 6, 2018
2e517ab
Enable config flow for Luftdaten (#17700)
fabaff Nov 6, 2018
39412dc
Adding current_humidity to attributes if its not None. (#18261)
kennedyshead Nov 6, 2018
47af194
Add iAlarm "triggered" support (#18263)
RyuzakiKK Nov 6, 2018
9329ec2
Add support for switches in homekit controller (#17916)
drndos Nov 6, 2018
5897649
Move more MQTT platforms to config entries (#18180)
emontnemery Nov 6, 2018
eb38551
Switch OwnTracks HTTP to use webhook component (#17034)
kirichkov Nov 6, 2018
52074ee
Update Neato states, actions and alerts based on Neato docs (#17353)
dshokouhi Nov 6, 2018
42fea4f
Add services to set/update and cancel Nest ETA (#17836)
schmittx Nov 6, 2018
bde02af
Normalize MAC addresses (#16916)
balloob Nov 6, 2018
f4d3d59
HmIP thermostat fix with operations (#18068)
pvizeli Nov 6, 2018
43ae57c
Lint
balloob Nov 6, 2018
917ebed
Update PR checklist with commented out code check (#18272)
emlove Nov 6, 2018
c41ca37
Add Norwegian Public Transportation sensor (Ruter). (#18237)
ludeeus Nov 6, 2018
bdba385
Split out geofency with a component and platform (#17933)
rohankapoorcom Nov 6, 2018
c89dade
Migrate python-openzwave to homeassistant-pyozw (#18268)
pvizeli Nov 6, 2018
35ae85e
SMA Guard against older pysma (#18278)
kellerza Nov 7, 2018
df3d82e
Use async_add_executor_job at the xiaomi_miio platforms (#18294)
syssi Nov 7, 2018
e698fc2
Bump pyotgw to 0.3b1 (#18286)
mvn23 Nov 7, 2018
6935b62
Remove skipped device tracker tests (#18291)
emlove Nov 7, 2018
0d7cb54
Update litejet automation tests to async (#18287)
emlove Nov 7, 2018
ce069be
Update manual ACP tests to async (#18289)
emlove Nov 7, 2018
65be458
Update input component tests to async (#18290)
emlove Nov 7, 2018
5cee994
Darksky: Add icon to summary sensors (#18275)
leppa Nov 7, 2018
4287d1d
Bump frontend to 20181107.0
balloob Nov 7, 2018
00c1b40
Add translations
balloob Nov 7, 2018
ec732c8
Add support for Lupusec alarm control panel (#17691)
majuss Nov 7, 2018
29be78e
Improve version sensor (#18292)
tjorim Nov 7, 2018
f99701f
Upgrade hdate to 0.7.5 (#18296)
tsvi Nov 7, 2018
d93716b
Add SUPPORT_SEEK for DLNA DMR devices + now (better) providing media_…
StevenLooman Nov 7, 2018
aa4da47
Add upload and download sensors and component for asuswrt (#17757)
kennedyshead Nov 7, 2018
0bf054f
Update pyruter to 1.1.0 to be able to reuse aiohttp session. (#18310)
ludeeus Nov 7, 2018
5bab001
Make flux switch async (#18277)
jawilson Nov 7, 2018
e2fca06
Fix log error message (#18305)
pvizeli Nov 7, 2018
954191c
Add support for 17track.net package sensors (#18038)
bachya Nov 8, 2018
7fed49c
Bump pyhaversion to 2.0.2 (#18318)
ludeeus Nov 8, 2018
5995423
Added optional precision configuration option to generic_thermostat. …
partofthething Nov 8, 2018
54b0cde
Remove Velbus climate platform (#18319)
balloob Nov 8, 2018
f7f0a4e
System groups (#18303)
balloob Nov 8, 2018
9472529
Doc fix: a circular dependency does not raise an error. (#18298)
smurfix Nov 8, 2018
fd2987e
Add new launch sensor to keep track of space launches. (#18274)
ludeeus Nov 8, 2018
8f107c4
W800rf32 (#17920)
horga83 Nov 8, 2018
05eac91
Srpenergy (#18036)
briglx Nov 8, 2018
ae85baf
Restrict recorder query to include max age (#18231)
ehendrix23 Nov 8, 2018
b803075
fix last device ignored (#18329)
abmantis Nov 9, 2018
c571637
Fix xiaomi binary_sensor warning (#18280)
Danielhiversen Nov 9, 2018
f971309
Add support for sensors from Flu Near You (#18136)
bachya Nov 9, 2018
d34c47a
Rename sensor.launch to sensor.launch_library (#18337)
ludeeus Nov 9, 2018
14ad5c0
Switchmate library update (#18336)
Danielhiversen Nov 9, 2018
64ada1e
bump total connect client to 0.22 (#18344)
uchagani Nov 10, 2018
210eab1
WeMo - Change name of discovery option (#18348)
sqldiablo Nov 10, 2018
8bd281d
Update credstash.py (#18349)
iamtpage Nov 10, 2018
132bb79
Update HAP-python to 2.4.0 (#18355)
cdce8p Nov 10, 2018
e75f9b3
add heartbeat support to mysensors (#18359)
inetAnt Nov 10, 2018
f236e14
Upgrade pytest and pytest-sugar (#18338)
scop Nov 10, 2018
667b41d
Show battery_level as a percent vs a decimal (#18328)
chriskacerguis Nov 10, 2018
fa12718
Bump python-avion dependency
mjg59 Nov 10, 2018
d953312
Merge pull request #18364 from mjg59/avion
mjg59 Nov 11, 2018
f0a0ce5
Better error handling in Tibber (#18363)
Danielhiversen Nov 11, 2018
9c92151
Upgrade async_upnp_client to 0.13.2 (#18377)
StevenLooman Nov 11, 2018
b8c06ad
Fix including from sub dir (#18378)
bramkragten Nov 11, 2018
9411fca
Add more type hints to helpers (#18350)
scop Nov 11, 2018
5b9a9d8
Return color information in Alexa Smart Home response (#18368)
jackwilsdon Nov 11, 2018
9cb6464
catch key error when saving image (#18365)
hunterjm Nov 11, 2018
02cc6a2
Fix hangouts notify (#18372)
MartinHjelmare Nov 11, 2018
372470f
Fix and improvment of Swiss Hydrological Data component (#17166)
Bouni Nov 11, 2018
95eae47
Bump version to 0.83.0
fabaff Nov 11, 2018
5129a48
Fixed misspellings in some of the Pollen sensor names (#18382)
bachya Nov 11, 2018
ddeeba2
Google assistant enable fan speed controls (#18373)
marchingphoenix Nov 11, 2018
1f47693
Fix default value for optional Sense configuration parameter (#18379)
claytonjn Nov 11, 2018
ca86755
Discord - Minor bugfixes (#18385)
sqldiablo Nov 11, 2018
1f06d6a
Update waze_travel_time.py (#18399)
hmmbob Nov 12, 2018
afd9c44
Bumping aioasuswrt (#18400)
kennedyshead Nov 12, 2018
9eac11d
Filter Coinbase account wallets (#18167)
tjorim Nov 12, 2018
8fb6030
Bump frontend to 20181112.0
balloob Nov 12, 2018
e5930da
Update pynello to 2.0.2 (#18402)
ultrara1n Nov 12, 2018
15c77fe
Add niko-home-control support (#18019)
legovaer Nov 12, 2018
275b485
Add support for keypad keypress (#18393)
Nov 12, 2018
d046394
Changed checking of cover state closed from 0 to closed_position vari…
pszafer Nov 12, 2018
0ab81b0
cancel off_delay action (#18389)
dgomes Nov 12, 2018
ea4480f
Use existing constant (#18408)
fabaff Nov 12, 2018
c6683cb
updated pydaikin version (#18413)
fredrike Nov 12, 2018
8547489
Bumps pytile to 2.0.5 (#18395)
bachya Nov 13, 2018
996da72
Daikin fixes (#18415)
fredrike Nov 13, 2018
f78dcb9
Sense will not list removed devices (#18410)
kbickar Nov 13, 2018
7113ec6
Fix smhi docstrings (#18414)
fabaff Nov 13, 2018
7aa41d6
Avg price for tibber sensor (#18426)
Danielhiversen Nov 13, 2018
ebdfb56
Bumping aioasuswrt (#18427)
kennedyshead Nov 13, 2018
f14251b
edp_redy: increase UPDATE_INTERVAL (#18429)
abmantis Nov 13, 2018
597da90
Fixes issue for returning the correct docker version. (#18439)
ludeeus Nov 13, 2018
291fba0
Update Magicseaweed sensor (#18446)
jcconnell Nov 13, 2018
532a75b
Update pyozw to 0.1.1 (#18436)
pvizeli Nov 13, 2018
419400f
Bump elkm1_lib version (#18450)
Nov 14, 2018
d2907b8
Add Philips Zhirui Downlight support (#18455)
syssi Nov 14, 2018
d2e102e
Init statistics sensor upon HASS start (#18236)
ehendrix23 Nov 14, 2018
0d43cb6
fixes for last version bump on pydaikin (#18438)
fredrike Nov 14, 2018
c7ac216
Readded climate.velbus (#18434)
cereal2nd Nov 14, 2018
80e616c
Make mikrotik method setting optional as intended (#18454)
wolph Nov 14, 2018
00235cf
Improve support for 1. generation mill heater (#18423)
Danielhiversen Nov 14, 2018
3128729
Initial support for Fibaro HomeCenter hubs (#17891)
pbalogh77 Nov 14, 2018
8aa1283
Add Rainmachine config entry (#18419)
bachya Nov 14, 2018
2d870a2
Merge branch 'master' into dev
balloob Nov 15, 2018
75bb78d
Update translations
balloob Nov 15, 2018
d1b5bc1
AirVisual: Show icon for air pollution level, based on its value (#18…
leppa Nov 15, 2018
4446b15
Add Rainmachine to the device registry (#18452)
bachya Nov 15, 2018
afb3a52
Fixed bug for receivers without support for new command (#18478)
leothlon Nov 15, 2018
b7b8296
Alexa v3 name change for additionalApplianceDetails (#18485)
pc-coholic Nov 15, 2018
ed7aea0
Add safe_mode HomeKit (#18356)
cdce8p Nov 16, 2018
0ca94f2
Update HAP-python 2.4.1 (#18417)
cdce8p Nov 16, 2018
9f51deb
Upgrade youtube_dl to 2018.11.07 (#18507)
fabaff Nov 16, 2018
30806fa
Upgrade numpy to 1.15.4 (#18506)
fabaff Nov 16, 2018
9e04978
Upgrade sphinx-autodoc-typehints to 1.5.0 (#18505)
fabaff Nov 16, 2018
320efdb
Upgrade sqlalchemy to 1.2.14 (#18504)
fabaff Nov 16, 2018
24db2b6
Ban systemair-savecair (#18483)
balloob Nov 16, 2018
fcd756d
fixed sky_hub schema to reflect documentation (#18509)
eliseomartelli Nov 16, 2018
6b2f50b
Improve real time consumption for Tibber sensor (#18517)
Danielhiversen Nov 16, 2018
e73b9b9
Clean up left-behind dispatcher handlers when removing RainMachine (#…
bachya Nov 17, 2018
c6ca27e
Improve handling of unavailable Sonos speakers (#18534)
amelchio Nov 17, 2018
4751ad6
Upgrade ruamel.yaml to 0.15.78 (#18508)
fabaff Nov 17, 2018
3f747f1
Mill lib (#18529)
Danielhiversen Nov 17, 2018
dfb8f60
Upgrade pytest and pytest-cov (#18542)
scop Nov 18, 2018
8f59be2
Make MyQ platform async (#18489)
bachya Nov 18, 2018
796933d
Upgrade vsure to 1.5.2 (#18557)
persandstrom Nov 18, 2018
b066877
Allow unloading of LIFX config entry (#18535)
amelchio Nov 18, 2018
afe21b4
Re-adding the season attribute (#18523)
sdelliot Nov 19, 2018
ab8c127
Enable native support + ADB authentication for Fire TV (#17767)
JeffLIrion Nov 19, 2018
7e702d3
Fix small issue related to topic prefix (#18512)
emontnemery Nov 19, 2018
f241bec
Avoid race in entity_platform.async_add_entities() (#18445)
emontnemery Nov 19, 2018
089a2f4
Logbook speedup (#18376)
jaxer Nov 19, 2018
83b4e56
Log delay and wait_template steps in scripts (#18448)
pnbruckner Nov 19, 2018
cdcc818
Remove turn_on and turn_off feature for clients (#18234)
ehendrix23 Nov 19, 2018
9fa34f0
Add support for sessions (#18518)
ehendrix23 Nov 19, 2018
97c4934
Correct cached stale device tracker handling (#18572)
arigilder Nov 19, 2018
84fd66c
Template binary sensor to not track all state changes (#18573)
amelchio Nov 19, 2018
c1ca7be
Support for Point component (#17466)
fredrike Nov 19, 2018
90f3f2b
Fix for epson state not updating (#18357)
bw3 Nov 19, 2018
fc4dd4e
Update pyhomematic to 0.1.52 and add features for lights (#18499)
danielperna84 Nov 19, 2018
01953ab
Darksky: Expose missing conditions for day 0 forecast (#18312)
leppa Nov 19, 2018
de9bac9
Reconfigure MQTT binary_sensor component if discovery info is changed…
emontnemery Nov 19, 2018
3891f2e
Add mikrotik SSL support (#17898)
soosp Nov 19, 2018
f86083c
Fix MQTT async_added_to_hass (#18575)
balloob Nov 19, 2018
14ad742
Prefix all xiaomi_aqara events (#17354)
syssi Nov 19, 2018
57f7e7e
Bumped ghlocalapi to 0.1.0 (#18584)
eliseomartelli Nov 19, 2018
b3e37af
Added unique id to all Wink devices. (#18589)
Nov 20, 2018
80cd8b1
Adds light switch platform (#18562)
frenck Nov 20, 2018
9b53b7e
Bump Python-Nest to 4.0.5 (#18580)
balloob Nov 20, 2018
44b33d4
Add websocket calls to shopping-list (#18392)
iantrich Nov 20, 2018
d88040e
Revert changes that broke UI (#18495)
dapowers87 Nov 20, 2018
0ddd502
Hass.io config check (#18576)
pvizeli Nov 20, 2018
3838be4
Add support for Daikin BRP069B41 (#18564)
fredrike Nov 20, 2018
e87ecbd
Z-Wave Lock Config Entry Support (#18209)
cgarwood Nov 20, 2018
8742750
Improve available for Mill heater (#18597)
Danielhiversen Nov 20, 2018
b774299
Update Z-Wave Tests asyncio/yield from -> async/await (#18599)
cgarwood Nov 20, 2018
d9c7f77
Add cloud pref for Google unlock (#18600)
balloob Nov 20, 2018
377730a
Change channel with play_media instead of select_source (#18474)
ehendrix23 Nov 20, 2018
3b53003
Fibaro components (#18487)
pbalogh77 Nov 21, 2018
8aa2cef
Upgrade blinkpy to 0.10.3 (Fixes #18341) (#18603)
fronzbot Nov 21, 2018
36c31a6
Add permissions check in service helper (#18596)
balloob Nov 21, 2018
3cde8dc
Add support for HTTPS and basic HTTP authentication for Glances (#18608)
ludeeus Nov 21, 2018
1e3930a
Add support for Panasonic Blu-Ray players (#18541)
u1f35c Nov 21, 2018
81cac33
Update locationsharinglib requirement to 3.0.8 (#18612)
pc-coholic Nov 21, 2018
92c0f9e
Fix mqtt cover inverted (#18456)
pszafer Nov 21, 2018
708abab
Upgrade requests to 2.20.1 (#18615)
fabaff Nov 21, 2018
49121f2
Update translations
balloob Nov 21, 2018
4e58eb8
Updated frontend to 20181121.0
balloob Nov 21, 2018
fd7fff2
Version bump to 0.83.0b0
balloob Nov 21, 2018
6bcedb3
Updated frontend to 20181121.1
balloob Nov 26, 2018
cf22060
Use asyncio Lock for fibaro light (#18622)
pbalogh77 Nov 26, 2018
2f581b1
fixed wording that may confuse user (#18628)
eliseomartelli Nov 23, 2018
bb75a39
Updated webhook_register, version bump pypoint (#18635)
fredrike Nov 22, 2018
56c7c8c
Fix vol Dict -> dict (#18637)
bramkragten Nov 22, 2018
c3b76b4
Set correct default offset (#18678)
ludeeus Nov 25, 2018
f9f71c4
Bumped version to 0.83.0b1
balloob Nov 26, 2018
3a83031
Add permission checks to Rest API (#18639)
balloob Nov 25, 2018
775c909
Bumped version to 0.83.0b2
balloob Nov 27, 2018
f3047b9
Fix logbook filtering entities (#18721)
balloob Nov 26, 2018
58e0ff0
Async tests for owntracks device tracker (#18681)
emlove Nov 24, 2018
f860cac
OwnTracks Config Entry (#18759)
balloob Nov 28, 2018
311c796
Default to on if logged in (#18766)
balloob Nov 28, 2018
0591577
Bumped version to 0.83.0b3
balloob Nov 28, 2018
1364114
Bumped version to 0.83.0
balloob Nov 29, 2018
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
  •  
  •  
  •  
30 changes: 28 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ omit =
homeassistant/components/eufy.py
homeassistant/components/*/eufy.py

homeassistant/components/fibaro.py
homeassistant/components/*/fibaro.py

homeassistant/components/gc100.py
homeassistant/components/*/gc100.py

Expand Down Expand Up @@ -203,6 +206,9 @@ omit =
homeassistant/components/logi_circle.py
homeassistant/components/*/logi_circle.py

homeassistant/components/lupusec.py
homeassistant/components/*/lupusec.py

homeassistant/components/lutron.py
homeassistant/components/*/lutron.py

Expand Down Expand Up @@ -256,6 +262,10 @@ omit =
homeassistant/components/pilight.py
homeassistant/components/*/pilight.py

homeassistant/components/point/__init__.py
homeassistant/components/point/const.py
homeassistant/components/*/point.py

homeassistant/components/switch/qwikswitch.py
homeassistant/components/light/qwikswitch.py

Expand All @@ -265,7 +275,7 @@ omit =
homeassistant/components/raincloud.py
homeassistant/components/*/raincloud.py

homeassistant/components/rainmachine/*
homeassistant/components/rainmachine/__init__.py
homeassistant/components/*/rainmachine.py

homeassistant/components/raspihats.py
Expand Down Expand Up @@ -333,6 +343,9 @@ omit =
homeassistant/components/toon.py
homeassistant/components/*/toon.py

homeassistant/components/tplink_lte.py
homeassistant/components/*/tplink_lte.py

homeassistant/components/tradfri.py
homeassistant/components/*/tradfri.py

Expand Down Expand Up @@ -365,6 +378,9 @@ omit =

homeassistant/components/*/webostv.py

homeassistant/components/w800rf32.py
homeassistant/components/*/w800rf32.py

homeassistant/components/wemo.py
homeassistant/components/*/wemo.py

Expand Down Expand Up @@ -474,6 +490,7 @@ omit =
homeassistant/components/device_tracker/freebox.py
homeassistant/components/device_tracker/fritz.py
homeassistant/components/device_tracker/google_maps.py
homeassistant/components/device_tracker/googlehome.py
homeassistant/components/device_tracker/gpslogger.py
homeassistant/components/device_tracker/hitron_coda.py
homeassistant/components/device_tracker/huawei_router.py
Expand All @@ -496,6 +513,7 @@ omit =
homeassistant/components/device_tracker/tile.py
homeassistant/components/device_tracker/tomato.py
homeassistant/components/device_tracker/tplink.py
homeassistant/components/device_tracker/traccar.py
homeassistant/components/device_tracker/trackr.py
homeassistant/components/device_tracker/ubus.py
homeassistant/components/downloader.py
Expand Down Expand Up @@ -530,6 +548,7 @@ omit =
homeassistant/components/light/lw12wifi.py
homeassistant/components/light/mystrom.py
homeassistant/components/light/nanoleaf_aurora.py
homeassistant/components/light/niko_home_control.py
homeassistant/components/light/opple.py
homeassistant/components/light/osramlightify.py
homeassistant/components/light/piglow.py
Expand Down Expand Up @@ -572,7 +591,7 @@ omit =
homeassistant/components/media_player/itunes.py
homeassistant/components/media_player/kodi.py
homeassistant/components/media_player/lg_netcast.py
homeassistant/components/media_player/lg_soundbar.py
homeassistant/components/media_player/lg_soundbar.py
homeassistant/components/media_player/liveboxplaytv.py
homeassistant/components/media_player/mediaroom.py
homeassistant/components/media_player/mpchc.py
Expand All @@ -581,6 +600,7 @@ omit =
homeassistant/components/media_player/nadtcp.py
homeassistant/components/media_player/onkyo.py
homeassistant/components/media_player/openhome.py
homeassistant/components/media_player/panasonic_bluray.py
homeassistant/components/media_player/panasonic_viera.py
homeassistant/components/media_player/pandora.py
homeassistant/components/media_player/philips_js.py
Expand Down Expand Up @@ -696,6 +716,7 @@ omit =
homeassistant/components/sensor/fints.py
homeassistant/components/sensor/fitbit.py
homeassistant/components/sensor/fixer.py
homeassistant/components/sensor/flunearyou.py
homeassistant/components/sensor/folder.py
homeassistant/components/sensor/foobot.py
homeassistant/components/sensor/fritzbox_callmonitor.py
Expand All @@ -720,6 +741,7 @@ omit =
homeassistant/components/sensor/kwb.py
homeassistant/components/sensor/lacrosse.py
homeassistant/components/sensor/lastfm.py
homeassistant/components/sensor/launch_library.py
homeassistant/components/sensor/linky.py
homeassistant/components/sensor/linux_battery.py
homeassistant/components/sensor/loopenergy.py
Expand Down Expand Up @@ -763,10 +785,12 @@ omit =
homeassistant/components/sensor/rainbird.py
homeassistant/components/sensor/ripple.py
homeassistant/components/sensor/rtorrent.py
homeassistant/components/sensor/ruter.py
homeassistant/components/sensor/scrape.py
homeassistant/components/sensor/sensehat.py
homeassistant/components/sensor/serial_pm.py
homeassistant/components/sensor/serial.py
homeassistant/components/sensor/seventeentrack.py
homeassistant/components/sensor/sht31.py
homeassistant/components/sensor/shodan.py
homeassistant/components/sensor/sigfox.py
Expand All @@ -786,9 +810,11 @@ omit =
homeassistant/components/sensor/swiss_public_transport.py
homeassistant/components/sensor/syncthru.py
homeassistant/components/sensor/synologydsm.py
homeassistant/components/sensor/srp_energy.py
homeassistant/components/sensor/systemmonitor.py
homeassistant/components/sensor/sytadin.py
homeassistant/components/sensor/tank_utility.py
homeassistant/components/sensor/tautulli.py
homeassistant/components/sensor/ted5000.py
homeassistant/components/sensor/temper.py
homeassistant/components/sensor/thermoworks_smoke.py
Expand Down
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [ ] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [home-assistant.io](https://github.com/home-assistant/home-assistant.io)
Expand Down
5 changes: 4 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ homeassistant/components/sensor/darksky.py @fabaff
homeassistant/components/sensor/file.py @fabaff
homeassistant/components/sensor/filter.py @dgomes
homeassistant/components/sensor/fixer.py @fabaff
homeassistant/components/sensor/flunearyou.py.py @bachya
homeassistant/components/sensor/gearbest.py @HerrHofrat
homeassistant/components/sensor/gitter.py @fabaff
homeassistant/components/sensor/glances.py @fabaff
homeassistant/components/sensor/gpsd.py @fabaff
homeassistant/components/sensor/irish_rail_transport.py @ttroy50
homeassistant/components/sensor/jewish_calendar.py @tsvi
homeassistant/components/sensor/linux_battery.py @fabaff
homeassistant/components/sensor/luftdaten.py @fabaff
homeassistant/components/sensor/miflora.py @danielhiversen @ChristianKuehnel
homeassistant/components/sensor/min_max.py @fabaff
homeassistant/components/sensor/moon.py @fabaff
Expand All @@ -121,6 +121,7 @@ homeassistant/components/sensor/pvoutput.py @fabaff
homeassistant/components/sensor/qnap.py @colinodell
homeassistant/components/sensor/scrape.py @fabaff
homeassistant/components/sensor/serial.py @fabaff
homeassistant/components/sensor/seventeentrack.py @bachya
homeassistant/components/sensor/shodan.py @fabaff
homeassistant/components/sensor/sma.py @kellerza
homeassistant/components/sensor/sql.py @dgomes
Expand Down Expand Up @@ -189,6 +190,8 @@ homeassistant/components/*/konnected.py @heythisisnate
# L
homeassistant/components/lifx.py @amelchio
homeassistant/components/*/lifx.py @amelchio
homeassistant/components/luftdaten/* @fabaff
homeassistant/components/*/luftdaten.py @fabaff

# M
homeassistant/components/matrix.py @tinloaf
Expand Down
25 changes: 21 additions & 4 deletions homeassistant/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from homeassistant.util import dt as dt_util

from . import auth_store, models
from .const import GROUP_ID_ADMIN
from .mfa_modules import auth_mfa_module_from_config, MultiFactorAuthModule
from .providers import auth_provider_from_config, AuthProvider, LoginFlow

Expand Down Expand Up @@ -117,6 +118,10 @@ async def async_get_user(self, user_id: str) -> Optional[models.User]:
"""Retrieve a user."""
return await self._store.async_get_user(user_id)

async def async_get_group(self, group_id: str) -> Optional[models.Group]:
"""Retrieve all groups."""
return await self._store.async_get_group(group_id)

async def async_get_user_by_credentials(
self, credentials: models.Credentials) -> Optional[models.User]:
"""Get a user by credential, return None if not found."""
Expand All @@ -127,13 +132,15 @@ async def async_get_user_by_credentials(

return None

async def async_create_system_user(self, name: str) -> models.User:
async def async_create_system_user(
self, name: str,
group_ids: Optional[List[str]] = None) -> models.User:
"""Create a system user."""
user = await self._store.async_create_user(
name=name,
system_generated=True,
is_active=True,
groups=[],
group_ids=group_ids or [],
)

self.hass.bus.async_fire(EVENT_USER_ADDED, {
Expand All @@ -144,11 +151,10 @@ async def async_create_system_user(self, name: str) -> models.User:

async def async_create_user(self, name: str) -> models.User:
"""Create a user."""
group = (await self._store.async_get_groups())[0]
kwargs = {
'name': name,
'is_active': True,
'groups': [group]
'group_ids': [GROUP_ID_ADMIN]
} # type: Dict[str, Any]

if await self._user_should_be_owner():
Expand Down Expand Up @@ -213,6 +219,17 @@ async def async_remove_user(self, user: models.User) -> None:
'user_id': user.id
})

async def async_update_user(self, user: models.User,
name: Optional[str] = None,
group_ids: Optional[List[str]] = None) -> None:
"""Update a user."""
kwargs = {} # type: Dict[str,Any]
if name is not None:
kwargs['name'] = name
if group_ids is not None:
kwargs['group_ids'] = group_ids
await self._store.async_update_user(user, **kwargs)

async def async_activate_user(self, user: models.User) -> None:
"""Activate a user."""
await self._store.async_activate_user(user)
Expand Down
Loading