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.57 #10293

Merged
merged 232 commits into from Nov 4, 2017
Merged

0.57 #10293

merged 232 commits into from Nov 4, 2017

Conversation

balloob
Copy link
Member

@balloob balloob commented Nov 2, 2017

Translations

Powered by the overhaul to the frontend code, version 0.57 introduces the framework for a localized frontend! Currently the translations are limited to the sidebar menu items. Even without a translation tool available, our contributors have jumped in and submitted translations for these menu items in over twenty languages! Home Assistant will automatically pick an available translation based on your browser settings, or a translation can be manually selected in the configuration panel.

We're currently working on an integration with the web based translation tool lokalise.co, to make the translation process accessible to anyone who would like to contribute. Stay tuned for a blog post soon with more documentation.

Frontend improvements

As part of getting translations to work, we did a lot of cleanup work on the frontend side. The re-organization should allow us to iterate faster on the frontend. We've already seen a lot of clean up as part of this thanks to @armills and @andrey-git for keep raising the quality bar!

Hacktoberfest

Hacktoberfest 2017 is over! FINALLY. Each year we're attracting more developers that want to contribute to Home Assistant. This is great but also very exhausting to our code reviewers. I want to give an enormous gigantic huge big shout out to our reviewers @pvizeli, @andrey-git, @armills, @MartinHjelmare, @fabaff. You have all done an amazing job and we couldn't run Home Assistant without any of you! ❤️

Hacktoberfest is obviously about the people contributing to open source. Big thanks to everyone that has taken the time to learn our code base and make contributions. We hope it was a pleasant experience and show how great open source can be. Hope to see many contributions in the future 👍

Here are our Hacktoberfest 2017 stats:

This means that we processed over 20 Pull requests per day. The result was already visible in 0.56. This release is almost the same. In those releases we were able to add over 40 new integrations.

IKEA TRÅDFRI

Good news and bad news on this front. The bad news is that IKEA changed the internal API for TRÅDFRI with a firmware update, breaking the Home Assistant integration. The good news is that they were nice enough to email us with instructions on the breaking changes.

Long time contributor @lwis jumped on the case and managed to migrate our integration in Home Assistant in time for this release. Great work!

Timer

Okay, one more highlight before we'll let you check out the changelog. Contributor @danielperna84 (most known for creating the HASS Configurator), had another great component up his sleeve: the Timer component. With the timer component you'll be able to start countdown timers. A neat tool for your automation toolbox! More info in the timer docs.

New Platforms

