Thomas Germain
4936e55979
Improve seventeentrack ( #25454 )
...
* Code improvement + tests
* review
* review + moving to pytest test function
* move test to async
* remove code comment
2019-07-28 19:55:46 +02:00
Robert Svensson
da53e0a836
deCONZ - Add power attribute for consumption sensors ( #25512 )
...
* Add power attribute for consumption sensors
* Bump dependency to v62
2019-07-28 18:25:38 +02:00
Robert Svensson
b6934f0cd0
UniFi block clients ( #25478 )
...
* Allow blocking clients on UniFi networks
2019-07-25 16:56:56 +02:00
Alexei Chetroi
c886d00bab
Bump up ZHA dependencies. ( #25450 )
2019-07-23 20:51:40 -04:00
Joe Trabulsy
a8ec826ef7
Add Support for VeSync Devices - Outlets and Switches ( #24953 )
...
* Change dependency to pyvesync-v2 for vesync switch
* async vesync component
* FInish data_entry_flow
* Update config flow
* strings.json
* Minor fix
* Syntax fix
* Minor Fixs
* UI Fix
* Minor Correct
* Debug lines
* fix device dictionaries
* Light switch fix
* Cleanup
* pylint fixes
* Hassfest and setup scripts
* Flake8 fixes
* Add vesync light platform
* Fix typo
* Update Devices Service
* Fix update devices service
* Add initial test
* Add Config Flow Tests
* Remove Extra Platforms
* Fix requirements
* Update pypi package
* Add login to config_flow
Avoid setting up component if login credentials are invalid
* Fix variable import
* Update config_flow.py
* Update config_flow.py
* Put VS object into hass.data instead of config entry
* Update __init__.py
* Handle Login Error
* Fix invalid login error
* Fix typo
* Remove line
* PEP fixes
* Fix change requests
* Fix typo
* Update __init__.py
* Update switch.py
* Flake8 fix
* Update test requirements
* Fix permission
* Address change requests
* Address change requests
* Fix device discovery indent, add MockConfigEntry
* Fix vesynclightswitch classs
* Remove active time attribute
* Remove time_zone, grammar check
2019-07-23 23:40:55 +02:00
Anders Melchiorsen
5e805768aa
Update pysonos to 0.0.22 ( #25399 )
2019-07-23 06:31:05 +02:00
Paulus Schoutsen
0be2dad651
Updated frontend to 20190721.1
2019-07-21 13:02:16 -07:00
Paulus Schoutsen
7f5607c918
Updated frontend to 20190721.0
2019-07-21 10:03:25 -07:00
Paulus Schoutsen
95223cb9ea
Updated frontend to 20190720.0
2019-07-20 18:01:28 -07:00
Paulus Schoutsen
fd2d6c8a74
Updated frontend to 20190719.0
2019-07-19 09:43:03 -07:00
Aaron Bach
003f7865a9
Add services to set and remove Simplisafe PINs ( #25207 )
...
* Add services to set and remove SimpliSafe PINs
* Added services spec
* Add services to set and remove SimpliSafe PINs
* Member comments
* Missed one
2019-07-18 22:07:07 -06:00
Paulus Schoutsen
997187c7d3
Updated frontend to 20190718.0
2019-07-18 14:07:55 -07:00
Paulus Schoutsen
7089188fd5
Updated frontend to 20190717.1
2019-07-17 15:27:25 -07:00
Aaron Bach
4e20e4964e
Bump simplisafe-python to 4.0.0 + add additional SimpliSafe attributes ( #25202 )
...
* Bump simplisafe-python to 4.0.0 + add additional SimpliSafe attributes
* Fixed incorrect attr assignment
* Member comments
* Add system ID as a state attribute
2019-07-17 16:13:03 -06:00
Paulus Schoutsen
b507822280
Updated frontend to 20190717.0
2019-07-17 13:08:02 -07:00
Ville Skyttä
56841da2d3
Upgrade mypy to 0.720, turn on unreachability warnings ( #25157 )
...
* Upgrade mypy to 0.720
* Turn on mypy unreachability warnings, address raised issues
2019-07-16 15:11:38 -07:00
Fabian Affolter
8a6515936d
Upgrade luftdaten to 0.6.2 ( #25177 )
2019-07-16 11:32:38 +02:00
Anders Melchiorsen
5e5abf77da
Update pysonos to 0.0.21 ( #25168 )
2019-07-16 04:22:41 +02:00
Paulus Schoutsen
cca50a8339
Updated frontend to 20190715.0
2019-07-15 13:54:30 -07:00
Daniel Perna
17013c7c2c
Update pyhomematic to 0.1.60 ( #25152 )
2019-07-14 20:21:37 -07:00
Franck Nijhof
9d4b5ee58d
Add Twente Milieu integration ( #25129 )
...
* Adds Twente Milieu integration
* Addresses flake8 warnings
* Adds required test deps
* Fixes path typo in coveragerc
* dispatcher_send -> async_dispatcher_send
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Removes not needed __init__
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Remove explicitly setting None default value on get call
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Correct typo in comment
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Clean storage for only the unloaded entry
Signed-off-by: Franck Nijhof <frenck@addons.community>
* asyncio.wait on updating all integrations
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Use string formatting
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Set a more sane SCAN_INTERVAL
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Small refactor around services
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Small styling correction
* Extract update logic into own function
Signed-off-by: Franck Nijhof <frenck@addons.community>
* Addresses flake8 warnings
2019-07-14 12:30:23 +02:00
Ville Skyttä
59f6fd7630
Upgrade flake8 to 3.7.8 ( #25120 )
...
http://flake8.pycqa.org/en/latest/release-notes/3.7.8.html
2019-07-13 09:32:08 +02:00
ktnrg45
68edf10270
PS4 handle no connection/ fix spamming of logs when device is off ( #25091 )
...
* Bump 0.8.7
* Bump 0.8.7
* 0.8.7
* Handle exception. Handle device unavailable.
* Typo
* Blank line
2019-07-12 20:45:04 -06:00
Paulus Schoutsen
f7aa1b026f
Updated frontend to 20190712.0
2019-07-12 14:58:50 -07:00
Anders Melchiorsen
6173d7c8a0
Support podcast episodes as Sonos favorites ( #25087 )
2019-07-12 07:08:57 +02:00
Aaron Bach
9ccb85d959
Add support for World Wide Lightning Location Network ( #25001 )
...
* Add support for World Wide Lightning Location Network
* Updated .coveragerc
* Added test
* Updated requirements
* Fixed tests
* Use local time for nearest strike
* Base geo location in place
* Finished geolocation work
* Fixed tests
* Cleanup
* Removed no-longer-needed method
* Updated requirements
* Add support for window and attrs
* Add strike ID to entity name
* Member comments
2019-07-10 16:40:11 -06:00
Alexei Chetroi
cea857e18a
Bump up ZHA dependencies. ( #25062 )
...
Bump zigpy-homeassistant to 0.7.0
Bump zigpy-deconz to 0.2.1
Bump zigpy-xbee-homeassistant to 0.4.0
2019-07-10 12:20:37 -07:00
Paulus Schoutsen
f0f7dc4884
Updated frontend to 20190710.0
2019-07-10 10:49:07 -07:00
Malte Franken
cf5a35a421
updated geojson_client library to version 0.4 ( #25039 )
2019-07-09 13:06:10 -04: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
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
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
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
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
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
Anders Melchiorsen
a1aaeab33a
Update pysonos to 0.0.19 ( #24930 )
2019-07-03 19:26:16 -04:00
Paulus Schoutsen
aa03550f6b
Updated frontend to 20190702.0
2019-07-02 10:34:22 -07:00
Anders Melchiorsen
c0a342d790
Stability improvements for Sonos availability ( #24880 )
...
* Stability improvements for Sonos availability
* Handle seen reentrancy
2019-07-02 09:25:02 -04:00
Daniel Høyer Iversen
3d2f843c1d
Upgrade pytest to 5.0.0 ( #24885 )
...
* Upgrade pytest to 5.0.0
* exception message for pytest 5
2019-07-01 10:47:42 -04:00
Paulus Schoutsen
0dd19ed49c
Updated frontend to 20190630.0
2019-06-30 22:53:35 -07:00
Fabian Affolter
a91ad0189e
Upgrade numpy to 1.16.4 ( #24845 )
2019-06-29 07:15:32 -04:00
Fabian Affolter
67b6657bcd
Upgrade sqlalchemy to 1.3.5 ( #24844 )
2019-06-29 07:14:47 -04:00
Fabian Affolter
e1a34c8030
Upgrade luftdaten to 0.6.1 ( #24842 )
...
* Upgrade luftdaten to 0.6.0
* Upgrade luftdaten to 0.6.1
2019-06-29 11:03:38 +02:00
Paulus Schoutsen
e5b8d5f7ea
Updated frontend to 20190627.0
2019-06-27 17:57:02 -07:00
Ville Skyttä
71346760d0
Upgrade pytest to 4.6.3 ( #24782 )
...
* Upgrade pytest to 4.6.3
https://docs.pytest.org/en/latest/changelog.html#pytest-4-6-2-2019-06-03
https://docs.pytest.org/en/latest/changelog.html#pytest-4-6-3-2019-06-11
* Make litejet switch test work with pytest 4.6.3
Essentially reverts the corresponing change that was made for pytest
4.2 compatibility.
2019-06-26 20:01:03 -07:00
Paulus Schoutsen
9e0636eefa
Updated frontend to 20190626.0
2019-06-26 09:15:54 -07:00
Paulus Schoutsen
9813396880
Updated frontend to 20190624.1
2019-06-24 22:07:39 -07:00
Anders Melchiorsen
6e14e8ed91
Update pysonos to 0.0.17 ( #24740 )
2019-06-24 14:59:15 -07:00
Alexei Chetroi
26dea0f247
Update ZHA dependencies. ( #24736 )
2019-06-24 16:57:07 -04:00
Paulus Schoutsen
df32a81165
Updated frontend to 20190624.0
2019-06-24 08:26:50 -07:00