HomeAssistant Azure
81296b2b70
[ci skip] Translation update
2020-10-20 00:08:00 +00:00
HomeAssistant Azure
1a03bbda5a
[ci skip] Translation update
2020-10-18 00:03:28 +00:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) ( #41982 )
2020-10-16 21:24:08 -05:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
HomeAssistant Azure
bcfa4ac959
[ci skip] Translation update
2020-10-06 00:08:09 +00:00
SNoof85
8bae9b2124
Use reference strings in Tesla ( #41270 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-05 16:41:16 +02:00
SNoof85
f679acd3fa
Use reference strings in Tesla ( #41238 )
2020-10-05 14:32:09 +02:00
springstan
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
HomeAssistant Azure
5ce62c8446
[ci skip] Translation update
2020-09-02 00:03:29 +00:00
springstan
22b8d43bf5
Update tesla to use CoordinatorEntity ( #39436 )
2020-08-30 10:48:15 -05: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
Alan Tse
ca3842b150
Address requested code changes in Tesla ( #38680 )
...
* Address requested code changes
* Address ternary operator in sensor
2020-08-09 09:16:39 -05:00
Alan Tse
c3e77487da
Bump teslajsonpy to 0.10.4 ( #38652 )
2020-08-07 22:58:31 -05:00
Alan Tse
94b6d09b51
Update Tesla to use DataUpdateCoordinator ( #38306 )
...
* Update Tesla to use DataUpdateCoordinator
* Update Tesla to use DataUpdateCoordinator
* Fix linting errors
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Address requested changes
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Fix lint errors
* Remove controller from hass.data
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-07 22:16:28 -05:00
Chris Talkington
d89bfe79f9
Allow device class to control icons for tesla ( #37526 )
2020-08-05 02:00:05 +02:00
Alan Tse
093bd863ba
Add update available binary sensor to Tesla ( #37991 )
...
* Add update available binary sensor to Tesla
* Bump teslajsonpy to 0.10.1
* Add check for DEVICE_CLASS
* Change to relative import
2020-07-26 08:00:07 -10:00
HomeAssistant Azure
9092b83869
[ci skip] Translation update
2020-07-20 00:03:01 +00:00
Alan Tse
401dd4a32a
Bump teslajsonpy to 0.9.3. ( #37771 )
...
Fixes #37684
2020-07-11 20:07:20 -05:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Chris Talkington
6fd8a7a34e
Use device class to isolate tesla battery icon ( #37446 )
2020-07-03 23:10:04 -07:00
Justin Berstler
fe5f8e041b
Use a more detailed battery icon for Tesla cars ( #37154 )
...
Use the icon_for_battery_level helper to select a battery icon that indicates charge level and whether or not the battery is actively charging.
2020-07-03 18:36:26 -05:00
Alan Tse
1b70ea0c3f
Bump teslajsonpy to 0.9.2 ( #37434 )
...
* Bump teslajsonpy to 0.9.1
closes #37340
* Bump teslajsonpy to 0.9.2
2020-07-03 17:29:11 -05:00
Alan Tse
07aba74757
Bump teslajsonpy to 0.9.0 ( #37162 )
2020-06-27 11:45:34 -05:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
HomeAssistant Azure
492874c4a0
[ci skip] Translation update
2020-06-06 00:03:33 +00:00
Alan Tse
7da15378b1
Bump teslajsonpy to 0.8.1 ( #36323 )
2020-06-01 12:13:11 +02:00
HomeAssistant Azure
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +00: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
Paulus Schoutsen
dd32324e01
Use config flow references for data ( #35529 )
2020-05-12 10:50:44 -07:00
Paulus Schoutsen
befda9a78b
Add email as common data string ( #35546 )
2020-05-12 09:08:07 -07:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Erik Montnemery
b30d117e7d
Rename LockDevice to LockEntity ( #34594 )
2020-04-25 18:02:41 +02:00
HomeAssistant Azure
5f775c1427
[ci skip] Translation update
2020-04-25 00:08:30 +00: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
HomeAssistant Azure
da87ec8499
[ci skip] Translation update
2020-04-23 00:05:07 +00:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Olivier B
1637a49442
Add trunk and frunk locks to Tesla integration ( #34343 )
2020-04-17 11:08:09 -07: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
Alan Tse
5fc0e00ead
Add defrost preset mode to Tesla ( #34186 )
...
* style: update logging details
* Add defrost preset mode to Tesla
* Bump teslajsonpy to 0.7.0
2020-04-14 19:27:07 +02:00
HomeAssistant Azure
e1d66f6fdd
[ci skip] Translation update
2020-04-14 00:07:23 +00:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Franck Nijhof
7d3c974747
Use set & dict literals ( #33636 )
...
Co-authored-by: Daniel Høyer Iversen <mail@dahoiv.net>
2020-04-04 20:05:15 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
HomeAssistant Azure
3e0eaa3c87
[ci skip] Translation update
2020-03-31 00:02:51 +00:00
HomeAssistant Azure
5bedc4ede2
[ci skip] Translation update
2020-03-29 00:04:45 +00:00
HomeAssistant Azure
5f72ad8da6
[ci skip] Translation update
2020-03-28 00:08:09 +00:00
HomeAssistant Azure
c89975adf6
[ci skip] Translation update
2020-03-27 00:46:57 +00:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
Olivier B
4332cbe112
Add Tesla sentry mode switch ( #32938 )
...
* Add Tesla sentry mode switch
* add available property, fix is_on
* bump teslajsonpy to 0.6.0
2020-03-23 10:52:59 +01:00
Alan Tse
087b672449
Add enable_wake_on_start option to Tesla ( #33035 )
2020-03-22 22:33:55 -05:00
Alan Tse
6e95b90f42
Bump teslajsonpy to 0.5.1 ( #32827 )
2020-03-15 20:42:07 -07:00
Alan Tse
6a6bf517fe
Add energy added attribute to Tesla charging rate sensor ( #32368 )
...
* Add charge_energy_added attribute
* Bump teslajsonpy
2020-03-04 10:00:34 +01:00
Paulus Schoutsen
7678d66464
Fix device tracker TrackerEntity defaults ( #32459 )
2020-03-04 09:43:52 +01:00
Alan Tse
f0c7a7c1bf
Fix too many device tracker updates in log for Tesla ( #32426 )
...
* Fix Tesla too many device tracker updates in log
* Empty commit to re-trigger build
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-03-03 18:25:32 -08:00
HomeAssistant Azure
fefbe02d44
[ci skip] Translation update
2020-02-28 00:31:47 +00:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
HomeAssistant Azure
274cf23269
[ci skip] Translation update
2020-02-07 00:31:50 +00:00
Alan Tse
cf0e467150
Change scan_interval defaults for Tesla ( #31194 )
2020-01-29 20:15:47 -05:00
Alan Tse
a1e1610a69
Add device_class to Tesla sensors ( #31231 )
2020-01-29 13:22:04 +01:00
Alan Tse
bcdef4e500
Fix reporting of battery sensor for Tesla ( #31232 )
...
* Fix reporting of battery sensor for Tesla
* Remove try
2020-01-29 08:58:43 +01:00
Alan Tse
4f07ccd350
Fix unnecessary regeneration of access token in Tesla component ( #31193 )
...
* Fix unnecessary regeneration of access token
* Add manifest.json
2020-01-27 11:30:35 +01:00
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations ( #31025 )
...
* Remove all empty *_setup_platform() from integrations
* Fix tests for smartthings
* Fix tests for heos
2020-01-21 12:38:38 +01:00
Alan Tse
aeb789ddcc
Bump teslajsonpy to 0.2.3 ( #30750 )
2020-01-14 11:27:49 +01:00
HomeAssistant Azure
0534153ae7
[ci skip] Translation update
2020-01-13 00:31:54 +00:00
HomeAssistant Azure
8c70fb5463
[ci skip] Translation update
2020-01-07 00:32:07 +00:00
Alan Tse
f4f7c25f74
Bump teslajsonpy to 0.2.2 ( #30512 )
...
Fixes #30235
2020-01-06 09:52:26 +01:00
HomeAssistant Azure
d1ed67f44a
[ci skip] Translation update
2020-01-06 00:32:11 +00:00
HomeAssistant Azure
4bf15a07a3
[ci skip] Translation update
2020-01-03 00:32:16 +00:00
Alan Tse
fc08c62a31
Add charging rate sensor to Tesla ( #30286 )
...
* Add charging rate sensor to Tesla
* Remove reference to bin_type
2020-01-02 00:36:14 +01:00
Alan Tse
790b2d00c7
Fix HVAC mode for Tesla ( #30287 )
...
* Fix HVAC mode for Tesla
* Change HVAC_MODE to HEAT_COOL
2020-01-01 20:49:20 +01:00
Alan Tse
272c00e81b
Remove use of bin_type in Tesla component ( #30315 )
...
* Remove use of bin_type
* Convert _unit attribute to units
* Remove unnecessary variable assignment
* Change to using util library convert
2020-01-01 12:23:29 +01:00
HomeAssistant Azure
bb2d8e3f7d
[ci skip] Translation update
2020-01-01 00:32:22 +00:00
Alan Tse
5ed44297e6
Simplify Tesla icon get code ( #30301 )
...
* Simplify icon get code
* Remove extraneous None
2019-12-31 16:27:39 +01:00
HomeAssistant Azure
ae51331d49
[ci skip] Translation update
2019-12-31 00:32:20 +00:00
Alan Tse
40e3d6f773
Change default icons for Tesla components ( #30288 )
2019-12-30 17:52:34 +01:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
HomeAssistant Azure
5d8dda4f68
[ci skip] Translation update
2019-12-29 00:32:14 +00:00
HomeAssistant Azure
2e07902999
[ci skip] Translation update
2019-12-28 00:32:22 +00:00
HomeAssistant Azure
39d38923b7
[ci skip] Translation update
2019-12-27 00:32:13 +00:00
Alan Tse
e58ef36adc
Bump teslajsonpy to 0.2.1 ( #30217 )
...
Closes #29922
2019-12-26 13:25:49 +01:00
HomeAssistant Azure
169c4089ff
[ci skip] Translation update
2019-12-26 00:32:16 +00:00
HomeAssistant Azure
bb35d93fde
[ci skip] Translation update
2019-12-25 00:32:06 +00:00
HomeAssistant Azure
8add6c5f2e
[ci skip] Translation update
2019-12-24 00:32:12 +00:00
Alan Tse
3aa2ae1700
Enable config flow for Tesla ( #28744 )
...
* build: bump teslajsonpy to 0.2.0
* Remove tests
* feat: add config flow
* feat: add async
* perf: convert unnecessary async calls to sync
* feat: add charger voltage and current sensor
* feat: add options flow
* build: bump teslajsonpy to 0.2.0
* Remove icon property
* Revert climate mode change
* Remove charger sensor
* Simplify async_setup_platform
* Update homeassistant/components/tesla/sensor.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/tesla/binary_sensor.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Address requested changes
* Fix pylint error
* Address requested changes
* Update codeowners
* Fix pylint error
* Address requested changes
* Address requested change
* Remove unnecessary check for existing config entry
* Load scan_interval in async_setup_entry
* Include coverage of config_flow
* Add tests for full coverage
* Address requested test changes
* Remove unnecessary init lines
* Remove unnecessary init
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2019-12-23 21:54:25 +01:00