Breaking Changes

  • IKEA TRÅDFRI: We no longer support entering the key in the configuration. (@lwis - #10282) (tradfri docs) (breaking change)

  • API.AI was renamed to Dialogflow. This requires to rename the entry in your configuration.yaml file from apiai: to dialogflow. (@fabaff - #10006) (dialogflow docs) (breaking change)

  • Wink: Removed support for entering your username and password in your config. Use the new authentication method instead. (@w1ll1am23 - #10277) (wink docs) (breaking change)

  • Use feed name assigned in EmonCMS if there is one. This changes the default behavior but still uses configured 'name' if it's set, so it won't break the configuration of people who have customized their feed names in HA config. (@KlaasH - #10021) (sensor.emoncms docs) (breaking change)

  • The namecheapdns now uses password: instead of access_token in the configuration. Also, host is now optional which allow people who are not using subdomains to keep their configuration shorter. (@fabaff - #10063) (namecheapdns docs) (breaking change)

  • Fix recorder crash for long state string - enforce a maximum state of 255 characters at core level (@milanvo - #9696) (breaking change)

  • Add display currency setting to CoinMarketCap sensor. The name of the sensor attribute '24h_volume_usd' is changed to '24h_volume'. (@R1chardTM - #10093) (sensor.coinmarketcap docs) (breaking change)

  • MQTT Statestream now serializes all data to JSON before publishing. This means that string attributes and values will be quoted from now on (e.g.: '"on"' instead of 'on'). You can still read these strings without the quotes by using 'value_json' instead of 'value' where applicable (e.g., templates). This causes automatic JSON deserialization. Other simple types are not affected.

    This fixes errors when an entity has an attribute that is not "a string, bytearray, int, float or None" and mqtt_statestream is used. As of now, the attribute is just handed over to paho, and paho can only send the aforementioned types. This patch fixes the issue by just casting everything to string before handing it over to paho.

    There are a number of components / entities which have "other" attributes, e.g. light that have an RGB attribute which is a list. (@tinloaf - #9872) (mqtt_statestream docs) (breaking change)

  • Generic thermostat: the configuration option tolerance has been removed and has been replaced by cold_tolerance and hot_tolerance. This allows on and off states to have different error bands. (@biggms - #9843) (climate.generic_thermostat docs) (breaking change)

  • Developers only: frontend has been refactored. The method register_panel has been turned into a coroutine function called async_register_panel. The parameter url_path has been renamed to frontend_url_path. For frontend, development, you no longer pass development: 1 to the http component but instead configure the frontend component to be in development mode by pointing it at a local checkout of the Polymer repo: (@balloob - #9915) (breaking change)

All changes

jbarrancos and others added 30 commits August 24, 2017 18:30
This is a component which adds support for the Rainbird WiFi LNK Irragation system.
Removed some whitelines
Fixed issues during hound run (markup) and a class which is obsolete
Markup fixes
PIP8 Fixes
pylint, coverage and requirement fix
pydocstyle fixes
Recommit corrected
Changed component to use entity and switch.
- pyrainbird 0.0.9 allows the override (if ever needed) connection retry/sleep
- Forces state towards the Entity when switching the switches. Gives better UI experience.
Per request moved all the code inside the switch
Limited to switch on/off
Lowered loglevel
Crypto Dependency missing found on virtualenv install. Added to dependecy rainbird.py
@balloob balloob requested a review from a team November 2, 2017 16:44
@balloob balloob requested a review from a team as a code owner November 2, 2017 16:44
@superm1
Copy link
Contributor

superm1 commented Nov 2, 2017

FYI https://home-assistant.io/components/alexa.smart_home/ points to an invalid URL. I guess this is a new component coming that's not yet documented so that's why, but just wanted to make sure y'all knew.

@emlove
Copy link
Contributor

emlove commented Nov 2, 2017

Translations

Powered by the overhaul to the frontend code, version 0.57 introduces the framework for a localized frontend! Currently the translations are limited to the sidebar menu items. Even without a translation tool available, our contributors have jumped in and submitted translations for these menu items in over twenty languages! Home Assistant will automatically pick an available translation based on your browser settings, or a translation can be manually selected in the configuration panel.

We're currently working on an integration with a web based translation tool, to make the translation process accessible to anyone who would like to contribute. Stay tuned for a blog post in the next few weeks!

@ggravlingen
Copy link
Contributor

Regarding Tradfri: you might want to mention that installing Cython takes forever (at least an hour) on a Raspberry Pi 3. Just so that people don't think something is wrong when Hass doesn't immediately fire up after restart.

@flowolf
Copy link
Contributor

flowolf commented Nov 2, 2017

ad Trådfri: the api_key variable makes it fail. This might be a breaking change. There must not be an api_key variable.

@pixeye33
Copy link

pixeye33 commented Nov 3, 2017

alexa.smart_home is been announced since 0.54 (released on 23/09/2017).
Still no documentation about it.

@pvizeli
Copy link
Member

pvizeli commented Nov 3, 2017

alexa.smart_home is under development and not yet public. We give a statement on time.

PeteBa and others added 13 commits November 3, 2017 21:18
* Maintain automated purge schedule

* Updates from review feedback
* update mask-icon to favicon.svg

* change name of icon to mask-icon.svg
* Fix panel_custom

* lint
* Remove unused async flavor

* Add tellcore-net support

* Update tellstick.py

* Update requirements_all.txt

* fix lint
* Fix recorder purge

* Fix lint

* fix utc convert
* use updated client

* update requirements
* Move timer into correct folder

* Rename tests/components/test_timer.py to tests/components/timer/test_timer.py

* create init for test component

* Fix services.yaml loading
@balloob balloob merged commit 37bb626 into master Nov 4, 2017
@balloob balloob deleted the release-0-57 branch November 4, 2017 04:59
@home-assistant home-assistant locked and limited conversation to collaborators Mar 2, 2018
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.

None yet