Thanks to visit codestin.com
Credit goes to github.com

Skip to content

0.58 #10630

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 139 commits into from
Nov 18, 2017
Merged

0.58 #10630

merged 139 commits into from
Nov 18, 2017

Conversation

balloob
Copy link
Member

@balloob balloob commented Nov 17, 2017

Frontend improvements continue

Thanks to @Andrey-git we now have an option to consume the frontend in modern JavaScript. This makes the frontend faster to download and run. For now it's opt-in but we're looking into making it opt-out in the future. The ES5 version of the frontend will remain available for older devices.

To use it in on a single browser, add ?latest to your Home Assistant bookmark. To make it the default for browsers opening the frontend, update your config to look like this:

frontend:
  javascript_version: latest

Note on custom UI: this will need to be updated to work with the untranspiled version and won't work out of the box.

System log enhanced

Our about screen that shows the error logs has gained a nice upgrade by @postlund. Now the 50 latest exceptions will be displayed with the option to get more information.

The Hass.io release will be delayed by a couple of days because Pascal is moving this weekend.

New Platforms

Breaking Changes

  • hass.states.is_state_attr(entity_id, attribute, value) has been removed. The template version still exists. Unused method parameter wait has been removed from hass.bus.async_fire (@balloob - #10305) (breaking change)
  • Refactor Neato botvac components as a vacuum (@jabesq - #9946) (neato docs) (switch.neato docs) (vacuum.neato docs) (breaking change) (new-platform)
  • Lutron released a firmware updated for the Caseta system which removed our ability to connect to and control the bridge device over SSH, breaking compatibility with pylutron_caseta and Home Assistant. Component has been updated to work again, please see the docs on how to set it up. (@mdonoughe - #10286) (lutron_caseta docs) (breaking change)

All changes

syssi and others added 30 commits November 2, 2017 21:38
* Bump python-miio for improved device support.

* Requirements defines updated.
* Create pyload.py

* tabs and whitespaces removed

* code style fix

* code style fixes

* code style fix

* fixed standard import order

* classname fixed

* Added homeassistant/components/sensor/pyload.py

* code formatting

* implemented @fabaff recommendations

* Update pyload.py

* Use string formatting

* Make host optional
* update mask-icon to favicon.svg

* change name of icon to mask-icon.svg
* Initial commit of LaCrosse sensor component

Signed-off-by: Heiko Thiery <[email protected]>

* fix review comments from houndci-bot

Signed-off-by: Heiko Thiery <[email protected]>

* fix review comments from houndci-bot

Signed-off-by: Heiko Thiery <[email protected]>

* add pylacrosse version to REQUIREMENTS

Signed-off-by: Heiko Thiery <[email protected]>

* add lacrosse to .coveragerc

Signed-off-by: Heiko Thiery <[email protected]>

* import 3rd party libraries inside methods

Signed-off-by: Heiko Thiery <[email protected]>

* add pylacrosse to requirements_all.txt

Signed-off-by: Heiko Thiery <[email protected]>

* add missing docstring

Signed-off-by: Heiko Thiery <[email protected]>

* fix pylint warning

Signed-off-by: Heiko Thiery <[email protected]>

* fix pylint warning

Signed-off-by: Heiko Thiery <[email protected]>

* fix pylint warnings

Signed-off-by: Heiko Thiery <[email protected]>

* remove too many blank lines

Signed-off-by: Heiko Thiery <[email protected]>

* some minor cleanup

Signed-off-by: Heiko Thiery <[email protected]>

* change to single quote

Signed-off-by: Heiko Thiery <[email protected]>

* incorporate review comments

Signed-off-by: Heiko Thiery <[email protected]>

* remove type check as validation only allows TYPES

Signed-off-by: Heiko Thiery <[email protected]>

* Adjust log level and update ordering
* Fix panel_custom

* lint
* Clean up core

* Lint

* Fix tests

* Address comment

* Update entity.py

* romve test for forward update to async_update

* fix lint
* Refactor Neato botvac components as a vacuum

A switch is still use to enable/disable the schedule

Signed-off-by: Hugo D. (jabesq) <[email protected]>

* CI Hound fixes

* Fix lint errors

Signed-off-by: Hugo D. (jabesq) <[email protected]>

* [Neato vacumm] Add sensor attributes to vacuum

Signed-off-by: Hugo D. (jabesq) <[email protected]>

* Remove line breaks and fix docstring

* PR fixes
* Remove unused import

* Move setup relevant consts to 'setup.py'

* remove blank line

* Set source
* Maintain automated purge schedule

* Updates from review feedback
* 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
* Add option to overwrite file to the downloader component

* Cleanup

* Address Paulus's comments
* 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
* Fix API change of new enocean package

* Fix lint issue
* Use constants for HTTP headers

* Fix ordering

* Move 'no-cache' to platform
* fix a import in test causing vs code to fail to discover

* Change style
* Fix docstring

* Add comment

* Move counter to folder

* Fix missing parts

* Commit it when file is saved
* Initial commit of Vultr components

Have a working Vultr hub and binary sensor which pulls down the
following attributes of your VPS:
 - Date created
 - Subscription id (server id)
 - Cost per month (in US$)
 - Operating System installed
 - IPv4 address
 - label (human readable name)
 - region
 - number of vcpus
 - which storage package chosen
 - IPV6 address (if applicable)
 - RAM amount

Working next on sensor and then testing / coverage.

* Added Vultr sensor for pending charges and current bandwidth. Refactored binary_sensor and hub too

* Corrected is_on bases

* Added basic tests for Vultr binary & platform

* Updated require files

* Changing test fixture to highlight different cases

* Written basic test for sensor.vultr

* Resolved linting errors and broken test

* Increase test coverage and corrected docs

* Resolved hound issues

* Revert back negative binary test

* Another hound resolve

* Refactoring and adding is switch, moving over to vultr branch

* Made Vultr components more resiliant to invalid configs

* Added negetive test for vultr binary sensor

* Added better testing of vultr sensor

* Resolved vultr platform test affecting subsequent vultr tests

* Moving VULTR components to single use design

* Added in sensor name config

* Added missing sensors var

* Resolved init data setting of sensors, added in name conf to switch

* Made the Vultr component more resiliant to startup failure with better alerting

* Various Vultr component changes

- Refactored sensor, binary_sensor, and switch to reference one subscription
- Renamed CURRENT_BANDWIDTH_GB monitored condition to CURRENT_BANDWIDTH_USED
- Improved test coverage

* Resolved local tox linting issue

* Added more testing for Vultr switch

* Improved test coverage for Vultr components

* Made PR comment changes to vultr binary sensor

* Made PR comment changes to Vultr sensor

* resolved PR comments for Vultr Switch

* Resolved vultr sensor name and improved tests

* Improved Vultr switch testing (default name formatting)

* Removed vultr hub failure checking
* Fix problem with brightness

* Fix typo

* Typo
* Add heal_node and test_node services.

* lint
* Addition of new binary sensor class 'plug'

* use term "unplugged"

* add the entry to the right place
janLo and others added 9 commits November 16, 2017 20:32
This bumps the used snapcast version to 2.0.8 and enables the new
reconnect feature that causes the component to reconnect to a server if
the connection was lost.

This fixes the ned to restart Home Assstant after a snapcast reboot, as
described in issue #10264.

Signed-off-by: Jan Losinski <[email protected]>
* Added logic to the alexa component for handling slot synonyms

* Moved note with long url to the top of the file

* Just made a tiny url instead of messing with Flake8

* Refactored to be more Pythonic

* Put trailing comma back
* added sorted() to python_script

* fixed lint errors
* Add loglinefetch for frontend API call

* Too many blank lines

* Review changes

* review changes

* Only return a text

* Use aiohttp

* Don't do I/O in event loop

* Move lines to query and default to 0

* Small fixes
@andrey-git
Copy link
Contributor

Maybe add a warning in the frontend section, that currently using latest breaks Polymer2-transpiled elements, like in Andrey's Custom UI

@devspacenine
Copy link
Contributor

I don't see why the continuous-integration/travis-ci/pr step failed

balloob and others added 7 commits November 17, 2017 19:09
* Fixes AirVisual bug regarding incorrect location data

* Owner-requested changes
* Initial scene support

* Initial fan support

* ordering

* Initial lock support

* Scenes cant be deactivated; Correct the scene display category

* Initial input_boolean support

* Support customization of Alexa discovered entities

* Initial media player support

* Add input_boolean to tests

* Add play/pause/stop/next/previous to media player

* Add missing functions and pylint

* Set manufacturerName to Home Assistant since the value is displayed in app

* Add scene test

* Add fan tests

* Add lock test

* Fix volume logic

* Add volume tests

* settup -> setup

* Remove unused variable

* Set required scene description as per docs

* Allow setting scene category (ACTIVITY_TRIGGER/SCENE_TRIGGER)

* Add alert, automation and group support/tests

* Change display categories to match docs

* simplify down the display category props into a single prop which can be used on any entity

* Fix tests to expect proper display categories

* Add cover support

* sort things

* Use generic homeassistant domain for turn on/off
* Update entity.py

* Update entity.py
Fixes AirPlay issues on newer versions of tvOS.
* Implement entity and domain exclude/include for Alexa

* Switch to using generate_filter

* Use proper domain for turn on/off calls except for groups where we must use the generic homeassistant.turn_on/off

* travis fixes

* Untangle

* Lint
@balloob balloob merged commit d9a6d9e into master Nov 18, 2017
@balloob balloob deleted the release-0-58 branch November 18, 2017 06:27
@fabaff
Copy link
Member

fabaff commented Nov 18, 2017

Documentation update: home-assistant/home-assistant.io#4001

@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.