HomeAssistant Azure
989a040b67
[ci skip] Translation update
2020-08-29 00:03:59 +00:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
HomeAssistant Azure
e76db60367
[ci skip] Translation update
2020-08-05 00:02:19 +00:00
HomeAssistant Azure
8abdc2c969
[ci skip] Translation update
2020-07-27 00:02:58 +00:00
Paul Annekov
609bd6313a
bump tuyaha 0.0.7 ( #37709 )
2020-07-10 14:56:21 +02:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
HomeAssistant Azure
cbb76be9d0
[ci skip] Translation update
2020-06-25 00:08:30 +00:00
HomeAssistant Azure
04f75d6557
[ci skip] Translation update
2020-06-24 00:08:54 +00:00
HomeAssistant Azure
3bf389639b
[ci skip] Translation update
2020-06-07 00:03:28 +00:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
HomeAssistant Azure
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +00:00
HomeAssistant Azure
2e0c0ded51
[ci skip] Translation update
2020-05-18 00:03:08 +00:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
HomeAssistant Azure
f3bb370b3a
[ci skip] Translation update
2020-05-16 00:03:50 +00:00
HomeAssistant Azure
9586e9ebef
[ci skip] Translation update
2020-05-15 00:02:56 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
ollo69
f4e4ea10e5
Minor Tuya Fix ( #35497 )
2020-05-11 08:45:12 -04:00
ollo69
b3ee54b124
Add config flow for Tuya ( #35422 )
...
* Added Tuya config flow
* Added test config_flow
* Fixed log error message
* Add test requirements
* Lint Fix
* Fix Black formatting
* Added pylint directive
Added pylint:disable=unused-import in config_flow.py
* Implementation requested changes
* Update CodeOwners
* Removed device registry cleanup
* Force checks
* Force checks
* Fix implemetation
- Set config schema "deprecated"
- Removed async from update_callback
* Updating test
* Fix formatting
* Config Flow test fix
- mock out async_setup and async_setup_entry
* Fix formatting
2020-05-10 22:01:00 -05:00
ollo69
15569f1e7f
Fix tuya network failure startup ( #34057 )
...
* Tuya initialization retry on failure
* Rename exception
* Changed managed exception
* Manage different cases of ConnectionError
* Log messages correction
* Test always catching exceptions
* Update for Lint
* Update tuya library to 0.0.6
- Catch new library exception
* Tuya initialization retry on failure
* Rename exception
* Changed managed exception
* Manage different cases of ConnectionError
* Log messages correction
* Test always catching exceptions
* Update for Lint
* Update tuya library to 0.0.6
- Catch new library exception
* Catch wrong credential
* Revert "Catch wrong credential"
This reverts commit 7fb797de52
.
* Catch wrong credential
* Remove trailing whitespace
* Black formatting
* Import Exception from tuyaapi
* Remove str to exception
* Force CI checks
* Force CI checks
* Rebase conflict
* Tuya initialization retry on failure
* Rename exception
* Changed managed exception
* Manage different cases of ConnectionError
* Log messages correction
* Test always catching exceptions
* Update for Lint
* Update tuya library to 0.0.6
- Catch new library exception
* Catch wrong credential
* Revert "Catch wrong credential"
This reverts commit 7fb797de52
.
* Tuya initialization retry on failure
* Rename exception
* Changed managed exception
* Catch wrong credential
* Force CI checks
* Force CI checks
* Rebase conflict
* Rebase
* Force Test
* Force Test
2020-04-29 13:46:27 +02:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
J. Nick Koston
a5b98b40ac
Resolve delays with tuya devices ( #34512 )
2020-04-21 20:29:42 -07:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
Franck Nijhof
886308a953
String formatting improvements ( #33653 )
2020-04-04 21:39:22 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
springstan
c3888330c1
Fix fan_modes in tuya climate ( #30942 )
2020-01-22 01:28:19 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Paul Annekov
b2753b7578
bump tuyaha 0.0.5 ( #30213 )
2019-12-26 13:27:59 +01:00
Paulus Schoutsen
52818bdb89
Make Hassfest stricter pt 2 ( #30068 )
...
* Make Hassfest stricter
* Fix if-condition
* Small cleanup
2019-12-19 14:00:22 +01:00
springstan
72995f6ce6
Move imports to top for tuya ( #29467 )
2019-12-04 21:11:13 -08:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
tyjtyj
702e63e6e8
Fix Tuya Light without brightness ( #26534 )
...
Return none if there is brightness data from tuya
https://github.com/home-assistant/home-assistant/issues/25896
2019-09-09 21:44:00 +02:00
Paul Annekov
f01e106e6d
bump tuyaha 0.0.4 ( #26303 )
2019-08-30 17:30:18 -07:00
Paul Annekov
bc17170f95
Fix tuya switch state ( #26145 )
...
* bump tuyaha 0.0.3
* bump tuyaha 0.0.3
2019-08-22 12:26:08 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paul Annekov
a30c37017b
Update tuyaha to 0.0.2 to catch API exceptions ( #25050 )
...
* Update tuyaha to 0.0.2 to catch API exceptions
* Updated tuyaha version in requirements
2019-07-10 01:54:19 +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
Paul Annekov
97ed7fbb3f
Switched from tuyapy to tuyaha as 1st one is not maintained ( #24821 )
2019-07-06 10:39:49 -07:00
Alok Saboo
70c5bd4316
Create services.yaml for Tuya ( #23209 )
2019-04-18 13:09:41 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Joakim Plate
c5de32e7b1
Climate const.py move ( #20945 )
...
* Move constants to const.py
* Import from const instead of climate
2019-02-14 20:34:43 +01:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00