HomeAssistant Azure
5ce62c8446
[ci skip] Translation update
2020-09-02 00:03:29 +00:00
J. Nick Koston
f7d1cfb625
Update powerwall to use CoordinatorEntity ( #39389 )
2020-08-30 14:37:11 +02: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
J. Nick Koston
e8c9734f3a
Bump tesla-powerwall to 0.2.12 to handle powerwall firmware 1.48+ ( #38180 )
2020-07-28 17:26:06 +02:00
J. Nick Koston
2d5faaf3f8
Remove powerwall attributes no longer present in latest firmware ( #36667 )
2020-06-11 10:15:02 -07:00
J. Nick Koston
44552937b6
Fix missing space in powerwall notification message ( #36603 )
2020-06-10 11:29:56 +02:00
z00nx 0
16e36dca97
Updated tesla-powerwall to 0.2.11 ( #36568 )
2020-06-08 08:48:58 -05:00
jrester
e807274d7e
Update tesla-powerwall to 0.2.10 ( #36486 )
...
modified: homeassistant/components/powerwall/manifest.json
modified: requirements_all.txt
modified: requirements_test_all.txt
2020-06-05 15:03:17 -05:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +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
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
f4f2aff5b6
[ci skip] Translation update
2020-05-02 00:04:57 +00:00
J. Nick Koston
208fa84a27
Update excess powerwall logging to be debug ( #34994 )
2020-04-30 20:40:31 -04:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
HomeAssistant Azure
5d37eb8eeb
[ci skip] Translation update
2020-04-30 00:03:17 +00:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
HomeAssistant Azure
e13f78dfc5
[ci skip] Translation update
2020-04-28 00:04:52 +00:00
jrester
4b998ea6af
Improve error handling for Powerwall ( #34580 )
...
* Improve error handling
modified: homeassistant/components/powerwall/__init__.py
modified: homeassistant/components/powerwall/config_flow.py
modified: homeassistant/components/powerwall/const.py
modified: homeassistant/components/powerwall/strings.json
modified: homeassistant/components/powerwall/translations/en.json
* Change exception name
modified: homeassistant/components/powerwall/__init__.py
modified: homeassistant/components/powerwall/config_flow.py
* Add test
* Rename PowerwallError to POWERWALL_ERROR
* Modify handling of APIChangedErrors
modified: homeassistant/components/powerwall/__init__.py
modified: homeassistant/components/powerwall/const.py
2020-04-26 19:14:53 -05:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
jrester
4a5cf5cd2b
Powerwall sensor add is_active, round state attributes and change thresholding for charging status sensor ( #34582 )
...
* Change sensor values and thresholding
* Update tests
2020-04-23 10:00:38 -05:00
jrester
dbd1ca45c4
Update tesla-powerwall to version 0.2.8 ( #34545 )
...
* Update tesla-powerwall to version 0.2.7
* Update tesla-powerwall to version 0.2.8
2020-04-22 16:10:06 -05:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
J. Nick Koston
a5af746013
Switch powerwall to async_on_remove ( #34472 )
2020-04-20 13:21:29 -05:00
J. Nick Koston
75e5f085d3
Include charging state for powerwall ( #33432 )
...
* Switch to binary sensor for charging status per review
* Powerwall charging margin of error is much higher than expected
2020-04-19 20:50:42 -05:00
jrester
3776a06281
Use serial numbers for unique_id of powerwall devices ( #34351 )
...
* Update tesla-powerwall to version 0.2.5
* Create unique_id from serial numbers of powerwalls
modified: homeassistant/components/powerwall/__init__.py
modified: homeassistant/components/powerwall/binary_sensor.py
modified: homeassistant/components/powerwall/const.py
modified: homeassistant/components/powerwall/entity.py
modified: homeassistant/components/powerwall/sensor.py
modified: tests/components/powerwall/mocks.py
modified: tests/components/powerwall/test_sensor.py
* Fix pylint error
modified: homeassistant/components/powerwall/__init__.py
2020-04-17 16:21:14 -05:00
jrester
54542ee90c
Update tesla-powerwall to version 0.2.5 ( #34348 )
2020-04-17 14:28:24 -05:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
jrester
6924192523
Use updated powerwall client API library ( #34139 )
...
* Use updated powerwall client API library
* Increase instant_power precision to 3
* Add @jrester as code owner for powerwall
2020-04-13 21:59:50 +02:00
J. Nick Koston
ca0648afe8
Fix powerwall units (kW) ( #33954 )
...
* Fix powerwall units (kW)
* Fix test
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-04-10 09:33:58 -07:00
springstan
541e30d155
Remove unused manifest fields v2 ( #33656 )
2020-04-04 22:11:33 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
J. Nick Koston
e6ed2f0377
Add version and device type to powerwall device_info ( #33453 )
...
* Add version and device type to powerwall device_info
* Upstream powerwall now supports a http_session
2020-03-31 12:55:50 -07:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
J. Nick Koston
5db1a67c20
Make powerwall unique id stable ( #33021 )
...
* Update powerwall unique id
* Fix somfy optimistic mode when missing in conf (#32995 )
* Fix optimistic mode when missing in conf #32971
* Ease code using a default value
* Client id and secret are now inclusive
* Bump aiohomekit to fix Insignia NS-CH1XGO8 and Lennox S30 (#33014 )
* Axis - Fix char in stream url (#33004 )
* An unwanted character had found its way into a stream string, reverting f-string work to remove duplication of code and improve readability
* Fix failing tests
* deCONZ - Add support for Senic and Gira Friends of Hue remote… (#33022 )
* Update the test
* Harmony config flow improvements (#33018 )
* Harmony config flow improvements
* Address followup review comments from #32919
* pylint -- catching my naming error
* remove leftovers from refactor
* Update powerwall unique id
* Update the test
Co-authored-by: tetienne <thibaut@etienne.pw>
Co-authored-by: Jc2k <john.carr@unrouted.co.uk>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-03-19 20:43:09 -07:00
J. Nick Koston
5b4d2aed64
Add Powerwalls integration ( #32851 )
...
* Create an integration for Powerwalls
* Self review :: remove unused code
* Remove debug
* Update homeassistant/components/powerwall/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* _call_site_info to module level
* Update homeassistant/components/powerwall/binary_sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/binary_sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/binary_sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/powerwall/test_binary_sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/binary_sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/binary_sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* remove sensors that I added tests for from the comment
* Update homeassistant/components/powerwall/config_flow.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/powerwall/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Switch to UNIT_PERCENTAGE
* reduce code
* Add test for import
* Adjust tests
* Add missing file
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-03-19 10:50:17 -05:00