Commit Graph

20559 Commits (e685f077aec5fef455c96ddb82afd93fd2fcaebb)

Author SHA1 Message Date
Pascal Vizeli e685f077ae
Update Dockerfile 2019-08-10 12:27:32 +02:00
Pascal Vizeli 12f4076f70
Update Dockerfile 2019-08-10 12:15:36 +02:00
Cameron Morris f30e54f01e Fix eco preset for Wink Air Conditioner ()
* Add preset support for device
* Provide mappings between preset changes
2019-08-09 17:05:05 -07:00
Tomi Lehto b79f1336be Fix 64-bit modbus sensor register reads ()
* Fix 64-bit modbus sensor register reads

When reading four 16-bit modbus registers as a sensor value,
slave output is stored first as 64-bit integer, but before returning
that value is converted to double precision floating point. This
causes rounding errors for integer values bigger than 2^53.

After this change floating point conversion is done only if user
has configured scaling or offset using floating points.

* Formatting

* Review fixes
2019-08-09 17:03:12 -07:00
David F. Mulcahey fafd228418 Refactor ZHA device initialized logic ()
* refactor device initialized
* better names and update tests
* clean up last seen logic
* logging consistency
2019-08-09 18:52:47 -04:00
escoand dc5c1783dc Webhook for Traccar ()
* add initial traccar webhook support

* remove unused import

* add tests but disabled atm

* remove translations

* add timestamp parameter

* use post for tests

* rename config_flow

* format using black

* format tests using black

* Use str instead of float

* fix most comments

* check id

* add two device test

* reformat

* fix failuers

* Update tests/components/traccar/test_init.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Update tests/components/traccar/test_init.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Update tests/components/traccar/test_init.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Update tests/components/traccar/test_init.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* black
2019-08-10 00:14:03 +02:00
Thomas Lovén 60dfa38717 Add error handling to !include command in yaml ()
* Catch errors if !include file is not found

* Address review comments

* Add line number to error message
2019-08-09 13:21:08 -07:00
Brandon Davidson f58106c7b7 Update pyvera to 0.3.3 ()
Fixes 
2019-08-09 13:20:26 -07:00
Santobert a66814c772 Add script to install locale () 2019-08-09 21:08:35 +02:00
Andrew Sayre 6909235d8a Fix brightness type () 2019-08-09 11:41:50 -07:00
Tomi Lehto 5b516fc0cd Add arcus trigonometry functions to templates () 2019-08-09 11:16:47 -07:00
Dustin Essington a0494e44eb Update HIBP sensor to use API v3 and API Key ()
* Update HIBP sensor to use API v3 and API Key

* ran black code formatter

* fixed stray , that was invalid in multiple json formatters
2019-08-09 10:54:33 -07:00
Nikolay Vasilchuk 8b6ddc22a5 Fix deconz allow_clip_sensor and allow_deconz_groups options () 2019-08-09 19:31:58 +02:00
miroslawkrol ecddeb2dd1 Fix Broadlink MP1 unavailable error () 2019-08-09 18:21:18 +03:00
Franck Nijhof e47ed0e182
Deprecates linksys_ap integration (ADR-0004) () 2019-08-09 16:47:08 +02:00
Finbarr Brady 4349b8640e Update Cisco Mobility Express module version ()
* Update manifest.json

* Update requirements_all.txt
2019-08-08 22:59:33 +02:00
jjlawren 8f2f770837 Don't track unstable attributes () 2019-08-08 14:43:53 -05:00
Robert Dunmire III 4bcef25486 Add Mikrotik hub and rework device tracker ()
* Add const.py for Mikrotik hub

* Add Mikrotik hub component

* Rework device tracker to use hub

* Fix validation errors

* Fix line spacing

* Bump librouteros version to 2.3.0

* Bump librouteros version to 2.3.0

* Used black code formatter

* Fix validation errors

* Fix errors

* Fix errors

* Renamed MikrotikAPI to MikrotikClient

* Fix method

* Fix device_tracker and rename ssl to use_ssl

* Moved device tracker functions into device tracker

* Fix missing constants

