8000 0.40 by balloob · Pull Request #6509 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0.40 #6509

8000
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

Merged
merged 213 commits into from
Mar 11, 2017
Merged

0.40 #6509

merged 213 commits into from
Mar 11, 2017

Conversation

balloob
Copy link
Member
@balloob balloob commented Mar 10, 2017

It's time for version 0.40 already! This version the main focus was on performance and bug fixes. Big thanks to @pvizeli for driving this effort. Startup is now super fast. We have also continued with adding warnings for components and platforms that are slowing down Home Assistant.

Some people have interpreted our recent added warnings as if 0.39 introduced the issues that caused the warning. This is not the case, the platforms and components have been misbehaving for a while but now we are adding warnings so we are able to track down the culprits.

Before we continue talking about all the improvements in this release I want to take a moment to thank a few people from the Home Assistant community that are fundamental to the success of Home Assistant. Big thanks to @dale3h, @CCOSTAN, @skalavala, @rrubin0, @brahmafear, @bassclarinetl2 and @torn8o! These are all people that hang out in our main chat channel and help new users get started and help existing users when running into trouble. Home Assistant would not be there without all the effort you put in! 🙇

Z-Wave is now threadsafe

@andrey-git has spend a lot of time to make Z-Wave perform better. It should no longer cause Home Assistant to run slower or raise warnings about the timer getting out of sync.

Update on the MQTT Out of Memory errors in 0.39

MQTT started causing "Out of Memory" errors for some people on a Raspberry Pi. We have been able to track this down to Raspberry Pis that are using an older firmware. If you are experiencing this issue, please upgrade your firmware using rpi-update.

Android IP Camera

With the new support for IP Webcam added by @robbiet480 and @pvizeli you are now able to re-purpose any Android phone to become a multifunctional IP webcam.

  • Add the Android device camera as a camera in Home Assistant
  • Binary sensor when motion is detected
  • Sensors to expose the device sensors, including pressure, sound, battery, light
  • Control device features like the GPS, night vision and camera flash

Default layout

Other Highlights

  • Support added for Austrian weather using Zamg weather data (@Zac-HD)
  • AppleTV has been converted to push data to Home Assistant instead of us having to poll (@postlund)
  • Ring.com video doorbell integration added (@tchellomello)
  • Blink Home Security Camera support added (@fronzbot)
  • MQTT discovery now works for lights. (@robbiet480)
  • The MQTT light platform now has effect, white_value and xy_color support. (@robbiet480)
  • The MQTT JSON light platform now has color_temp, effect, white_value and xy_color support. (@robbiet480)
  • The MQTT Template light platform now has color_temp, white_value and xy_color support. (@robbiet480)

Breaking changes

  • Vera entity ids have changed. This is a one time change to migrate to a model that will prevent future conflicts.
  • The Twilio notify platforms now have to be configured via the twilio component.
twilio:
  account_sid: "abc"
  auth_token: "xyz"
  • If you are using async custom components, the passed in async_add_devices method is now a callback instead of a coroutine.

All changes

deftdawg and others added 30 commits February 14, 2017 18:29
* Changes current power units to watts
* Adds power on times and additional totals
* Reordered datetime import
* Spaces by 4
* continuation line under-indented for visual indent
trailing whitespace... (argh... the bot should just trim it)
This gets rid of the other stuff and just updates device_state_attributes, leaving the default properties alone.
* Cleanup run_callback_threadsafe

* fix spell

* Revert image_processing, they need to wait for update
Using headers makes it easier to visually differentiate between the different sections
* Refactory of envisalink

* remove event buss

* init dispatcher from hass.

* Move platform to new dispatcher

* fix lint

* add unittest & threadded functions

* fix copy & past error
…#6096)

* Create zwave devices on OZW thread and only add them during discovery.

* Read and write devices dict from loop thread.

* More async

* replace callback with coroutine

* import common function instead of callin git
- Separate attribs from coffeemaker condition
- Set power units for threshold to mW to be consistent with others
- Adjust on-time labels to be more clear
* Store persistent errors in hass (speeds up tests)

* Fix sleepiq test dependency on test order

* Fix sleepiq validation
Add an optional extended description…
* Test the temperature returned by RM2
* Validate fields via voluptuous
* Fixed range for humidity
* Fast & efficient updates for ZAMG weather data

ZAMG updates on the hour, so instead of checking every half-hour we can
check each minute - only after the observations are taken until
receiving them.

* sensor.zamg: test instead of whitelist for station_id

* Autodetect closest ZAMG station if not given

* ZAMG weather component, based on the sensor

* Review improvements

* Update to new ZAMG schema, add logging

Turns out it wasn't a typo, but rather an upstream schema change.  Added
better error handling to ease diagnosis in case it happens again.

* No hardcoded name
Bump pyloopenergy - catch socketIO exceptions.
* Move mqtt from eventbus to dispatcher / add unsub for dispatcher

* Fix lint

* Fix test

* Fix lint v2

* fix dispatcher_send
pvizeli and others added 4 commits March 10, 2017 10:14
Add an optional extended des
8000
cription…
* Updated pyUnifi

* Missing comma

* Security opt-out, not opt-in

* Adjust minimal values

* Update to pyUnifi 2.0
* use lib with caching to reduce collisions

* use 0.43

* change requirements

* update the  lib to 0.44

* update req

* fix typo

* just keep checking

* just keep checking - switch

* use 0.45 with file cache

* requirements

* Update requirements_all.txt

* Update insteon_local.py

* Update requirements_all.txt

* Update insteon_local.py

* update library

* fix lint
Add an optional extended description…
@tchellomello
Copy link
Contributor

@robbiet480 @balloob any chances to get the PR #6520 (if approved) on 0.40? Thanks guys!

@balloob
Copy link
Member Author
balloob commented Mar 11, 2017

@tchellomello no more new features for 0.40.

@Landrash
Copy link
Contributor
Landrash commented Mar 11, 2017

The package for the rpi-update command isn't included in the base image of raspbian and therefore not in the HASSbian image either.

I've changed this in the next build but currently it needs to be installed with

sudo apt-get install rpi-update

@arsaboo
Copy link
Contributor
arsaboo commented Mar 11, 2017

@balloob In the PR text, you have the command as rpi-upgrade. It should be rpi-update

@balloob
Copy link
Member Author
balloob commented Mar 11, 2017

@Landrash I have linked to the install + update instructions. Hope that will help.

MartinHjelmare and others added 5 commits March 11, 2017 11:06
* Fix colortemp conversion for osramlightify

Copied from the LIFX fix in 75df4be.

* Fix style

* Updates from review

@armills:

While we're doing cleanup here, can you just change self._brightness,
self._rgb, self._name, self._temperature, and self._state assignments in
__init__ to None? These will get overwritten when self.update() is called, so
it's safer/cleaner to initialize them to None since it shouldn't matter if
everything is working.
* Append vera device id to entity id - but not name.

* Tidy.

* Tidy.

* Tidy after review.

* Re-order.
@balloob balloob merged commit a8b32ed into master Mar 11, 2017
@balloob balloob deleted the release-0-40 branch March 11, 2017 19:08
@home-assistant home-assistant locked and limited conversation to collaborators Jun 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0