Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit for NAD D 7050 component #6882

Closed
wants to merge 428 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
428 commits
Select commit Hold shift + click to select a range
2c1df75
Switch russound, pymysensors, and pocketcasts to pypi (#7449)
andrey-git May 7, 2017
47034f8
Upgrade pymysensors to 0.10.0 (#7469)
MartinHjelmare May 7, 2017
e8a3375
Capitalize group names in demo
balloob May 7, 2017
ea095de
Demo: Update old group member thermostat.ecobee -> climate
balloob May 7, 2017
305309a
Upgrade Dockerfile to Python 3.6 (#7471)
balloob May 7, 2017
aa63398
Test only dependencies (#7472)
balloob May 7, 2017
41212b9
Update to pyunifi 2.12 (#7468)
finish06 May 7, 2017
79ca476
Update requirements_test_all.txt
balloob May 7, 2017
c525ee9
Make this an error instead of an info
robbiet480 May 7, 2017
9440ff8
Remove listening to homeassistant_start with event automation (#7474)
balloob May 7, 2017
c1056ea
Fix plant MIN_TEMPERATURE, MAX_TEMPERATURE validation (#7476)
frog32 May 7, 2017
00ec50d
Update frontend
balloob May 7, 2017
1ba4435
repairing functionality for non-zero based ranges
cribbstechnologies May 1, 2017
0c94df9
fixing documentation
cribbstechnologies May 1, 2017
9b920b3
fixing nits
cribbstechnologies May 2, 2017
fcdfebe
Forecasts for weather underground (#7062)
pezinek May 6, 2017
2ab4544
Upgrade pymysensors to 0.10.0 (#7469)
MartinHjelmare May 7, 2017
f87b9b7
Fix plant MIN_TEMPERATURE, MAX_TEMPERATURE validation (#7476)
frog32 May 7, 2017
4165629
Update to pyunifi 2.12 (#7468)
finish06 May 7, 2017
5d13f36
Merge pull request #7482 from home-assistant/release-0-44-1
balloob May 7, 2017
ab9c394
Version bump to 0.44.1
balloob May 7, 2017
5717c87
Update tox.ini
balloob May 7, 2017
bafc04c
Update tox.ini
balloob May 7, 2017
e1d1385
Fix travis
balloob May 7, 2017
66cbdc3
Uses pypi for deps (#7485)
gurumitts May 8, 2017
12293d6
0.44.2 (#7488)
balloob May 8, 2017
86b34b4
LIFX: avoid out-of-bounds hue aborting the colorloop effect (#7495)
amelchio May 8, 2017
d7e3962
Upgrade async_timeout to 1.2.1 (#7490)
fabaff May 8, 2017
ce879b7
Prevent printing of packets. (#7492)
May 8, 2017
c12c742
Upgrade beautifulsoup4 to 4.6.0 (#7491)
fabaff May 8, 2017
1cd51bc
Switch onkyo to pypi (#7497)
andrey-git May 9, 2017
419d97f
Fixed potential AttributeError when checking for deleted sources (#7502)
scarface-4711 May 9, 2017
40d27cd
Refactor sun component for correctness (#7295)
emlove May 9, 2017
5cb3382
new source only forces "play" if the current state is "playing" (#7506)
abmantis May 9, 2017
b34c583
Correct retrieval of spotify shuffle state (#7505)
andersonshatch May 9, 2017
d86dfb6
Fix sonos sleep timer (#7503)
frog32 May 9, 2017
5d820ec
Add support for automation config panel (#7509)
balloob May 10, 2017
1eaec8f
Zwave panel api (#7456)
turbokongen May 10, 2017
4329606
Update docker dev environment to python3.6 (#7520)
frog32 May 10, 2017
f4915dd
Switch basicmodem and python-roku to pypi (#7514)
andrey-git May 10, 2017
1312ee0
sensor.envirophat: do not set up platform if hardware is not attached…
imrehg May 10, 2017
b30c352
Telegram Bot enhancements with callback queries and new notification …
azogue May 10, 2017
89d950c
Add password parameter to uvc component (#7499)
nunofgs May 10, 2017
2161995
Don't interact with hass directly (#7099)
fabaff May 10, 2017
85e71fc
Support for the PiFace Digital I/O module (#7494)
basschipper May 10, 2017
6e6a000
Upgrade limitlessled to 1.0.7 (#7525)
corneyl May 10, 2017
71b4afb
Update docstrings and log messages (#7526)
fabaff May 10, 2017
8c90fd1
Try to request current_location Automatic scope (#7447)
emlove May 10, 2017
3bdf77a
Add myStrom binary sensor (#7530)
fabaff May 10, 2017
8cdadd2
Add not-context-manager (#7523)
fabaff May 11, 2017
2c8f6a0
Threadsafe configurator (#7536)
Kane610 May 11, 2017
ef4587f
Fix for #7459 (#7544)
deftdawg May 11, 2017
966bda0
Upgrade sendgrid to 4.1.0 (#7538)
fabaff May 11, 2017
04f1054
Automatic version bump (#7555)
emlove May 11, 2017
0e41342
Upgrade dweepy to 0.3.0 (#7550)
fabaff May 11, 2017
0e24605
Add SSL support to NZBGet sensor (#7553)
tboyce021 May 11, 2017
76675a5
Do not install all dependencies in dev mode (#7548)
balloob May 12, 2017
b805d8a
Hide proximity updates in logbook (#7549)
emlove May 12, 2017
8da10f6
Only install tox in dev mode (#7557)
balloob May 12, 2017
452c3a1
Support adding different server locations for Microsoft face componen…
tsvi May 12, 2017
5b3ef0f
Treat swing and fan level as optional in Sensibo Climate. (#7560)
andrey-git May 12, 2017
416b8e0
Axis component (#7381)
Kane610 May 12, 2017
1ab7103
LIFX: add lifx_set_state service call (#7552)
amelchio May 12, 2017
a96a98a
Add raspihats binary sensor (#7508)
florincosta May 12, 2017
fdb7371
update pywebpush to 1.0.0 (#7561)
perosb May 12, 2017
4a3048b
Initialize sun with correct values. (#7559)
May 12, 2017
ed0ec61
Comment RasPi specific requirements (#7562)
bjw-s May 13, 2017
f0ce6c8
Update netdisco (#7563)
balloob May 13, 2017
11a3dc2
Support lutron serena shades (#7565)
gurumitts May 13, 2017
c118be6
Tests for zwave discovery logic (#7566)
emlove May 13, 2017
1890238
Tests for zwave setup features (#7570)
emlove May 13, 2017
25cb7c6
Blink version bump (#7571)
fronzbot May 13, 2017
ad15844
Fix systematic warning in influxdb sensor (#7541)
bestlibre May 13, 2017
4cdf0b4
Fix Kodi specific services registry and add descriptions (#7551)
azogue May 13, 2017
9c4bc2a
Add Kira component to sensor and remote platforms (#7479)
stu-gott May 13, 2017
cfea4b1
Add tests for zwave network events (#7573)
emlove May 13, 2017
cfbbade
Additional Wink lock features (#7445)
May 13, 2017
206d02d
Websocket_api: avoid parallel drain (#7576)
balloob May 13, 2017
352cca1
Remove more test requirements (#7574)
balloob May 14, 2017
e1a4d51
camera.zoneminder: Handle old versions of zoneminder (#7589)
mnoorenberghe May 14, 2017
6d245c4
Pass additional arguments to tox in test_docker (#7591)
frog32 May 15, 2017
36d7fe7
Fix websocket api reaching queue (#7590)
balloob May 15, 2017
d030419
SMTP notify enhancements: full HTML emails and custom `product_name` …
azogue May 15, 2017
e2e58e6
Automation State Change For timer attribute fix (#7584)
emlove May 15, 2017
5c4a21e
Add posibility to specify snmp protocol version (#7564)
jhemzal May 15, 2017
4da91d6
Add sonos alarm clock update service (#7521)
frog32 May 15, 2017
a1dc35f
Fix handling of single user (#7587)
mezz64 May 15, 2017
f25347d
File sensor (#7569)
fabaff May 15, 2017
d6081f3
Make miflora monitored_conditions parameter optional (#7598)
frog32 May 16, 2017
d5ca6a5
Force automation ids to always be a string (#7612)
balloob May 16, 2017
641ba01
Update frontend
balloob May 16, 2017
a7f9339
Update Docker base image to python 3.6 (#7613)
pschmitt May 16, 2017
71ed17b
Add Content-type: image/jpeg for camera proxy (#7581)
olekenneth May 16, 2017
1fafa34
Fix typo and update style to match the other platforms (#7621)
fabaff May 16, 2017
9dcc0b5
Bump pyvera - fixes issue with % in brightness levels. (#7622)
pavoni May 17, 2017
ed5f94f
Add kelvin/brightness_pct alternatives to light.turn_on (#7596)
amelchio May 17, 2017
d2ed3a1
Add support for disabling tradfri groups (#7593)
cnrd May 17, 2017
f0b2a6d
Update docstrings and comments (#7626)
fabaff May 17, 2017
3b69de8
Upgrade Sphinx to 1.6.1 (#7624)
fabaff May 17, 2017
0e9728d
Update docstrings (#7630)
fabaff May 17, 2017
f7d2539
Kodi specific service to call Kodi API methods (#7603)
azogue May 17, 2017
76b747e
Updated limitlessled requirement to v1.0.8 (#7629)
corneyl May 17, 2017
f3b9e1e
Osram lightify Removed wrong assignment (#7615)
commento May 17, 2017
a24aebd
Updated dependency (#7638)
danielperna84 May 17, 2017
f86edd4
Seven segments OCR image processing (#7632)
fabaff May 17, 2017
a068efc
Abort tests when instances leaked (#7623)
balloob May 17, 2017
3d4b243
Coerce color_temp to int even when passed in as kelvin (#7640)
amelchio May 18, 2017
e773133
Fix automation failing to setup if no automations specified (#7647)
balloob May 18, 2017
6d97546
Update frontend
balloob May 18, 2017
de999d8
Merge remote-tracking branch 'origin/master' into dev
balloob May 18, 2017
eb47360
Version bump to 0.45
balloob May 18, 2017
fc0c854
Version bump to 0.46.0.dev0
balloob May 18, 2017
0eb6540
Align with OpenALPR platform for naming conf variables (#7650)
fabaff May 18, 2017
0fd415d
Added support to Amcrest camera to feed using RTSP via ffmpeg (#7646)
tchellomello May 18, 2017
238921b
bump fedex version (#7653)
happyleavesaoc May 18, 2017
f65cc68
bump ups version (#7654)
happyleavesaoc May 18, 2017
e479324
update usps (#7655)
happyleavesaoc May 19, 2017
88ffe39
Final tweaks for Zwave panel (#7652)
turbokongen May 19, 2017
e91fe94
Update frontend
balloob May 19, 2017
6662b7f
Update frontend
balloob May 19, 2017
4a3d9a9
Final tweaks for Zwave panel (#7652)
turbokongen May 19, 2017
7daa922
Add network_key as a config option (#7637)
robbiet480 May 19, 2017
c4da921
Add network_key as a config option (#7637)
robbiet480 May 19, 2017
5aa7256
Bugfix #7586 (#7661)
turbokongen May 19, 2017
d369d70
Fix tests (#7659)
balloob May 19, 2017
b5c5486
Change line endings to LN (#7660)
fabaff May 19, 2017
9e15311
Point pylutron to pypi (#7664)
thecynic May 20, 2017
f637a07
Update frontend
balloob May 20, 2017
de85d38
Update frontend
balloob May 20, 2017
adde9e6
Upgrade Openhome library (#7671)
May 20, 2017
81f0826
Ignore attribute changes in automation trigger from/to (#7651)
amelchio May 20, 2017
44edf3e
Switch pymodbus to pypi (#7677)
andrey-git May 20, 2017
45b4ef4
Align with OpenALPR platform for naming conf variables (#7650)
fabaff May 18, 2017
23c5fc0
Bugfix #7586 (#7661)
turbokongen May 19, 2017
943958b
Added support to Amcrest camera to feed using RTSP via ffmpeg (#7646)
tchellomello May 18, 2017
70ea16b
Merge pull request #7648 from home-assistant/release-0-45
fabaff May 20, 2017
ceff998
Merge branch 'master' into dev
fabaff May 20, 2017
3492545
Update state automation to work with new and deleted state changes
balloob May 21, 2017
d6f43ba
Version bump to 0.45.1
balloob May 21, 2017
24b7fd3
zoneminder: fix incorrect use of logging.exception. (#7675)
tobygray May 21, 2017
9270247
Zwave: Apply refresh_node workaround on 1st instance only (#7579)
andrey-git May 21, 2017
1710862
Guard against new and removed state change events (#7687)
balloob May 21, 2017
4a0d6e7
ZWave: Add reset service to meters (#7676)
turbokongen May 21, 2017
8c1181f
Remove defunct INSTALL_OPENZWAVE from Dockerfile (#7697)
emlove May 22, 2017
922303f
Fix telegram chats (#7689)
azogue May 22, 2017
b3cb057
Fix playback control of web streams (#7683)
cgtobi May 22, 2017
bb8de58
Sort entities in default groups by name (#7681)
amelchio May 22, 2017
99ea1e3
Continue tracking device over dhcp lease table if wireless adapter no…
LvivEchoes May 22, 2017
ca3f07c
device_tracker.ubus: Handle empty results (#7673)
tobygray May 22, 2017
d5642a5
Bump pyEight version (#7701)
mezz64 May 22, 2017
47355ee
Upgrade python-telegram-bot to 6.0.1 (#7704)
fabaff May 22, 2017
783abc7
Make 'sender' as requirement for the config (fixes #7698) (#7706)
fabaff May 22, 2017
17cbe0c
Allow fetching hass.io panel without auth (#7714)
balloob May 22, 2017
a9926e3
Fix telegram chats (#7689)
azogue May 22, 2017
3fb691e
Fix playback control of web streams (#7683)
cgtobi May 22, 2017
dc4b069
device_tracker.ubus: Handle empty results (#7673)
tobygray May 22, 2017
cdc8628
Allow fetching hass.io panel without auth (#7714)
balloob May 22, 2017
6d183e8
Merge pull request #7686 from home-assistant/release-0-45-1
balloob May 22, 2017
6872daa
update apcacccess used in apcupsd to 0.0.10, which fixes random file …
infamy May 23, 2017
2682996
Constrain requests to a version (#7725)
balloob May 23, 2017
c556b61
Asuswrt continuous ssh (#7728)
aronsky May 23, 2017
228fb8c
Ensure https base_url in telegram bot (#7726)
bzillins May 23, 2017
f3dabe2
Prevent the random template filter from caching its output. Fixes #56…
antsar May 23, 2017
be53cc7
Don't initialize mqtt components which have already been discovered (…
nordeep May 23, 2017
fce09f6
LIFX: disable color features for white-only bulbs (#7742)
amelchio May 23, 2017
7055fdd
Don't block startup more than 60 seconds while waiting for components…
antsar May 23, 2017
b5f20c9
Always return rgb color of bulbs (#7743)
May 23, 2017
e3307fb
Redesign monitored variables for hp_ilo sensor (#7534)
bjw-s May 23, 2017
54c45f8
Fix time_date sensor to update at predictable intervals (#7644)
stu-gott May 23, 2017
3638b21
Added new commands and functionality to the harmony remote component.…
everix1992 May 24, 2017
ef4ef2d
Template light (#7657)
cribbstechnologies May 24, 2017
e7d783c
Update links.html
balloob May 24, 2017
775d45a
Exclude filter for event types (#7627)
amigian74 May 24, 2017
0abde3a
Change setup script to use pip install instead of setup.py develop (#…
hoh May 24, 2017
0c7f8e9
Merge branch 'master' into dev
balloob May 25, 2017
3a843e1
Add icons to device tracker. (#7759)
antsar May 25, 2017
65c3201
Rename of the zwave hass.data constants (#7768)
emlove May 26, 2017
81aaeaa
Get rid of mock http component app (#7775)
balloob May 26, 2017
d0c9d6b
Remove usage of event_loop fixture (#7776)
balloob May 26, 2017
6899c7b
assertEquals is deprecated (#7777)
balloob May 26, 2017
9e9705d
Support for GE Zwave fan controller (#7767)
emlove May 26, 2017
f43db3c
Replace executor with async_add_job (#7658)
balloob May 26, 2017
910020b
Fix Telegram Bot send file to multiple targets, snapshots of HA camer…
azogue May 26, 2017
e68bd04
Fix more deprecation warnings (#7778)
balloob May 26, 2017
7fb5488
Powerview to async (#7682)
sander76 May 26, 2017
10367eb
Fix home/stay in concord232 (#7789)
CTLS May 28, 2017
1f3bb51
Add Marantz SSDP discovery / Detect error string in AppCommand.xml bo…
scarface-4711 May 29, 2017
010f098
Upgrade Sphinx to 1.6.2 (#7805)
fabaff May 29, 2017
8b7894f
Upgrade slacker to 0.9.50 (#7797)
fabaff May 29, 2017
ef51d85
Bump pyenvisalink to version 2.1 (#7803)
Cinntax May 29, 2017
c12b8f7
Upgrade pysnmp to 4.3.6 (#7806)
fabaff May 29, 2017
fc1bb58
Rachio (Sprinklers) (#7600)
Klikini May 29, 2017
eff619a
Rest notify data (#7757)
Teagan42 May 29, 2017
8fcc750
Added handling of an AssertionError from pxssh failed login (#7750)
aronsky May 29, 2017
ba44b7e
Upgrade sqlalchemy to 1.1.10 (#7807)
fabaff May 29, 2017
a7277db
Upgrade mypy to 0.511 (#7809)
fabaff May 29, 2017
5e5c0da
Allow configuring DSMR5 protocol. (#7535)
May 29, 2017
f7e0d13
Telegram send image: fix mimetype detection (#7802)
azogue May 29, 2017
81b2111
Bump aiohttp to 2.1.0 (#7825)
mezz64 May 30, 2017
2df6aab
Cleanup telegram / Add url to webhook (#7824)
pvizeli May 30, 2017
1c4e097
Upgrade pysnmp to 4.3.7 (#7828)
fabaff May 30, 2017
91806bf
Flux led fix (#7829)
Danielhiversen May 30, 2017
96b20b3
update snapcast media player (#7079)
happyleavesaoc May 30, 2017
0ccaf97
Update docstrings and log messages (#7709)
fabaff May 30, 2017
052cd3f
Upgrade PyMVGLive to 1.1.4 (#7832)
fabaff May 30, 2017
8ee32a8
Added persistent error message if cover.myq fails to load (#7700)
tchellomello May 30, 2017
9f5bfe2
Add initial benchmark framework (#7827)
balloob May 31, 2017
bb92ef5
Downgrade Docker to Python 3.5 to solve Segmentation Faults (#7799)
philhawthorne May 31, 2017
9762e16
Introduced support to Netgear Arlo Cameras (#7826)
tchellomello May 31, 2017
66d6f51
Allow 'base_url' (fixes #7784) (#7796)
fabaff May 31, 2017
e0712ba
Expose the node name on the zwave node entity (#7787)
emlove Jun 2, 2017
4bcbeef
Bumped pyhomematic version (#7861)
danielperna84 Jun 2, 2017
cf42303
Rename time trigger 'after' to 'at' (#7846)
emlove Jun 2, 2017
beb8c05
Use expected behvaior for above/below (#7857)
emlove Jun 2, 2017
2065426
log time delay of domain setup in info level (#7808)
azogue Jun 2, 2017
1b5f6aa
Optimize history_stats efficiency and database usage (#7858)
bokub Jun 2, 2017
9480f41
dont use default for switch name, so that the object id is used (#7845)
abmantis Jun 2, 2017
e2cfdbf
Disallow ambiguous color descriptors in the light.turn_on schema (#7765)
amelchio Jun 2, 2017
d0021a6
Make monkey patch work in Python 3.6 (#7848)
balloob Jun 2, 2017
3a92bd7
fix permissions issue for Insteon Local #6558 (#7860)
craigjmidwinter Jun 2, 2017
78887c5
Start of migration framework, to allow moving of files in the config …
infamy Jun 2, 2017
cefacf9
Spotify aliases (#7702)
Teagan42 Jun 2, 2017
613da30
Query in InfluxDB sensor is now templatable (#7634)
titilambert Jun 2, 2017
1855f1a
fix for https://github.com/home-assistant/home-assistant/issues/7019 …
molobrakos Jun 2, 2017
12607ae
Check if media commands are actually applicable (#7595)
bjw-s Jun 2, 2017
2b70b18
Quickfix Bug #7384 (#7582)
DavidLP Jun 2, 2017
d472d81
Align switch group handling with light. (#7577)
Jun 2, 2017
4163bce
Update netdisco (#7865)
balloob Jun 2, 2017
f056cbc
Update frontend
balloob Jun 2, 2017
e39bdf8
Version bump to 0.47.0dev0
balloob Jun 2, 2017
e11ec88
Update squeezebox.py (#7617)
molobrakos Jun 2, 2017
7d4adbb
Fix html5 unsub (#7874)
balloob Jun 3, 2017
7d24efc
Added effects to Yeelight bulbs (#7152)
Mister-Espria Jun 3, 2017
6d41024
Enocean Binary Sensor: Handle click of both rockers (#7770)
twendt Jun 3, 2017
9c9f506
Support for renaming ZWave values (#7780)
emlove Jun 3, 2017
8461cf2
Fix telegram_bot (#7877)
balloob Jun 3, 2017
423e809
[light.lifx] Update aiolifx (#7882)
amelchio Jun 3, 2017
e50588a
Change nad_receiver to pypi (#7852)
joopert Jun 3, 2017
3d8b7a4
Switch pymyq to pypi (#7884)
andrey-git Jun 3, 2017
cf1a27b
Use constants (#7888)
fabaff Jun 3, 2017
1432ae6
Upgrade pyasn1-modules to 0.0.9 (#7887)
fabaff Jun 3, 2017
a745bf8
Upgrade sendgrid to 4.2.0 (#7886)
fabaff Jun 3, 2017
c07bf55
Upgrade python-telegram-bot to 6.0.3 (#7885)
fabaff Jun 3, 2017
84fe4f7
Fix MQTT camera test (#7878)
balloob Jun 4, 2017
a1c119a
Added a Taps Aff binary sensor (#7880)
Jun 4, 2017
1cc1cf4
Initial commit for NAD D 7050 component
Apr 1, 2017
06c3f98
corrected lint errors
Apr 1, 2017
0700e2e
fixed logging-not-lazy check
Apr 3, 2017
fe0807a
Fix for Travis errors
Jun 4, 2017
b88d9d4
Merge remote-tracking branch 'origin/nad-d-7050-component' into nad-d…
Jun 4, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 38 additions & 0 deletions .coveragerc
Expand Up @@ -20,6 +20,12 @@ omit =
homeassistant/components/android_ip_webcam.py
homeassistant/components/*/android_ip_webcam.py

homeassistant/components/arlo.py
homeassistant/components/*/arlo.py

homeassistant/components/axis.py
homeassistant/components/*/axis.py

homeassistant/components/bbb_gpio.py
homeassistant/components/*/bbb_gpio.py

Expand Down Expand Up @@ -59,6 +65,9 @@ omit =
homeassistant/components/isy994.py
homeassistant/components/*/isy994.py

homeassistant/components/kira.py
homeassistant/components/*/kira.py

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

Expand All @@ -77,15 +86,27 @@ omit =
homeassistant/components/octoprint.py
homeassistant/components/*/octoprint.py

homeassistant/components/opencv.py
homeassistant/components/*/opencv.py

homeassistant/components/qwikswitch.py
homeassistant/components/*/qwikswitch.py

homeassistant/components/rachio.py
homeassistant/components/*/rachio.py

homeassistant/components/raspihats.py
homeassistant/components/*/raspihats.py

homeassistant/components/rfxtrx.py
homeassistant/components/*/rfxtrx.py

homeassistant/components/rpi_gpio.py
homeassistant/components/*/rpi_gpio.py

homeassistant/components/rpi_pfio.py
homeassistant/components/*/rpi_pfio.py

homeassistant/components/scsgate.py
homeassistant/components/*/scsgate.py

Expand Down Expand Up @@ -158,6 +179,9 @@ omit =
homeassistant/components/zha/const.py
homeassistant/components/*/zha.py

homeassistant/components/eight_sleep.py
homeassistant/components/*/eight_sleep.py

homeassistant/components/alarm_control_panel/alarmdotcom.py
homeassistant/components/alarm_control_panel/concord232.py
homeassistant/components/alarm_control_panel/nx584.py
Expand All @@ -169,8 +193,11 @@ omit =
homeassistant/components/binary_sensor/flic.py
homeassistant/components/binary_sensor/hikvision.py
homeassistant/components/binary_sensor/iss.py
homeassistant/components/binary_sensor/mystrom.py
homeassistant/components/binary_sensor/pilight.py
homeassistant/components/binary_sensor/ping.py
homeassistant/components/binary_sensor/rest.py
homeassistant/components/binary_sensor/tapsaff.py
homeassistant/components/browser.py
homeassistant/components/camera/amcrest.py
homeassistant/components/camera/bloomsky.py
Expand All @@ -186,15 +213,18 @@ omit =
homeassistant/components/climate/oem.py
homeassistant/components/climate/proliphix.py
homeassistant/components/climate/radiotherm.py
homeassistant/components/climate/sensibo.py
homeassistant/components/cover/garadget.py
homeassistant/components/cover/homematic.py
homeassistant/components/cover/myq.py
homeassistant/components/cover/opengarage.py
homeassistant/components/cover/rpi_gpio.py
homeassistant/components/cover/scsgate.py
homeassistant/components/cover/wink.py
homeassistant/components/device_tracker/actiontec.py
homeassistant/components/device_tracker/aruba.py
homeassistant/components/device_tracker/asuswrt.py
homeassistant/components/device_tracker/automatic.py
homeassistant/components/device_tracker/bbox.py
homeassistant/components/device_tracker/bluetooth_le_tracker.py
homeassistant/components/device_tracker/bluetooth_tracker.py
Expand All @@ -205,6 +235,7 @@ omit =
homeassistant/components/device_tracker/icloud.py
homeassistant/components/device_tracker/linksys_ap.py
homeassistant/components/device_tracker/luci.py
homeassistant/components/device_tracker/mikrotik.py
homeassistant/components/device_tracker/netgear.py
homeassistant/components/device_tracker/nmap_tracker.py
homeassistant/components/device_tracker/ping.py
Expand All @@ -226,10 +257,14 @@ omit =
homeassistant/components/foursquare.py
homeassistant/components/hdmi_cec.py
homeassistant/components/ifttt.py
homeassistant/components/image_processing/dlib_face_detect.py
homeassistant/components/image_processing/dlib_face_identify.py
homeassistant/components/image_processing/seven_segments.py
homeassistant/components/joaoapps_join.py
homeassistant/components/keyboard.py
homeassistant/components/keyboard_remote.py
homeassistant/components/light/avion.py
homeassistant/components/light/blinkt.py
homeassistant/components/light/blinksticklight.py
homeassistant/components/light/decora.py
homeassistant/components/light/flux_led.py
Expand All @@ -242,6 +277,7 @@ omit =
homeassistant/components/light/osramlightify.py
homeassistant/components/light/rpi_gpio_pwm.py
homeassistant/components/light/piglow.py
homeassistant/components/light/sensehat.py
homeassistant/components/light/tikteck.py
homeassistant/components/light/tradfri.py
homeassistant/components/light/x10.py
Expand Down Expand Up @@ -275,6 +311,7 @@ omit =
homeassistant/components/media_player/mpchc.py
homeassistant/components/media_player/mpd.py
homeassistant/components/media_player/nad.py
homeassistant/components/media_player/nad7050.py
homeassistant/components/media_player/onkyo.py
homeassistant/components/media_player/openhome.py
homeassistant/components/media_player/panasonic_viera.py
Expand Down Expand Up @@ -355,6 +392,7 @@ omit =
homeassistant/components/sensor/eddystone_temperature.py
homeassistant/components/sensor/eliqonline.py
homeassistant/components/sensor/emoncms.py
homeassistant/components/sensor/envirophat.py
homeassistant/components/sensor/fastdotcom.py
homeassistant/components/sensor/fedex.py
homeassistant/components/sensor/fido.py
Expand Down
14 changes: 9 additions & 5 deletions .travis.yml
@@ -1,13 +1,15 @@
sudo: false
addons:
apt:
packages:
- libudev-dev
matrix:
fast_finish: true
include:
- python: "3.4.2"
env: TOXENV=py34
- python: "3.4.2"
env: TOXENV=requirements
- python: "3.4.2"
env: TOXENV=lint
- python: "3.4.2"
env: TOXENV=py34
# - python: "3.5"
# env: TOXENV=typing
- python: "3.5"
Expand All @@ -16,6 +18,8 @@ matrix:
env: TOXENV=py36
- python: "3.6-dev"
env: TOXENV=py36
- python: "3.4.2"
env: TOXENV=requirements
# allow_failures:
# - python: "3.5"
# env: TOXENV=typing
Expand All @@ -25,5 +29,5 @@ cache:
- $HOME/.cache/pip
install: pip install -U tox coveralls
language: python
script: tox
script: travis_wait tox
after_success: coveralls
5 changes: 2 additions & 3 deletions Dockerfile
@@ -1,11 +1,10 @@
FROM python:3.5
FROM python:3.6
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>

# Uncomment any of the following lines to disable the installation.
#ENV INSTALL_TELLSTICK no
#ENV INSTALL_OPENALPR no
#ENV INSTALL_FFMPEG no
#ENV INSTALL_OPENZWAVE no
#ENV INSTALL_LIBCEC no
#ENV INSTALL_PHANTOMJS no
#ENV INSTALL_COAP_CLIENT no
Expand All @@ -27,4 +26,4 @@ RUN pip3 install --no-cache-dir -r requirements_all.txt && \
# Copy source
COPY . .

CMD [ "python", "-m", "homeassistant", "--config", "/config" ]
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]
10 changes: 4 additions & 6 deletions docs/source/_templates/links.html
@@ -1,8 +1,6 @@
<ul>
<li><a href="https://community.home-assistant.io">📌 Community Forums</a></li>
<li><a href="https://github.com/home-assistant/home-assistant">🚀 GitHub</a></li>
<li><a href="https://home-assistant.io/">🏡 Homepage</a></li>
<li><a href="https://gitter.im/home-assistant/home-assistant">💬 Gitter</a></li>
<li><a href="https://pypi.python.org/pypi/homeassistant">💾 Download Releases</a></li>
<li><a href="https://home-assistant.io/">Homepage</a></li>
<li><a href="https://community.home-assistant.io">Community Forums</a></li>
<li><a href="https://github.com/home-assistant/home-assistant">GitHub</a></li>
<li><a href="https://gitter.im/home-assistant/home-assistant">Gitter</a></li>
</ul>
<hr>
16 changes: 13 additions & 3 deletions homeassistant/__main__.py
@@ -1,4 +1,4 @@
"""Starts home assistant."""
"""Start Home Assistant."""
from __future__ import print_function

import argparse
Expand All @@ -10,14 +10,14 @@

from typing import Optional, List

from homeassistant import monkey_patch
from homeassistant.const import (
__version__,
EVENT_HOMEASSISTANT_START,
REQUIRED_PYTHON_VER,
REQUIRED_PYTHON_VER_WIN,
RESTART_EXIT_CODE,
)
from homeassistant.util.async import run_callback_threadsafe


def attempt_use_uvloop():
Expand Down Expand Up @@ -277,7 +277,7 @@ def cmdline() -> List[str]:

def setup_and_run_hass(config_dir: str,
args: argparse.Namespace) -> Optional[int]:
"""Setup HASS and run."""
"""Set up HASS and run."""
from homeassistant import bootstrap

# Run a simple daemon runner process on Windows to handle restarts
Expand Down Expand Up @@ -310,6 +310,9 @@ def setup_and_run_hass(config_dir: str,
return None

if args.open_ui:
# Imported here to avoid importing asyncio before monkey patch
from homeassistant.util.async import run_callback_threadsafe

def open_browser(event):
"""Open the webinterface in a browser."""
if hass.config.api is not None:
Expand Down Expand Up @@ -371,6 +374,13 @@ def main() -> int:
"""Start Home Assistant."""
validate_python()

if os.environ.get('HASS_MONKEYPATCH_ASYNCIO') == '1':
if sys.version_info[:3] >= (3, 6):
monkey_patch.disable_c_asyncio()
monkey_patch.patch_weakref_tasks()
elif sys.version_info[:3] < (3, 5, 3):
monkey_patch.patch_weakref_tasks()

attempt_use_uvloop()

if sys.version_info[:3] < (3, 5, 3):
Expand Down
28 changes: 13 additions & 15 deletions homeassistant/bootstrap.py
@@ -1,4 +1,4 @@
"""Provides methods to bootstrap a home assistant instance."""
"""Provide methods to bootstrap a Home Assistant instance."""
import asyncio
import logging
import logging.handlers
Expand Down Expand Up @@ -83,8 +83,7 @@ def async_from_config_dict(config: Dict[str, Any],
conf_util.async_log_exception(ex, 'homeassistant', core_config, hass)
return None

yield from hass.loop.run_in_executor(
None, conf_util.process_ha_config_upgrade, hass)
yield from hass.async_add_job(conf_util.process_ha_config_upgrade, hass)

if enable_log:
async_enable_logging(hass, verbose, log_rotate_days)
Expand All @@ -95,7 +94,7 @@ def async_from_config_dict(config: Dict[str, Any],
'This may cause issues.')

if not loader.PREPARED:
yield from hass.loop.run_in_executor(None, loader.prepare, hass)
yield from hass.async_add_job(loader.prepare, hass)

# Merge packages
conf_util.merge_packages_config(
Expand Down Expand Up @@ -184,14 +183,13 @@ def async_from_config_file(config_path: str,
# Set config dir to directory holding config file
config_dir = os.path.abspath(os.path.dirname(config_path))
hass.config.config_dir = config_dir
yield from hass.loop.run_in_executor(
None, mount_local_lib_path, config_dir)
yield from hass.async_add_job(mount_local_lib_path, config_dir)

async_enable_logging(hass, verbose, log_rotate_days)

try:
config_dict = yield from hass.loop.run_in_executor(
None, conf_util.load_yaml_config_file, config_path)
config_dict = yield from hass.async_add_job(
conf_util.load_yaml_config_file, config_path)
except HomeAssistantError as err:
_LOGGER.error('Error loading %s: %s', config_path, err)
return None
Expand All @@ -206,20 +204,20 @@ def async_from_config_file(config_path: str,
@core.callback
def async_enable_logging(hass: core.HomeAssistant, verbose: bool=False,
log_rotate_days=None) -> None:
"""Setup the logging.
"""Set up the logging.

This method must be run in the event loop.
"""
logging.basicConfig(level=logging.INFO)
fmt = ("%(asctime)s %(levelname)s (%(threadName)s) "
"[%(name)s] %(message)s")
colorfmt = "%(log_color)s{}%(reset)s".format(fmt)
datefmt = '%y-%m-%d %H:%M:%S'
datefmt = '%Y-%m-%d %H:%M:%S'

# suppress overly verbose logs from libraries that aren't helpful
logging.getLogger("requests").setLevel(logging.WARNING)
logging.getLogger("urllib3").setLevel(logging.WARNING)
logging.getLogger("aiohttp.access").setLevel(logging.WARNING)
# Suppress overly verbose logs from libraries that aren't helpful
logging.getLogger('requests').setLevel(logging.WARNING)
logging.getLogger('urllib3').setLevel(logging.WARNING)
logging.getLogger('aiohttp.access').setLevel(logging.WARNING)

try:
from colorlog import ColoredFormatter
Expand Down Expand Up @@ -274,7 +272,7 @@ def async_stop_async_handler(event):

else:
_LOGGER.error(
'Unable to setup error log %s (access denied)', err_log_path)
"Unable to setup error log %s (access denied)", err_log_path)


def mount_local_lib_path(config_dir: str) -> str:
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/__init__.py
Expand Up @@ -102,10 +102,10 @@ def reload_core_config(hass):

@asyncio.coroutine
def async_setup(hass, config):
"""Setup general services related to Home Assistant."""
"""Set up general services related to Home Assistant."""
@asyncio.coroutine
def async_handle_turn_service(service):
"""Method to handle calls to homeassistant.turn_on/off."""
"""Handle calls to homeassistant.turn_on/off."""
entity_ids = extract_entity_ids(hass, service)

# Generic turn on/off method requires entity id
Expand Down