* Fix device tracker host_name

* Fix errors

* Fix device tracker typo

* Adding device tracker attributes

* Change attributes order

* Change attributes order

* Add one more attribute

* Reformat black

* Exclude Mikrotik modules

* Remove async calls

* Remove unused import

* Adding scan interval to device tracker

* Fix errors and update code

* Fix error

* Fix missing period

* Update device tracker to use setup_scanner

* Fix hass.data HOSTS

* Fix errors

* Fix errors

* Fixes and updates

* Fixing and reworking

* Fixes

* Fix constant INFO

* get_hostname fix and return value
2019-08-08 13:58:13 +02:00
Pascal Vizeli 0fa1e3ac92
Update azure-pipelines-release.yml 2019-08-08 11:32:52 +02:00
Joakim Plate d1b9ebc7b2 Integration requirement check refactor ()
* Factor out code getting requirements for integration

* Have process requirements raise an exception

* One more lint fix

* Blackify

* Catch new exception

* Let RequirementsNotFound be a HomeAssistantError

* Correct another test

* Split catching of exceptions and avoid complete log
2019-08-07 15:35:50 -07:00
Santobert c3455efc11 Updater component is always available and shows on/off depending on whether an update is available or not ()
* Updater Component is always available and shows on/off wether an update is available

* Use == instead of is to compare strings

* Edit log message  when local version is newer

* One more commit to trigger CI

* Add binary sensor

* Remove ATTR

* Use dispatcher

* Use callback instead of async

* Make flake happy

* Fix callback

* discover binary sensor

* flake

* Fix discovery

* prepared tests, TODO

* Fix tests

* Test release notes

* Add one more test

* Add another test

* Add docstring

* Revert "Add another test"

This reverts commit 3f896a4e3b.

* Remove unused file

* Update docstrings

* mock time

* Test renaming entity

* Add test_rename_entity

* Improve test_rename_entity
2019-08-07 15:28:22 -07:00
Pascal Vizeli 1739f50b59 Update azure-pipelines-wheels.yml for Azure Pipelines 2019-08-07 21:58:11 +02:00
Franck Nijhof 07499faa9c Deprecates srp_energy integration (ADR-0004) () 2019-08-07 21:41:44 +02:00
Franck Nijhof 84f464d089 Deprecates fedex integration (ADR-0004) () 2019-08-07 15:26:43 +02:00
Franck Nijhof b696f9ce5e Deprecates ups integration (ADR-0004) () 2019-08-07 13:41:35 +02:00
Franck Nijhof d3aac13065 Deprecates sytadin integration (ADR-0004) () 2019-08-07 13:40:47 +02:00
Franck Nijhof 2b6674b27f Deprecates usps integration (ADR-0004) () 2019-08-07 13:40:30 +02:00
Alexei Chetroi c3c45f8198
Manufacturer specific channel for SmartThings. ()
* Manufacturer specific channel for SmartThings.
* Lint.
2019-08-06 20:59:18 -04:00
Erik Montnemery e0be4efe3e Add test case to identify missing MQTT configuration abbreviations ()
* Add missing abbreviations

* Move abbreviations to own file, add script to find missing abbreviations

* Move check from script to test case

* Lint

* Rewrite to use pathlib

* Lint
2019-08-06 17:32:15 -07:00
eyager1 506350da11 Implement "Aux Heat" support for Zwave Climate ()
* Remove "Aux Heat" from Zwave climate mappings

* Implement Aux Heat support for zwave climate

* Pylint fix.

* Pylint fix 2nd try
2019-08-06 17:24:17 -07:00
Alexei Chetroi 152a9eb466
Use more decorators for ZHA Core registries. ()
* Move ZIGBEE_CHANNEL_REGISTRY to ZHA core registries.
* Refactor more ZHA Core registries to use decorator.
* Cleanup.
* Use relative imports for component.
* Flake8.
* Make pylint happy again.
2019-08-06 20:01:14 -04:00
Ross Dargan 98eb8efc6b Add ring light platform ()
* Add support for turning a flood light on and off

* changes following black

* update following code review, and test fix

