cgtobi
8652c84745
Fix Netatmo rain gauge precision ( #25036 )
2019-07-09 19:57:29 +02:00
Franck Nijhof
36ed725ab4
Improve toon climate ( #25040 )
...
* Renames internal climate state variable to preset
* Shorten function comments
* Updates local variables on preset and temp changes
* Adds support for hvac_action
2019-07-09 19:52:38 +02:00
Malte Franken
cf5a35a421
updated geojson_client library to version 0.4 ( #25039 )
2019-07-09 13:06:10 -04:00
Fabian Affolter
8256d72f6d
Upgrade youtube_dl to 2019.07.02 ( #24990 )
...
* Upgrade youtube_dl to 2019.07.01
* Update homeassistant/components/media_extractor/manifest.json
Co-Authored-By: Josef Schlehofer <pepe.schlehofer@gmail.com>
* Update requirements_all.txt
Co-Authored-By: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-09 13:03:52 -04:00
Pascal Vizeli
25745e9e27
Update build pipeline
2019-07-09 15:32:09 +02:00
Franck Nijhof
3ce1049d21
Centralizes Toon data, reducing API calls ( #23988 )
...
* Centralizes Toon data, reducing API calls
Fixes #21825
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Fixes bad copy past action in services.yaml
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Addresses review comments
Signed-off-by: Franck Nijhof <frenck@addons.community>
* 👕 Fixes too many blank lines
* Unsub dispatcher
2019-07-09 14:18:51 +02:00
arigilder
f3e542542a
Add missing support for jewish_calendar.omer_count sensor ( #24958 )
...
* Add missing support for omer_count to jewish_calendar
* Add tests for omer sensor
* Add tests for omer after tzeit hakochavim
* Lint fixes
2019-07-09 11:58:57 +02:00
cgtobi
07b635e7aa
Fix Netatmo climate presets ( #25029 )
...
* Fix netatmo presets
* Remove off mode for valves
* Revert usage of global const
* Flip values
* Remove try...except block
2019-07-09 10:40:02 +02:00
Aaron Bach
c2e843cbc3
Add support for Notion Home Monitoring ( #24634 )
...
* Add support for Notion Home Monitoring
* Updated coverage
* Removed auto-generated translations
* Stale docstrings
* Corrected hardware version
* Fixed binary sensor representation
* Cleanup and update protection
* Updated log message
* Cleaned up is_on
* Updated docstring
* Modified which data is updated during async_update
* Added more checks during update
* More cleanup
* Fixed unhandled exception
* Owner-requested changes (round 1)
* Fixed incorrect scan interval retrieval
* Ugh
* Removed unnecessary import
* Simplified everything via dict lookups
* Ensure bridges are properly registered
* Fixed tests
* Added catch for invalid credentials
* Ensure bridge ID is updated as necessary
* Updated method name
* Simplified bridge update
* Add support for updating bridge via_device_id
* Device update guard clause
* Removed excess whitespace
* Whitespace
* Owner comments
* Member comments
2019-07-09 10:29:06 +02:00
Andrew Sayre
7a5fca69af
Add hvac fan state ( #25030 )
2019-07-09 09:59:48 +02:00
Franck Nijhof
3016d3a186
Toon fixes for Climate 1.0 ( #25027 )
2019-07-09 08:44:30 +02:00
Andrew Sayre
a31e49c857
Improve SmartThings test mocking ( #25028 )
...
* Migrate to asynctest
* Simplify mock access
* Use mocks
2019-07-08 22:39:55 -04:00
Joakim Plate
2fbbcafaed
Support config flow on custom components ( #24946 )
...
* Support populating list of flows from custom components
* Re-allow custom component config flows
* Add tests for custom component retrieval
* Don't crash view if no handler exist
* Use get_custom_components instead fo resolve_from_root
* Switch to using an event instead of lock
* Leave list of integrations as set
* The returned list is not guaranteed to be ordered
Backend uses a set to represent them.
2019-07-09 01:19:37 +02:00
Pascal Vizeli
a2237ce5d4
homematic add off support for climate ( #25017 )
...
* homematic add off support for climate
* fix lint
2019-07-09 00:00:25 +02:00
Daniel Høyer Iversen
af7f61fec2
ambiclimate hvac_modes ( #25015 )
...
* ambiclimate hvac_modes
* style
2019-07-08 14:12:23 -07:00
Paulus Schoutsen
26a66276cd
Fix Nest sensor ( #25023 )
2019-07-08 14:12:02 -07:00
Phil Bruckner
9944e675a5
Add template support to state trigger's for option ( #24912 )
2019-07-08 13:59:58 -07:00
Phil Bruckner
f9b9883aba
Add template support to numeric_state trigger's for option ( #24955 )
2019-07-08 13:58:50 -07:00
Phil Bruckner
1431fd6fbd
Add datetime option to input_datetime.set_datetime service ( #24975 )
2019-07-08 13:18:42 -07:00
Paulus Schoutsen
b11171aaeb
Fix mimetypes on borked Windows machines ( #25018 )
2019-07-08 13:16:22 -07:00
Paulus Schoutsen
0b7a901c81
Fix ecobee flaky test ( #25019 )
2019-07-08 13:10:01 -07:00
Daniel Høyer Iversen
662e0dde80
Sensibo, add HVAC_MODE_OFF ( #25016 )
2019-07-08 13:17:59 -04:00
Joakim Plate
ab832cda71
Add support for arcam fmj receivers ( #24621 )
...
* Add arcam_fmj support
* Just use use state in player avoid direct client access
* Avoid leaking exceptions on invalid data
* Fix return value for volume in case of 0
* Mark component as having no coverage
* Add new requirement
* Add myself as maintainer
* Correct linting errors
* Use async_create_task instead of async_add_job
* Use new style string format instead of concat
* Don't call init of base class without init
* Annotate callbacks with @callback
Otherwise they won't be called in loop
* Reduce log level to debug
* Use async_timeout instead of wait_for
* Bump to version of arcam_fmj supporting 3.5
* Fix extra spaces
* Drop somewhat flaky unique_id
* Un-blackify ident to satisy pylint
* Un-blackify ident to satisy pylint
* Move default name calculation to config validation
* Add test folder
* Drop unused code
* Add tests for config flow import
2019-07-08 17:14:19 +02:00
Jesse Rizzo
f90fe7e628
Enphase envoy individual inverter production ( #24445 )
...
* bump envoy_reader version to 0.4
* bump dependency envoy_reader to 0.4
* Enphase envoy get individual inverter production
* Add period in function description
* Fix dumb typo
* Define _attributes in __init__
* Better error messages, make update async
* Fix format error
* Fix pylint errors
* set unknown state to None
* Bump envoy_reader version to 0.8
* Change attributes to separate sensors
* Fix dumb thing
* Improve platform_setup for inverters
* Remove unneeded self._attributes, refactor platform setup
* Refactor platform setup
2019-07-08 10:21:08 -04:00
Chris Johnston
32685f16bf
Implement Twilio SMS notify MediaUrl support ( #24971 )
...
* Implement Twilio SMS notify MediaUrl support
Adds support for setting the `media_url` parameter of the twilio API
client with an optional attribute under the notify `data`
attribute.
Per the twilio docs (https://www.twilio.com/docs/sms/send-messages#include-medi$
this feature is only available in the US and Canada, for
GIF, PNG, or JPEG content.
* lint: fix 80 char ruler
* use kwargs to set the media_url
after testing locally, seems like the previous way of using
object() was not working. this seems to be working
* re-use the ATTR_MEDIAURL attribute
2019-07-08 14:05:15 +02:00
Pascal Vizeli
84cf76ba36
Climate 1.0 ( #23899 )
...
* Climate 1.0 / part 1/2/3
* fix flake
* Lint
* Update Google Assistant
* ambiclimate to climate 1.0 (#24911 )
* Fix Alexa
* Lint
* Migrate zhong_hong
* Migrate tuya
* Migrate honeywell to new climate schema (#24257 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* Fix PRESET can be None
* apply PR#23913 from dev
* remove EU component, etc.
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* apply PR#23913 from dev
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* delint, move debug code
* away preset now working
* code tidy-up
* code tidy-up 2
* code tidy-up 3
* address issues #18932 , #15063
* address issues #18932 , #15063 - 2/2
* refactor MODE_AUTO to MODE_HEAT_COOL and use F not C
* add low/high to set_temp
* add low/high to set_temp 2
* add low/high to set_temp - delint
* run HA scripts
* port changes from PR #24402
* manual rebase
* manual rebase 2
* delint
* minor change
* remove SUPPORT_HVAC_ACTION
* Migrate radiotherm
* Convert touchline
* Migrate flexit
* Migrate nuheat
* Migrate maxcube
* Fix names maxcube const
* Migrate proliphix
* Migrate heatmiser
* Migrate fritzbox
* Migrate opentherm_gw
* Migrate venstar
* Migrate daikin
* Migrate modbus
* Fix elif
* Migrate Homematic IP Cloud to climate-1.0 (#24913 )
* hmip climate fix
* Update hvac_mode and preset_mode
* fix lint
* Fix lint
* Migrate generic_thermostat
* Migrate incomfort to new climate schema (#24915 )
* initial commit
* Update climate.py
* Migrate eq3btsmart
* Lint
* cleanup PRESET_MANUAL
* Migrate ecobee
* No conditional features
* KNX: Migrate climate component to new climate platform (#24931 )
* Migrate climate component
* Remove unused code
* Corrected line length
* Lint
* Lint
* fix tests
* Fix value
* Migrate geniushub to new climate schema (#24191 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* delinted
* delinted
* use latest client
* clean up mappings
* clean up mappings
* add duration to set_temperature
* add duration to set_temperature
* manual rebase
* tweak
* fix regression
* small fix
* fix rebase mixup
* address comments
* finish refactor
* fix regression
* tweak type hints
* delint
* manual rebase
* WIP: Fixes for honeywell migration to climate-1.0 (#24938 )
* add type hints
* code tidy-up
* Fixes for incomfort migration to climate-1.0 (#24936 )
* delint type hints
* no async unless await
* revert: no async unless await
* revert: no async unless await 2
* delint
* fix typo
* Fix homekit_controller on climate-1.0 (#24948 )
* Fix tests on climate-1.0 branch
* As part of climate-1.0, make state return the heating-cooling.current characteristic
* Fixes from review
* lint
* Fix imports
* Migrate stibel_eltron
* Fix lint
* Migrate coolmaster to climate 1.0 (#24967 )
* Migrate coolmaster to climate 1.0
* fix lint errors
* More lint fixes
* Fix demo to work with UI
* Migrate spider
* Demo update
* Updated frontend to 20190705.0
* Fix boost mode (#24980 )
* Prepare Netatmo for climate 1.0 (#24973 )
* Migration Netatmo
* Address comments
* Update climate.py
* Migrate ephember
* Migrate Sensibo
* Implemented review comments (#24942 )
* Migrate ESPHome
* Migrate MQTT
* Migrate Nest
* Migrate melissa
* Initial/partial migration of ST
* Migrate ST
* Remove Away mode (#24995 )
* Migrate evohome, cache access tokens (#24491 )
* add water_heater, add storage - initial commit
* add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
* Add Broker, Water Heater & Refactor
add missing code
desiderata
* update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
* bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
* support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
* store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
* update CODEOWNERS
* fix regression
* fix requirements
* migrate to climate-1.0
* tweaking
* de-lint
* TCS working? & delint
* tweaking
* TCS code finalised
* remove available() logic
* refactor _switchpoints()
* tidy up switchpoint code
* tweak
* teaking device_state_attributes
* some refactoring
* move PRESET_CUSTOM back to evohome
* move CONF_ACCESS_TOKEN_EXPIRES CONF_REFRESH_TOKEN back to evohome
* refactor SP code and dt conversion
* delinted
* delinted
* remove water_heater
* fix regression
* Migrate homekit
* Cleanup away mode
* Fix tests
* add helpers
* fix tests melissa
* Fix nehueat
* fix zwave
* add more tests
* fix deconz
* Fix climate test emulate_hue
* fix tests
* fix dyson tests
* fix demo with new layout
* fix honeywell
* Switch homekit_controller to use HVAC_MODE_HEAT_COOL instead of HVAC_MODE_AUTO (#25009 )
* Lint
* PyLint
* Pylint
* fix fritzbox tests
* Fix google
* Fix all tests
* Fix lint
* Fix auto for homekit like controler
* Fix lint
* fix lint
2019-07-08 14:00:24 +02:00
Joakim Plate
c2f1c4b981
Correct socket use in cert_expiry platform ( #25011 )
...
* Make sure we use same family for ssl socket and connection
getaddrinfo result could be different from what connection
was made with. It also blocks potential use of
happy eye balls algorithm
This also fixes lingering sockets until python garbage
collection.
* Add availability value if unable to get expiry
* Fix lint issue
2019-07-08 11:33:23 +02:00
Seweryn Zeman
31d7b702a6
Added missing yeelight models mapping ( #24963 )
2019-07-07 23:50:48 -04:00
Joakim Sørensen
df4caf41d0
Install requirements for integrations in packages before importing them. ( #25005 )
...
* Process requirements for integrations in packages before loading
* trigger buld
2019-07-07 12:04:30 -07:00
Tom Harris
0595fc3097
Upgrade insteonplm to 0.16.0 and add INSTEON scene triggering ( #24765 )
...
* Upgrade insteonplm to 0.16.0 and add INSTEON scene triggering
* Fix spacing issue
* Dummy commit to trigger CLA
* Remove dummy change
* Code review changes
* Use ENTITY_MATCH_ALL keyword from const and lint cleanup
* Make entity method print_aldb private
2019-07-07 20:31:04 +02:00
Tsvi Mostovicz
b0dc782c98
Upgrade hdate==0.8.8 ( #25008 )
...
This should fix incosistencies between issur_melacha_in_effect sensor and candle_lighting time.
Probably fixes #24479 and #23852
2019-07-07 17:32:54 +02:00
Daniel Høyer Iversen
ecd7f86df0
upgrade switchmate to latest lib ( #25006 )
2019-07-07 13:02:13 +02:00
Ville Skyttä
b834671555
Test dependency updates ( #25004 )
...
* Upgrade pytest to 5.0.1
https://docs.pytest.org/en/latest/changelog.html#pytest-5-0-1-2019-07-04
* Upgrade asynctest to 0.13.0
* Upgrade requests_mock to 1.6.0
2019-07-07 12:30:31 +02:00
Dave T
6e24b52a7e
Add support for aurora ABB Powerone solar photovoltaic inverter ( #24809 )
...
* Add support for aurora ABB Powerone solar photovoltaic inverter
* Add support for aurora ABB Powerone solar photovoltaic inverter
* Update stale docstring
* Fixed whitespace lint errors
* Remove test code
* Delete README.md
Website documentation contains setup instructions. README not needed here.
* Only close the serial line once.
* Correct newlines between imports
* Change add_devices to add_entites and remove unnecessary logging.
* Use new style string formatting instead of concatenation
* Directly access variables rather than via config.get
* Update sensor.py
2019-07-07 11:22:21 +02:00
David Winn
628e12c944
Sleepiq single sleeper crash ( #24941 )
...
* Update sleepyq to 0.7
Fixes crash when working with a single sleeper.
* sleepiq: Handle null side definitions
These happen if no sleeper is defined for a side of the bed. Don't
create sensors for null sides; they'll crash every time we try to use
them.
* sleepiq: Fix urls mocked to match sleepyq 0.7
* sleepi: Fix test_sensor.TestSleepIQSensorSetup
Sleepyq 0.7 throws on empty strings, so we have to specify them.
* sleepiq: Test for ValueError thrown by sleepyq 0.7
* sleepiq: Drop no longer used HTTPError import
* sleepiq: Add tests for single sleeper case
* sleepiq: Shorten comments to not overflow line length
* sleepiq: Use formatted string literals for adding suffixes to test files
* sleepiq: Use str.format() for test suffixing
2019-07-07 08:40:02 +02:00
Penny Wood
adbec5bffc
Changes as per code review of #24646 ( #24917 )
2019-07-07 07:36:57 +02:00
Ville Skyttä
e8a5306c23
Upgrade mypy to 0.711, drop no longer needed workarounds ( #24998 )
...
https://mypy-lang.blogspot.com/2019/06/mypy-0711-released.html
2019-07-07 03:58:33 +02:00
Franck Nijhof
b274b10f38
Adds Stale Probot for issues ( #24985 )
...
* Adds Stale Probot for issues
* Do not ignore assigned issues
* Small language tweak in mark comment
2019-07-06 20:18:20 +02:00
Franck Nijhof
ac4f2c9f73
Adds Lock Threads Probot ( #24984 )
2019-07-06 19:48:08 +02:00
Paul Annekov
97ed7fbb3f
Switched from tuyapy to tuyaha as 1st one is not maintained ( #24821 )
2019-07-06 10:39:49 -07:00
Robert Dunmire III
003ca655ee
Fix errors if rest source becomes unavailable ( #24986 )
...
* Fix errors if rest source becomes unavailable
* Remove exclamation mark
2019-07-06 19:33:37 +02:00
Adriaan Peeters
412910ca65
Add sonos.play_queue service ( #24974 )
...
* Add sonos.play_queue service
* Add SERVICE_PLAY_QUEUE import in alphabetical order
* Add queue_position parameter for sonos.play_queue service
* Move queue_position default to schema definition
2019-07-06 17:19:03 +02:00
Franck Nijhof
31f569ada9
Batch of Component(s) -> Integration(s) ( #24972 )
2019-07-05 15:24:26 -07:00
Niels Mündler
e75c9efb3f
Fix monitoring of trays in syncthru component ( #24961 )
2019-07-05 11:23:17 +02:00
cgtobi
e93919673e
Implement ADR0003 for Netatmo sensor ( #24944 )
...
* Remove configurable monitored conditions
* Only process existing modules
* Remove unused import
* Fix linter error
2019-07-05 09:41:18 +02:00
John Mihalic
c814b39fdb
Update pyHik library to 0.2.3 ( #24957 )
2019-07-05 09:29:35 +02:00
Aaron Bach
a491f97eb9
Allow updating of via_device in device registry ( #24921 )
...
* Allow updating of via_device in device registry
* Added test
2019-07-04 19:10:23 -04:00
David F. Mulcahey
3c487928d4
New scanner device tracker and ZHA device tracker support ( #24584 )
...
* initial implementation for zha device trackers
* constant
* review comments
* Revert "review comments"
This reverts commit 2130823566820dfc114dbeda08fcdf76ed47a4e7.
* rename device tracker entity
* update trackers
* raise when not implemented
* Update homeassistant/components/device_tracker/config_entry.py
Review comment
Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
* move source type to base state attrs
* review comments
* review comments
* review comments
* fix super call
* fix battery and use last seen from device
* add test
* cleanup and add more to test
* cleanup post zha entity removal PR
* add tests for base entities
* rework entity tests
2019-07-04 12:44:39 +02:00
Steven Rollason
e824c553ca
Fix exclusion of routes with excl_filter ( #24928 )
...
Fix exclusion of routes with excl_filter (was including instead of excluding)
2019-07-03 19:48:01 -04:00
Chris Soyars
2634f35b4e
Add support for Yale YRL256 lock ( #24932 )
2019-07-03 19:29:21 -04:00