Skip to content

0.54#9532

Merged
balloob merged 104 commits into
masterfrom
release-0-54
Sep 23, 2017
Merged

0.54#9532
balloob merged 104 commits into
masterfrom
release-0-54

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Sep 22, 2017

New Platforms

Breaking Changes

  • Sensor - OneWire: This update changes the names of the sensors from <sensor_name> to <sensor_name> <Sensor_type> (@tcastberg - #9404) (sensor.onewire docs) (breaking change)
  • Renamed Xiaomi platforms to include their protocol names. xiaomi -> xiaomi_aqara, xiaomi_aqara.switch, xiaomi_aqara.light, xiaomi_aqara.binary_sensor, ... and vacuum.xiaomi, xiaomi_philipslight -> xiaomi_miio, vacuum.xiaomi_miio, light.xiaomi_miio (@danielhiversen - #9426) (breaking change)
  • Swiss Public Transport sensor: All times handled by the Swiss Public Transport sensor are now in ISO 8601 format. Please update your templates sensors and automations. (@fabaff - #9129) (sensor.swiss_public_transport docs) (breaking change)
  • iOS: All category identifiers need to be lowercase. If you do not update, it will break actionable notifications to IOS devices sent by scripts/automations. (@rbflurry - #9427) (breaking change)
  • Fitbit: Put endpoints behind /api like the other oauth-using components (@happyleavesaoc - #9460) (sensor.fitbit docs) (breaking change)

All changes

zabuldon and others added 30 commits September 7, 2017 18:20
Fix for potential issue with tesla initialization
* Adds the AirVisual air quality sensor platform

* Updated .coveragerc

* Removed some un-needed code

* Adding strangely-necessary pylint disable

* Removing a Python3.5-specific dict combiner method

* Restarting stuck coverage test

* Added units to AQI sensor (to get nice graph)

* Making collaborator-requested changes

* Removing unnecessary parameter from data object
* Add HTTP Basic auth to RESTful Switch

* Remove redundant hass passing

* Initialize to current state

The state used to be None until the first periodic poll.

This commit refactors async_update so it can be used during setup as well,
allowing the state to start out with the correct value.

* Refactor turn_on/turn_off device communication

* Remove lint

* Fix Travis errors
* Update html5.py

Bump pywebpush and PyJWT versions

* Update requirements_all.txt

* Update requirements_test_all.txt
The `braviatv`platform needs the `arp` command to finalize configuration. This resides in `/usr/sbin`, at least on macOS 10.10.
… entity panel (#9056)

* Add polling interval to value panel

* Blank lines removal

* Update tests

* Remove old config method

* Raound 1

* Round 2

* Comment spacing

* Expose value_id in attributes
* Round off probablity to 2 decimals.

* Update tests

* remove debug print
* Added mqtt_statestream component

* Added tests for mqtt_statestream component

* mqtt_statestream: add test for valid new_state

* mqtt_statestream: Don't set initialized state

* mqtt_statestream: Switch to using async_track_state_change

* Cleanup
owntracks (tested on ios version 9.6.3/de_DE) publishes single waypoints under the topic owntracks/<user>/<device>/waypoint (singular).
owntrack publishes a waypoint export (publish) under the topic owntracks/<user>/<device>/waypoints (plural).

the owntracks component did not catch my waypoint export to mqtt, only single waypoint updates (i.e. after editing a waypoint or creating a new one). these single waypoints were rejected „because of missing or malformatted data“. when i changed the WAYPOINT_TOPIC to 'owntracks/{}/{}/waypoints', owntracks imported my published waypoint list, after i triggered it under Setting / Publish Waypoints.
Follow [Twitter's guidance](https://dev.twitter.com/rest/reference/post/media/upload-finalize) for media uploads: "If and (only if) the response of the FINALIZE command contains a processing_info field, it may also be necessary to use a STATUS command and wait for it to return success before proceeding to Tweet creation."
* Added support to enable/disable motion detection for foscam cameras. This support was added in 0.48.1 as a generic service for cameras. Motion detection can be enabled/disabled for foscam cameras with this code-set.

* Fixed the violation identified by hound-bot

* Fixed the comment posted by HoundCI-Bot regarding using imperative mood statement for pydocstyle

* Fixed the error that travis-ci bot found.

* As per comment from @balloob, Instead of directly using the URL to talk to foscam, used a 3rd party foscam library to communicate with it. This library already has support to enable/disable motion detection and also APIs to change the motion detection schedule etc. Need to add more support in the pyfoscam 3rd party library for checking if motion was detected or even if sound was detected. Once that is done, we can add that into HASS as well.

* Lint

* Removed the requests library import which is not used anymore

* Updating requirements_all.txt based on the code-base of home assistant that i have. Generated using the gen_requirements_all.py script

* Updating requirements_all.txt and requirements_test_all.txt generated by gen_requirements_all.py after latest pull from origin/dev

* Updated requirements_all.txt with script

* Updated the foscam camera code to fix lint errors

* Fixed houndci violation

* Updating the foscam library dependency/requirements.

* Fixing the requirements_all file. Somehow when i generated, it generated duplicate entry for the same dependency
* Cleanup and simplitfy the async state update

* Update test_entity.py
* Update cloud logic

* Lint

* Update test requirements

* Address commments, fix tests

* Add credentials
* Allow multiple observations of same entity

Why:

* There may be different probabilities for multiple states of the same
entity.

This change addresses the need by:

* Keeping a list of observations for each entity to check on each state
change of the given entity.
* Adding a numeric id to each observation so that they can be
effectively added and removed from `self.current_obs`.
* Adding a test to confirm functionality.

* fix overzealous indenting
* Break up Alexa per functionality

* Lint

* Lint
* fix mopar sensor

* fix typo

* bump mopar dep version
There's a kind of duplication of functionality between NetDisco and
"xiaomi" component, the latter features its own "discovery" in addition
to general HomeAssistant discovery service, based on NetDisco. As such,
this patch is pretty simple: the only purpose of NetDisco discovery
is "plug and play", "zero configuration" discovery that Xiaomi Gateway
device is present on the local network, and triggering of "xiaomi"
component loading, which then "rediscovers" the gateway using its own
method.
* Add LANG to environment variables

Some componentes, e.g. tradfri, will not work properly unless LANG is an UTF-8 environment.

* Set LC_CTYPE to UTF-8
vickyg3 and others added 11 commits September 20, 2017 12:18
* abode: Bump abodepy dependency to 0.11.7

Fixes cases where one's abode account has a nest thermostat
linked (MisterWil/abodepy#17).

* abode: Bump abodepy dependency to 0.11.7

Fixes cases where one's abode account has a nest thermostat
linked (MisterWil/abodepy#17).

* update requirements_all.txt
This gets displayed when clicking on the binary sensors. It is
useful to distinguish different devices with the same name (e.g.
the room name) but different types.
* added services.yaml integration to input_boolean

* added services integration for input_boolean

* removed trailing spaces
* Add reload service

* add reload test

* Use global variable

* remove white space ....

* adjust as suggested

* remove annoying white space....

* fix travis

* fix travis, again

* rename Load_scripts to Discover_scripts

Travis complains that "Load_scripts" is an invalid name (I don't know why)

* Update python_script.py
…#9507)

* MQTT Binary Sensor - Add availability_topic for online/offline status

Added topic, configurable payloads, and tests.

* Relocated state subscribe function

Moved state subscribe function to follow the state listener function.
…lor (#9526)

With this optimization we can send a single UDP packet to the light rather
than one packet per zone (up to 80 packets for LIFX Z). This removes a
potential multi-second latency on the frontend color picker.
@balloob balloob requested review from a team and emlove as code owners September 22, 2017 04:22
@mention-bot
Copy link
Copy Markdown

@balloob, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff, @robbiet480 and @jnewland to be potential reviewers.

@rbflurry
Copy link
Copy Markdown
Contributor

@balloob #9427 Will break actionable notifications to IOS devices sent by scripts/automations if the category identifier is not lowercase.

service: notify.ios_<your_device_id_here>
data:
  message: Motion detected in the Living Room
  data:
    push:
      category: CAMERA # this needs be lowercase. after 9427 is merged
    entity_id: camera.demo_camera

@emlove
Copy link
Copy Markdown
Contributor

emlove commented Sep 22, 2017

@rbflurry Labeled your PR as Breaking Change. Either here or in that PR, could you write up a paragraph explaining the change suitable to include in the release notes? Thanks!

@danielperna84
Copy link
Copy Markdown
Contributor

0.53 introduced a bug with the HomeMatic component (#9360) which breaks the usage of the variables available on the HomeMatic hub. This has already broken the setups of a few people in the forum. I wonder if it should be mentioned in the release blogpost that people still running HASS < 0.53 should not update until the bug is fixed IF they are using the variables. Any opinions on this?

@balloob
Copy link
Copy Markdown
Member Author

balloob commented Sep 23, 2017

@danielperna84 can you write up a paragraph and I'll include it in the release notes.

MisterWil and others added 3 commits September 22, 2017 22:01
* Update requirements_all.txt

* Update abode.py
* update usps

* fix syntax issue
* Bump python_openzwave to 0.4.0.35

* Cleanup
@balloob balloob merged commit d1d9704 into master Sep 23, 2017
@balloob balloob deleted the release-0-54 branch September 23, 2017 05:24
@danielperna84
Copy link
Copy Markdown
Contributor

Sure @balloob :
Version 0.53 introduced a bug in the HomeMatic component which breaks the usage of system variables on the CCU / Homegear. This has not been fixed yet. If you are using these variables in your automations you should skip updates until the bug has been resolved. Upgrading is safe however if you only interact with devices.

@home-assistant home-assistant locked and limited conversation to collaborators Mar 3, 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.