* fix naming
2019-08-06 14:55:54 -07:00
Robert Svensson c76531a366 Fix last seen not available on certain devices () 2019-08-06 14:55:36 -07:00
Paulus Schoutsen e24d3f15fd Revert emulated hue changes () 2019-08-06 13:46:07 -05:00
Tsvi Mostovicz 54d6acf87a Bump hdate==0.9.0 (use pytz instead of dateutil) ()
Use new hdate version of library which uses pytz for timezones.
dateutil expects /usr/share/timezone files, as these are not available
in the docker image and in HASSIO, the timezone offsets are broken.

This should fix
 - 
 - 
2019-08-06 11:03:52 -05:00
David Bonnes a76bb5e82c initial commit () 2019-08-06 11:03:08 -05:00
Paulus Schoutsen 778cd7da32 Updated frontend to 20190805.0 2019-08-06 08:54:28 -07:00
Ross Dargan 9e8df936ac Add ring switch platform ()
* Add in a switch platform to ring.

* Changes following code review

* remove tests for now

* remove the request to call update

* support the new type of test

* update after running black

* fix comment

* fixes following code review

* Remove ring cache file

* patch out io code

* Move the patches to within a fixture

* missing period
2019-08-06 14:39:07 +02:00
Robert Svensson 7ff7c7b9f5
UniFi - handle device not having a name ()
* Handle device not having a name
2019-08-06 07:00:06 +02:00
Sébastien RAMAGE 5b02555255 Add zigate support to zha ()
* Add zigpy-zigate support
* update requirements
* fix
* update
* fix flake8
* update requirements
* fix
* update
* add test to make codecov happy
* fix flake8
* Try to add test
* add test
* remove unneeded test
* exclude registries.py from coverage
exclude homeassistant/components/zha/core/registries.py  since untestable

* Fix merge: black formatting and flake8.
2019-08-05 18:05:07 -04:00
Alexei Chetroi 8dbac9176e Refactor ZHA Zigbee channel registry. ()
* Update test to catch regression.

* Refactor ZHA Core channels.

Use channel decorator for Zigbee channel registry.

* Update tests.

* Pylint
2019-08-05 15:40:29 -06:00
Jesse Rizzo 8241193fa8 Bump envoy_reader to 0.8.6, fix missing dependency ()
* Bump envoy_reader to 0.8.6, fix missing dependency

* Bump envoy_reader to 0.8.6, fix missing dependency
2019-08-05 23:15:42 +02:00
Paulus Schoutsen 7a90808e52 Add service to reload scenes from configuration.yaml ()
* Allow reloading scenes

* Update requirements

* address comments

* fix typing

* fix tests

* Update homeassistant/components/homeassistant/scene.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Address comments
2019-08-05 23:04:19 +02:00
Jeff Irion 0449132c35 Bump androidtv to 0.0.21; add 'state_detection_rules' config parameter ()
* Bump androidtv to 0.0.19; add 'state_detection_rules' config parameter

* Bump androidtv to 0.0.20

* Add detailed config check for 'state_detection_rules'

* Linting

* Remove unused variable

* Bump androidtv to 0.0.21, move config validation into backend package

* dict() -> {}

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
2019-08-05 18:58:41 +02:00
David F. Mulcahey b073d87e08 stagger device init to avoid flooding network () 2019-08-05 10:14:19 -04:00
David F. Mulcahey 20b54c22f7
don't mark devices unavailable without ping try () 2019-08-05 09:50:48 -04:00
David F. Mulcahey ac5fcff1cd fix unique id in cluster channels () 2019-08-05 08:47:42 -04:00
jaminh 5e00b546eb Zwave Climate: Fan state attribute missing () ()
Add fan state back in to device state attributes
Change fan state to fan action
2019-08-05 12:25:48 +02:00
Pascal Vizeli cecfb2d657 Update azure-pipelines-wheels.yml for Azure Pipelines 2019-08-05 08:54:44 +02:00
Paulus Schoutsen 57f84cbbaa Update HTTP defaults ()
* Update HTTP defaults

* Fix tests
2019-08-05 08:24:54 +02:00