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

0.27 #2952

Merged
merged 209 commits into from
Aug 28, 2016
Merged

0.27 #2952

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
1e3f7ad
Return to previous alarm state after trigger (#2580)
Aug 5, 2016
abaffc2
add disarm_after_trigger to manual alarm panel
tobiebooth Aug 13, 2016
8ba85ef
Version bump to 0.27.0.dev0
balloob Aug 13, 2016
8329472
Bugfix: removed conf_platform (#2811)
Aug 13, 2016
c6f67a5
Implemented range checking for temperature and humidity. Out-of-range…
Aug 14, 2016
dc68f61
Html5 push notifications notify platform (#2807)
balloob Aug 14, 2016
bb14239
Fix unknown unit of measurement for hvac and thermostat component (#2…
turbokongen Aug 14, 2016
8210d65
Check for existence of system mode on Honeywell thermostats (#2815)
mKeRix Aug 14, 2016
6fd0fe0
Bump to pywemo 0.4.5 - fixes bug with requests 2.11.0 (#2818)
pavoni Aug 14, 2016
c0b1ff0
Handle accuracy zero correctly in enter/leave events.
pavoni Aug 15, 2016
a7703f2
Add missed docstring.
pavoni Aug 15, 2016
7594cf3
Merge pull request #2734 from tobiebooth/manual-alarm-improvements
balloob Aug 16, 2016
9afb1d8
Fix unit log message (#2823)
MartinHjelmare Aug 16, 2016
27e27ee
Exit when command_classes are missing thermostat Zwave (#2824)
turbokongen Aug 16, 2016
d281a72
check for runtime error during db query (#2834)
nkgilley Aug 16, 2016
72ad1d8
Added support for exposing light features (#2828)
shmuelzon Aug 16, 2016
a7f218f
HP ILO component (#2844)
bjw-s Aug 16, 2016
83a043a
Add FritzBox call monitor sensor (#2791)
DavidMStraub Aug 16, 2016
693098f
Bugfix in pknx library (#2835)
Aug 16, 2016
7762365
Add position to zwave rollershutter (#2772)
nunofgs Aug 16, 2016
41dad9a
Tidy warnings.
pavoni Aug 16, 2016
91e24de
Merge pull request #2833 from home-assistant/fix_owntracks_beacon_acc…
pavoni Aug 16, 2016
1c140de
Use voluptuous for NZB sensors (#2847)
fabaff Aug 16, 2016
dab5a78
Use voluptuous for time/date sensors (#2799)
fabaff Aug 16, 2016
822b7f8
Use voluptuous for exchange sensors (#2801)
fabaff Aug 16, 2016
72fc526
Html5 notifications improvements (#2840)
robbiet480 Aug 16, 2016
f668a88
Fixed typo (#2856)
trymbill Aug 17, 2016
324ddfd
fix flux_update service (#2792)
nkgilley Aug 17, 2016
781fe9c
Fix logging message for disarm (#2857)
gottsman Aug 17, 2016
4fcfffc
add tcp/udp port to config validation (#2854)
pvizeli Aug 17, 2016
3756176
Add Gravatar support to device_tracker (#2836)
robbiet480 Aug 17, 2016
c1ce685
Expose notify platform targets as individual services (#2837)
robbiet480 Aug 17, 2016
848781f
Add a group notify platform (#2842)
robbiet480 Aug 17, 2016
4a847db
new yahooweather version and fix update function (#2848)
pvizeli Aug 17, 2016
7720a17
Add badge
balloob Aug 17, 2016
2237189
Add default badge to push notification (#2859)
balloob Aug 17, 2016
8a3c511
Adding Digest Auth for webcam image retrieval (#2821)
Meatz Aug 17, 2016
469d095
Create initial Wunderground weather sensor
arsaboo Aug 17, 2016
aabeda2
Update wunderground.py
arsaboo Aug 17, 2016
1a34bc5
Removed lynting issues
arsaboo Aug 17, 2016
fae9267
Update wunderground.py
arsaboo Aug 17, 2016
75cd1f8
Update wunderground.py
arsaboo Aug 17, 2016
4dff42e
Update wunderground.py
arsaboo Aug 17, 2016
be57cd5
Update wunderground.py
arsaboo Aug 17, 2016
a0bcd33
Update wunderground.py
arsaboo Aug 17, 2016
244f60d
Fix script help (#2860)
kellerza Aug 18, 2016
8088322
Consider core running while starting (#2858)
balloob Aug 18, 2016
4999827
Added daily temp/precip forecast values to forecast.io (#2846)
DavidMStraub Aug 18, 2016
333e3ba
Add imports
Teagan42 Aug 18, 2016
b780967
Config schema
Teagan42 Aug 18, 2016
a09baf1
Not using payload
Teagan42 Aug 18, 2016
53b97fe
Rename constant - make valid for lat/long too
Teagan42 Aug 18, 2016
e4abecd
Build url helper method
Teagan42 Aug 18, 2016
42caa31
Unused variable
Teagan42 Aug 18, 2016
1a8e17c
Pass hass to constructor
Teagan42 Aug 18, 2016
563154c
Validate configuration
Teagan42 Aug 18, 2016
62b00e1
Update invocation of WUndergroundData
Teagan42 Aug 18, 2016
31237a8
Catch exception from update on initial platform setup
Teagan42 Aug 18, 2016
417711d
Refactoring
Teagan42 Aug 18, 2016
afef255
Condition is already a string
Teagan42 Aug 18, 2016
ecb4eb8
Don't call update on init of sensor
Teagan42 Aug 18, 2016
dd14f90
Error handling on state
Teagan42 Aug 18, 2016
e54ba5f
No need no need to set variable
Teagan42 Aug 18, 2016
466dd35
Don't set state on update - state already handles this
Teagan42 Aug 18, 2016
d2ba8ee
Reraise exception
Teagan42 Aug 18, 2016
87f81bf
Use url builder helper
Teagan42 Aug 18, 2016
4e586c1
Check for error and pull obvservation
Teagan42 Aug 18, 2016
a5fd04f
Unit tests around wunderground
Teagan42 Aug 18, 2016
a5f144c
HTML5 notify actions (#2855)
robbiet480 Aug 18, 2016
98f236c
Add webos customize option to add custom sources (#2561)
roidayan Aug 18, 2016
ccd8f51
Ble tracker (#2810)
Aug 18, 2016
053a55b
Added name support for Forecast.io (#2638)
emilhetty Aug 18, 2016
09d531b
fix gpmdp (#2864)
nkgilley Aug 18, 2016
90fdc89
Updated to address @balloob's comments
arsaboo Aug 18, 2016
230dde4
Removed blank line (linting error)
arsaboo Aug 18, 2016
c1653d2
Merge pull request #2861 from arsaboo/patch-2
Aug 18, 2016
41f84d9
Pydoc for unit test methods
Teagan42 Aug 18, 2016
2b8e2a3
Remove print lines
Teagan42 Aug 18, 2016
0490fe8
Unneeded validation removed
Teagan42 Aug 18, 2016
6f57d36
Add doc link to header of file
Teagan42 Aug 18, 2016
ddec28d
Use schema validators already avaialble
Teagan42 Aug 18, 2016
db2d9ec
Unused property
Teagan42 Aug 18, 2016
ec5e20f
Use string constant
Teagan42 Aug 18, 2016
c2b7514
Fix config validation import to make things more readable
Teagan42 Aug 18, 2016
25840f9
Consistent use of WUnderground
Teagan42 Aug 18, 2016
90449a9
Use string templating
Teagan42 Aug 18, 2016
5bdcf60
Extend platform schema
Teagan42 Aug 18, 2016
df4a9ea
add move_postion support for HA rollershutter / CONFIG_SCHEMA (#2873)
pvizeli Aug 18, 2016
cb3a376
Type-o
Aug 18, 2016
297fca9
Type-o
Aug 18, 2016
85d632c
Merge pull request #2870 from Teagan42/AddFixToWunderground
Aug 18, 2016
9bfac59
fix 2862 (#2868)
nkgilley Aug 18, 2016
bafc941
Fix media player art (#2879)
balloob Aug 19, 2016
2a563e1
binary occupancy sensor (#2869)
nkgilley Aug 19, 2016
0abc50e
Use voluptuous for transport sensors (#2867)
fabaff Aug 19, 2016
ada4de3
Migrate Thermostat and HVAC component to climate component (#2825)
turbokongen Aug 19, 2016
c74e167
Use voluptuous for dweet, transmission, and twitch sensor (#2802)
fabaff Aug 19, 2016
ca1de9c
Add url to validation (#2874)
fabaff Aug 19, 2016
def9bbf
Upgrade pmsensor to 0.3 (#2883)
Aug 19, 2016
4f1712c
Use voluptuous for system monitoring sensors (#2813)
fabaff Aug 19, 2016
337b2e3
Add voluptuous
pavoni Aug 19, 2016
d1a31b3
Change CONFIG to CONF for consistency.
pavoni Aug 19, 2016
712f149
Add voluptuous to Vera.
pavoni Aug 19, 2016
a50463d
Improve homematic climate support (#2894)
pvizeli Aug 19, 2016
6e672b7
More generic use of up and down commands plus a workaround for SOMFY …
turbokongen Aug 20, 2016
482f32b
Add voluptuous to wemo. (#2895)
pavoni Aug 20, 2016
8eb66ac
Ensure Slack messages appear as correct user (#2893)
technicalpickles Aug 20, 2016
2df8524
Merge pull request #2890 from home-assistant/loop_energy_voluptuous
pavoni Aug 20, 2016
c0cd2d7
Tidy.
pavoni Aug 20, 2016
a46230b
Merge pull request #2892 from home-assistant/vera_voluptuous
pavoni Aug 20, 2016
b5cc145
bump vsure version
persandstrom Aug 20, 2016
ca75e66
Merge pull request #2902 from persandstrom/vsure_10.1
persandstrom Aug 20, 2016
8d1a9d8
Yaml secret fallback to parent folders (#2878)
Aug 20, 2016
7d0c50a
Update pymysensors version to 0.7
hensing Aug 20, 2016
b7eee6f
Merge pull request #2910 from hensing/update_mysensors
MartinHjelmare Aug 20, 2016
2558501
Added LlamaLab Automate notify platform (#2863)
danielperna84 Aug 20, 2016
3fae4fe
Bust cache for new media player covers (#2882)
balloob Aug 20, 2016
502c65c
Migrate to voluptuous (#2907)
fabaff Aug 20, 2016
8fc27cb
Migrate to voluptuous (#2905)
fabaff Aug 20, 2016
e8c6e4d
Clean-up, ordering, constants, and extend of schema (#2903)
fabaff Aug 20, 2016
18fd17f
Migrate to voluptuous (#2901)
fabaff Aug 20, 2016
b62c3ac
Update dht sensor dependency Adafruit_DHT to v1.3.0 (#2900)
roidayan Aug 20, 2016
5f508b6
Use voluptuous for REST platforms (#2887)
fabaff Aug 20, 2016
46dcfb3
Serial CO2 sensor support (#2885)
Aug 20, 2016
6aa0789
MQTT room presence detection (#2913)
mKeRix Aug 21, 2016
af22aee
Apparently, doesn't load the root config secret
Teagan42 Aug 21, 2016
9cfad34
Merge pull request #2916 from Teagan42/YamlSecret-LoadBeforeBreak
Aug 21, 2016
aa6a052
Add template support to generic camera + local file tests (#2881)
balloob Aug 21, 2016
23e86fc
Update frontend
balloob Aug 21, 2016
a12dada
Update pymysensors version to 0.7.1
hensing Aug 21, 2016
fa3d831
Merge pull request #2917 from hensing/update_mysensors
MartinHjelmare Aug 21, 2016
635e5c8
Add voluptuous to ecobee, speedtest.net, fast.com, actiontec, forecas…
nkgilley Aug 21, 2016
f802d6b
Update test packages (#2918)
balloob Aug 21, 2016
d70d1e1
Add support for notifying with Slack attachments. (#2914)
technicalpickles Aug 21, 2016
2b4980a
Add tplink Archer C7 device tracking support for 5Ghz networks
dpford Aug 21, 2016
520d4d5
Add zwave.rename_node service (#2923)
Aug 21, 2016
d2f7b3c
Merge pull request #2922 from dpford/tplink-5g
Aug 21, 2016
7598de9
Allow unregistering a push subscription (#2921)
balloob Aug 21, 2016
0d7d125
Update frontend
balloob Aug 21, 2016
5d816b5
Use voluptuous for OhmConnect (#2906)
fabaff Aug 22, 2016
32318c6
Add voluptuous validation to template sensor. (#2886)
pavoni Aug 22, 2016
b6da4a5
Use voluptuous for dweet and arduino (#2926)
fabaff Aug 22, 2016
fb639e0
Fix schemas and update ordering (#2932)
fabaff Aug 22, 2016
e5969f0
Clean-up (#2933)
fabaff Aug 22, 2016
eac67fd
Add voluptuous to template switch (#2940)
pavoni Aug 22, 2016
9fcfc21
Bump pywemo. (#2944)
pavoni Aug 23, 2016
dfca247
Add voluptuous to efergy. (#2943)
pavoni Aug 23, 2016
0def842
Quick lint script for changed files (#2941)
kellerza Aug 23, 2016
f00cdc5
Updated python-wink version to fix color/temp detection (#2935)
Aug 23, 2016
14b034f
Check config script (#2657)
kellerza Aug 23, 2016
c9d5d1a
Remove debug print
balloob Aug 23, 2016
82de1cd
change const.py to use single quotes
robbiet480 Aug 23, 2016
5abb46a
Tidy voluptuous. (#2946)
pavoni Aug 23, 2016
dfd76fc
Minor tidy of voluptuous. (#2945)
pavoni Aug 23, 2016
8857366
Update frontend
balloob Aug 23, 2016
2b4f0cb
Fix broken template sensor tests
balloob Aug 23, 2016
a43ea81
Migrate to voluptuous (#2927)
fabaff Aug 24, 2016
cf83249
Combine garage_door and rollershutter to cover (#2891)
turbokongen Aug 24, 2016
6f27d58
Use voluptuous for Splunk (#2931)
fabaff Aug 24, 2016
9836424
Use voluptuous for graphite (#2929)
fabaff Aug 24, 2016
c5fd665
add ffmpeg noise detection sensor (#2950)
pvizeli Aug 24, 2016
0c91ba4
improve gpmdp (#2951)
nkgilley Aug 24, 2016
63e3d20
update frontend
Aug 24, 2016
c4b5303
Merge remote-tracking branch 'origin/master' into dev
Aug 24, 2016
21fb18e
pep257 fixes
Aug 24, 2016
5d4dc71
Append the travel mode to the sensor name for Google Travel Time
robbiet480 Aug 24, 2016
78b2c87
Implement support for NEST structures. (#2736)
freerobby Aug 24, 2016
52acb2e
adding pull mode and relay time for you garage door (#2896)
BluGeni Aug 24, 2016
61ef268
Add volume and seek control to gpmdp (#2953)
nkgilley Aug 24, 2016
4795122
Add voluptuous to binary template sensor (#2938)
pavoni Aug 24, 2016
e7b206d
Add MQTT gateway for MySensors
MartinHjelmare Jul 14, 2016
99796e5
minor bug in rfxtrx sensor
Aug 24, 2016
e5abf60
Cover (#2957)
turbokongen Aug 24, 2016
daa066c
Merge pull request #2959 from home-assistant/rfxtrx
Danielhiversen Aug 24, 2016
5d2d9af
Add deprecated warning to thermostat and hvac (#2962)
turbokongen Aug 24, 2016
cc358a5
Corrected sensor name from HM-Z19 to MH-Z19 (#2963)
Aug 24, 2016
d9322b8
Bugfixing DemoCover NotImplemented Was not raised for is_closed (#2965)
turbokongen Aug 24, 2016
9219d65
Migrate to voluptuous (#2958)
fabaff Aug 25, 2016
b199c61
Migrate to voluptuous (#2955)
fabaff Aug 25, 2016
17631cd
Check config script: various fixes (#2967)
kellerza Aug 25, 2016
be1981c
modbus write register service
persandstrom Aug 25, 2016
826ec9b
Add a Fan component and support for an Insteon Hub Fan (#2964)
Aug 25, 2016
34f57eb
Fix reference to wrong components in tests for cameras (#1) (#2975)
Landrash Aug 25, 2016
d1e94b9
Extract mqtt string into constant and add log
MartinHjelmare Aug 25, 2016
354f4b4
Upgrade rfxtrx lib (#2974)
Danielhiversen Aug 25, 2016
2eadae2
add homematic hub device with variable support / update pyhomematic w…
pvizeli Aug 25, 2016
d611010
Fix reading dht config values (#2956)
roidayan Aug 26, 2016
877dc9c
Merge pull request #2960 from MartinHjelmare/mysensors-mqtt
MartinHjelmare Aug 26, 2016
95b98f6
Full homematic system variable support (#2986)
pvizeli Aug 26, 2016
d2bb61a
Change variable to poll for ccu/homegear (#2987)
pvizeli Aug 26, 2016
9ab2ac7
add motion sensor / rewrite ffmpeg binary sensor (#2969)
pvizeli Aug 26, 2016
4ee37cb
bump vsure version
persandstrom Aug 26, 2016
ead0559
Merge pull request #2995 from persandstrom/vsure_10.2
persandstrom Aug 26, 2016
5cc672e
Migrate to voluptuous (#2990)
fabaff Aug 26, 2016
3704891
Check config requirement fix (#2999)
kellerza Aug 26, 2016
4aad83d
Voluptuous for pushover (#3000)
kellerza Aug 27, 2016
a4b8c3c
Update telegram.py add send_document (#2937)
icovada Aug 27, 2016
c05d27d
Completely local control of entities via Alexa (#2942)
mgbowen Aug 27, 2016
2c26514
modbus sensor value scaling (#2972)
persandstrom Aug 27, 2016
04f0fec
Merge pull request #2970 from persandstrom/modbus_write
robbiet480 Aug 27, 2016
f863efd
Use COMMAND_CLASS_THERMOSTAT_SETPOINT to get unit_of_measurement inst…
turbokongen Aug 27, 2016
6f1c97b
Voluptuous for AsusWRT (#2998)
kellerza Aug 27, 2016
6acaf25
Use voluptuous for mysensors (#2992)
MartinHjelmare Aug 27, 2016
e6b9d5f
Migrate to voluptuous (#2989)
fabaff Aug 27, 2016
2accc15
Migrate to voluptuous (#2991)
fabaff Aug 27, 2016
a4b90c9
Use voluptuous for Raspberry Pi and local file camera (#2988)
fabaff Aug 27, 2016
fdb6de4
Fan demo (#2976)
Aug 27, 2016
43555b6
update frontend
robbiet480 Aug 28, 2016
78675ed
Version bump to 0.27.0
robbiet480 Aug 28, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Migrate to voluptuous (#2990)
🐬
  • Loading branch information
fabaff authored and Teagan Glenn committed Aug 26, 2016
commit 5cc672ea599f9109bb84c1be5b72eb219c009494
12 changes: 6 additions & 6 deletions homeassistant/components/camera/bloomsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
from homeassistant.components.camera import Camera
from homeassistant.loader import get_component

DEPENDENCIES = ["bloomsky"]
DEPENDENCIES = ['bloomsky']


# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup access to BloomSky cameras."""
bloomsky = get_component('bloomsky')
for device in bloomsky.BLOOMSKY.devices.values():
add_devices_callback([BloomSkyCamera(bloomsky.BLOOMSKY, device)])
add_devices([BloomSkyCamera(bloomsky.BLOOMSKY, device)])


class BloomSkyCamera(Camera):
Expand All @@ -28,8 +28,8 @@ class BloomSkyCamera(Camera):
def __init__(self, bs, device):
"""Setup for access to the BloomSky camera images."""
super(BloomSkyCamera, self).__init__()
self._name = device["DeviceName"]
self._id = device["DeviceID"]
self._name = device['DeviceName']
self._id = device['DeviceID']
self._bloomsky = bs
self._url = ""
self._last_url = ""
Expand All @@ -42,7 +42,7 @@ def __init__(self, bs, device):
def camera_image(self):
"""Update the camera's image if it has changed."""
try:
self._url = self._bloomsky.devices[self._id]["Data"]["ImageURL"]
self._url = self._bloomsky.devices[self._id]['Data']['ImageURL']
self._bloomsky.refresh_devices()
# If the URL hasn't changed then the image hasn't changed.
if self._url != self._last_url:
Expand Down
27 changes: 18 additions & 9 deletions homeassistant/components/camera/netatmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,43 @@
"""
import logging
from datetime import timedelta

import requests
from homeassistant.util import Throttle
import voluptuous as vol

from homeassistant.components.camera import Camera
from homeassistant.util import Throttle
from homeassistant.components.camera import (Camera, PLATFORM_SCHEMA)
from homeassistant.loader import get_component
from homeassistant.helpers import config_validation as cv

DEPENDENCIES = ["netatmo"]
DEPENDENCIES = ['netatmo']

_LOGGER = logging.getLogger(__name__)

CONF_HOME = 'home'
ATTR_CAMERAS = 'cameras'
CONF_CAMERAS = 'cameras'

MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=10)

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Optional(CONF_HOME): cv.string,
vol.Optional(CONF_CAMERAS, default=[]):
vol.All(cv.ensure_list, [cv.string]),
})


# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices_callback, discovery_info=None):
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup access to Netatmo Welcome cameras."""
netatmo = get_component('netatmo')
home = config.get(CONF_HOME, None)
home = config.get(CONF_HOME)
data = WelcomeData(netatmo.NETATMO_AUTH, home)

for camera_name in data.get_camera_names():
if ATTR_CAMERAS in config:
if camera_name not in config[ATTR_CAMERAS]:
if CONF_CAMERAS in config:
if camera_name not in config[CONF_CAMERAS]:
continue
add_devices_callback([WelcomeCamera(data, camera_name, home)])
add_devices([WelcomeCamera(data, camera_name, home)])


class WelcomeCamera(Camera):
Expand Down