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.22 #2323

Merged
merged 67 commits into from
Jun 18, 2016
Merged

0.22 #2323

merged 67 commits into from
Jun 18, 2016

Conversation

balloob
Copy link
Member

@balloob balloob commented Jun 18, 2016

Oh yeah, 0.22 time!

  • Add Sonos snapshot and restore services (@dansullivan86)
  • Device Tracker: AsusWRT in Access Point mode now supported (@linjef)
  • Device Tracker: AsusWRT login using public key now supported (@mtreinish)
  • Device Tracker: AsusWRT protocol to use is now auto detected (@persandstrom)
  • Camera: Netatmo now supported (@jabesq)
  • Swagger.yaml added that documents the REST-api (@Wind-rider)
  • Media Player: Cast devices can now be stopped (@michaelarnauts)
  • MySensors: IR switch device and service now supported (@MartinHjelmare)
  • Bloomsky: Voltage sensor now supported (@arsaboo)
  • Camera: Show any image as camera (@Landrash)
  • Media Player: Add Pandora media player (@partofthething)
  • Device Tracker: BT Home Hub 5 now supported (@lwis)
  • Sensor: Monitor friends streaming from your Plex server (@nkgilley)
  • Shell command component can now use templates to render arguments (@partofthething)
  • Rollershutter: Wink is now supported (@philk)
  • Sensor: SNMP is now supported (@fabaff)

Breaking change

  • The new Netatmo support caused us to change how Netatmo are configured. It's now done via it's own component.
netatmo:
    api_key: API_KEY
    secret_key: SECRET_KEY
    username: username
    password: password

balloob and others added 30 commits June 7, 2016 19:28
* Improve config validation if invalid entity for groups

* Improve error message when entity id is invalid
* Add snmp sensor

* Add ATTR_UNIT_OF_MEASUREMENT
* fix zwave thermostat with multiple setpoints

* fix zwave thermostat with multiple setpoints
* Added Sonos snapshot feature

* Fix lint errors

* Use snake case

* Import dependency in a method
* Removed webcolors dependency in favor of dictionary lookup.

* Fixed code style errors.

* Moved color dictionary to module per suggestion.

* Removed try/except per suggestion.
Previously experienced issues on routes where services operate in both
directions. The query picked up not just paths where service goes
from Origin ->  Destination, but trips going Destination -> Origin,
and shown bogus results.

Ensure that this doesn't happen by requiring the origin station's
stop_sequence value to be lower than the destination station.
* More resilient accessing of LIRC codes to handle rare error case.

* Line length fix in LIRC
* Added support for AP mode in asuswrt

* Corrected number of return values in asuswrt
* Introducing the Netatmo component

As Netatmo is providing several type of device (sensor, camera), a new Netatmo
component needs to be created in order to centralize the Netatmo login data.
Currently this change only impacts the Netatmo Weather station

* Add new Netatmo library

This new API will provide access to the Welcome Camera

* Basic support for Netatmo Welcome camera

This change introduces support for Netatmo Welcome camera. Currently, it will
add all detected camera to Home Assistant, camera filtering (similar to the one
used for weather station modules) will be added later

* Remove useless REQUIREMENTS

* Fixes for Netatmo Welcome support

* Allow to filter Welcome cameras by name and/or home

* Update requirements for Netatmo components

* Fix multi-camera support for Welcome

* Fix pep8 error/warning

* This commit also adds improved logging for bad credentials

* Add Throttle decorator for Welcome update function

As the update function updates the data for all cameras, we should prevent this
function to be called several time during an interval
* Add a swagger.yaml file

@balloob
I created a swagger configuration file that will help people create clients (apps / frontends) for Home Assistant more easily. Based upon this code it is even possible to generate client code for several programming languages.

I created it by hand now, so when the API changes it will need to be updated. That's why it would be better to generate this specification automatically. This is possible for API frameworks but I don't know whether it is possible for the handwritten endpoints in Home Assistant. Maybe you could assist here?

This documentation could be used to replace a part of https://home-assistant.io/developers/rest_api/.

* Added restrict parameter

* Moved swagger file to docs folder
* WSGI based request handler

with a bit of polishing

Signed-off-by: eagleamon <[email protected]>

* removed stale comment and fixed version, but failed tests do not seem to be related

* removing the wrapper hack

* added in requirements file

* Found the caved in lint error..
* Add stop command to google cast component

* Add SUPPORT_STOP capabilities to google cast component
* Fix Z-Wave autoheal network

* Make config_per_platform handle bad config better
* Migrate to generic discovery method

* Add tests for discovery
mtreinish and others added 15 commits June 12, 2016 21:27
The pexpect.pxssh module has support for using public key
authentication. [1] This commit adds support for leveraging that and
establishing a ssh connection with a public key instead of a password.

[1] http://pexpect.readthedocs.io/en/stable/api/pxssh.html#pexpect.pxssh.pxssh.login
* Refactor Forecast.io

* Some more refactoring and code review workoff

* Dict switch refactor

* CamelCase for data lookup

* Fixing unit_of_measure update

* Better default return for unit_of_measurement

* Test fix
…_message

lower severity of non critical error
When a browser makes a CORS request, it often makes a 'preflight'
options request in order to make sure the resource is valid, and that
it has the right CORS access. This adds a default OPTIONS handler for
all views. If a view needs to customize the OPTIONS handler for some
reason, it's free to, but this way CORS will work.
* Pandora cleanups and enhancements

Added media_content_type
reduced debug messages
made more robust station list
Eliminated auto-pause detection issue

* Added proper de-init of LIRC

* Now won't re-spawn Pandora client if turn_on command is sent twice
add option to name in config

fix const import

use plexapi

add myplex support for remote access

use first server if server not specified

use list comprehension

use dictionary comprehension
"""Test BT Home Hub 5 device tracker platform."""

@patch('{}._get_homehub_data'.format(patch_file), new=_get_homehub_data)
def test_config_minimal(self):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

farcy v1.1

  • D202: No blank lines allowed after function docstring (found 1)

fabaff and others added 12 commits June 18, 2016 08:16
* Catch ValueError

* Less options and don't use state
* Added template rendering to `shell_command` component

* Security upgrades to template rendering in shell_command.

* Added new unit tests for shell_command templates.
Better failure when template is invalid in shell_command
* Update python-wink to 0.7.7

* Add Wink Rollershutter component
* set hvac_mode

* Update __init__.py

* Update __init__.py
Conflicts:
	homeassistant/components/frontend/version.py
	homeassistant/components/frontend/www_static/core.js.gz
	homeassistant/components/frontend/www_static/frontend.html
	homeassistant/components/frontend/www_static/frontend.html.gz
	homeassistant/components/frontend/www_static/service_worker.js
	homeassistant/components/frontend/www_static/service_worker.js.gz
	homeassistant/const.py
@balloob balloob merged commit 8c505e6 into master Jun 18, 2016
@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.