Niccolo Zapponi
fc8dc038e2
Fixed auth issue for non-2FA iCloud accounts ( #48455 )
2021-03-29 19:09:27 -10:00
Erik Montnemery
fdf97eaca3
Migrate integrations i-m to extend SensorEntity ( #48213 )
2021-03-22 19:59:03 +01:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ( #48161 )
...
* Mark base state_attributes @final, rename others to extra_state_attributes
* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Marc Mueller
283b4abe67
Update typing 09 ( #48059 )
2021-03-18 10:02:00 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() ( #47757 )
2021-03-11 16:57:47 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
HomeAssistant Azure
bb7f1b748f
[ci skip] Translation update
2021-02-25 00:05:20 +00:00
HomeAssistant Azure
9159f54900
[ci skip] Translation update
2021-02-24 00:04:14 +00:00
HomeAssistant Azure
580d25c622
[ci skip] Translation update
2021-02-23 00:05:06 +00:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
HomeAssistant Azure
1bb535aa67
[ci skip] Translation update
2021-02-16 00:03:57 +00:00
HomeAssistant Azure
8007391244
[ci skip] Translation update
2021-02-11 00:02:56 +00:00
HomeAssistant Azure
ce159d7db3
[ci skip] Translation update
2021-02-06 00:07:22 +00:00
HomeAssistant Azure
c6bd5b1b71
[ci skip] Translation update
2021-02-05 00:03:54 +00:00
HomeAssistant Azure
adf38f7074
[ci skip] Translation update
2021-02-04 00:06:54 +00:00
Niccolo Zapponi
a775b79d4b
Add support for iCloud 2FA ( #45818 )
...
* Add support for iCloud 2FA
* Updated dependency for iCloud
* Updated dependency and logic fix
* Added logic for handling incorrect 2FA code
* Bug fix on failing test
* Added myself to codeowners
* Added check for 2FA on setup
* Updated error message
2021-02-03 19:18:31 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
HomeAssistant Azure
f3cabe97e0
[ci skip] Translation update
2020-12-21 00:04:09 +00:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
HomeAssistant Azure
301a3e5481
[ci skip] Translation update
2020-11-27 00:03:57 +00:00
HomeAssistant Azure
9a21421807
[ci skip] Translation update
2020-11-15 00:03:48 +00:00
Paulus Schoutsen
54f3d9078a
Update translations
2020-11-11 12:10:09 +01:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00
HomeAssistant Azure
b71e28dfac
[ci skip] Translation update
2020-11-04 00:13:14 +00:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
HomeAssistant Azure
abe6f552f6
[ci skip] Translation update
2020-11-01 00:04:54 +00:00
HomeAssistant Azure
b9d04b9304
[ci skip] Translation update
2020-10-30 00:02:45 +00:00
HomeAssistant Azure
f4cebfbb7e
[ci skip] Translation update
2020-10-27 00:06:28 +00:00
Jörg Thalheim
51915c86cb
Fix iCloud matching accounts ( #42303 )
...
`name` is no longer defined but `username`.
Fixes #38393
2020-10-25 01:07:17 +02:00
HomeAssistant Azure
b102ad731f
[ci skip] Translation update
2020-10-22 00:09:52 +00:00
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
HomeAssistant Azure
39adf14079
[ci skip] Translation update
2020-10-17 00:06:00 +00:00
HomeAssistant Azure
11b812b82e
[ci skip] Translation update
2020-10-16 00:04:33 +00:00
Aaron Bach
162a5d99a2
Add common string for reauth title ( #41865 )
2020-10-15 16:35:00 -05:00
HomeAssistant Azure
ba55cb8955
[ci skip] Translation update
2020-10-14 00:04:41 +00:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02: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
Raman Gupta
025bdd74a1
Allow users to update their iCloud password when auth fails ( #39138 )
...
* Allow users to update their iCloud password when auth fails after successful setup
* remove trailing comma
* use new reauth source instead of custom one so frontend can do the right thing
* add quentames text suggestion with a slight tweak
* fix test
* use common string for successful reauth and remove creation and dismissal of persistent notification
* Update homeassistant/components/icloud/account.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-10 02:02:28 -04: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
HomeAssistant Azure
8d1d585b40
[ci skip] Translation update
2020-10-05 00:04:23 +00:00
scheric
c3ef05a37e
Use common strings in Icloud config flow ( #41188 )
2020-10-04 13:32:53 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
HomeAssistant Azure
8d68963854
[ci skip] Translation update
2020-09-01 00:07:08 +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
HomeAssistant Azure
e76db60367
[ci skip] Translation update
2020-08-05 00:02:19 +00:00
HomeAssistant Azure
83d4e5bbb7
[ci skip] Translation update
2020-07-21 00:03:00 +00:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
HomeAssistant Azure
dd239661e7
[ci skip] Translation update
2020-06-14 00:03:01 +00:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
HomeAssistant Azure
d4f3bb8ce0
[ci skip] Translation update
2020-05-25 00:02:49 +00: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
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
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
Quentame
7e36699aac
Bump pyiCloud to 0.9.7 + do not warn when pending devices ( #35156 )
2020-05-04 01:22:12 +02: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
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
HomeAssistant Azure
e13f78dfc5
[ci skip] Translation update
2020-04-28 00:04:52 +00: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
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
HomeAssistant Azure
e1d66f6fdd
[ci skip] Translation update
2020-04-14 00:07:23 +00:00
Franck Nijhof
57bbbbcf26
Update translations
2020-04-08 17:24:53 +02:00
springstan
46bbe816f6
Remove None from dict.get(key, None) ( #33794 )
2020-04-07 21:06:05 +02: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
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Paulus Schoutsen
c63ec698a1
Update translations
2020-04-01 11:43:30 -07:00
HomeAssistant Azure
6c4b4ad1e0
[ci skip] Translation update
2020-03-26 00:47:06 +00:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
Quentame
0249daef2e
Bump iCloud to 0.9.6.1 ( #33161 )
2020-03-22 21:05:27 +01:00
Quentame
5c83367bb0
Fix iCloud init while pending ( #32750 )
...
* Fix iCloud init while pending
Continue if device is pending while setup
Create devices and fetch 15s if pending, otherwise determine interval to fetch.
* Add retried_fetch guard
2020-03-17 10:16:58 -07:00
Quentame
4c32fd12fc
Bump iCloud to 0.9.5 ( #32901 )
2020-03-17 17:46:30 +01:00
Quentame
01dc81d8fb
Fetch iCloud family devices only when wanted ( #32644 )
...
* Fetch iCloud family devices only when wanted
* Review: form data_schema as init schema
2020-03-11 20:43:37 +01:00
Quentame
2e802c88f8
Add devices check to iCloud config flow ( #31950 )
...
* Add devices check to iCloud config flow
* Some test rename
* Bump pyicloud to catch KeyError
2020-03-10 11:42:04 +01:00
Quentame
8a878bbe72
Bump pyicloud to 0.9.3 ( #32582 )
2020-03-08 23:32:14 +01:00
Quentame
85ba4692a9
Get pending iCloud devices when available + request again when needs an update ( #32400 )
...
* Fetch iCloud devices again if the status is pending
* Remove "No iCloud device found" double check
* fix default api_devices value
* Remove useless unitialisation declarations
2020-03-05 08:50:39 +01:00
HomeAssistant Azure
104350265d
[ci skip] Translation update
2020-03-04 18:13:24 +00:00
Paulus Schoutsen
7678d66464
Fix device tracker TrackerEntity defaults ( #32459 )
2020-03-04 09:43:52 +01:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
HomeAssistant Azure
fefbe02d44
[ci skip] Translation update
2020-02-28 00:31:47 +00:00
Quentame
3743aaf70f
Add async_unload_entry to iCloud ( #31917 )
2020-02-17 22:23:24 +01:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
HomeAssistant Azure
5483de7e25
[ci skip] Translation update
2020-02-08 00:31:45 +00:00
HomeAssistant Azure
274cf23269
[ci skip] Translation update
2020-02-07 00:31:50 +00:00
Quentame
9e4904cb21
Fix iCloud determine_interval: add default interval to max_interval ( #31533 )
2020-02-06 08:53:42 -08:00
Quentame
2c439af165
Fix iCloud device battery level can be None ( #31468 )
2020-02-05 00:26:47 +01:00
HomeAssistant Azure
a958418ef1
[ci skip] Translation update
2020-02-02 00:31:45 +00:00
Quentame
ec4ccb10ec
Bump iCloud to 0.9.2 + fix setup log ( #31273 )
...
- pyicloud to 0.9.2
- fix log `ERROR (MainThread) [homeassistant.config_entries] icloud.async_setup_entry did not return boolean`
2020-01-29 15:16:54 +01:00
Quentame
c481a48e3a
Separate iCloud class ( #31022 )
...
* Separate iCloud class
* Update .coveragerc
* Fix pipe
2020-01-25 13:24:50 -05:00
Quentame
bc600995c1
Do not stop fetching iCloud data after service error ( #31069 )
2020-01-22 01:39:12 +01:00
HomeAssistant Azure
7e604bed7d
[ci skip] Translation update
2020-01-22 00:31:43 +00:00
HomeAssistant Azure
692e4f27c4
[ci skip] Translation update
2020-01-21 00:33:20 +00:00
Quentame
8c22858ae3
Use config_entry.unique_id in iCloud ( #30984 )
...
* Use unique_id in iCloud
* Remove missed self._configuration_exists()
* Avoid breaking change
* Almost fix tests
* Add missing test
* Fix tests
2020-01-20 18:59:29 +01:00
Quentame
7c155731fc
Fix can't add multiple iCloud accounts (remove account name) ( #30898 )
...
* Fix can't add multiple iCloud accounts (remove account name)
* Update tests with flow.async_init()
2020-01-19 14:19:46 +01:00
Quentame
04b7d9e848
Fix iCloud when no family members (issue #30829 ) ( #30836 )
2020-01-16 09:27:43 -08:00
HomeAssistant Azure
0534153ae7
[ci skip] Translation update
2020-01-13 00:31:54 +00:00
Quentame
519c1fa2da
Update iCloud sensors when service finish its update ( #30680 )
...
* Update iCloud sensors when needed
* Add sensor should_poll
2020-01-11 23:12:55 +01:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) ( #30532 )
2020-01-07 08:19:17 +01:00
HomeAssistant Azure
8c70fb5463
[ci skip] Translation update
2020-01-07 00:32:07 +00:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
HomeAssistant Azure
d1ed67f44a
[ci skip] Translation update
2020-01-06 00:32:11 +00:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +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
bb35d93fde
[ci skip] Translation update
2019-12-25 00:32:06 +00:00
HomeAssistant Azure
0135b988ff
[ci skip] Translation update
2019-12-18 00:32:19 +00:00
HomeAssistant Azure
95a6a7502a
[ci skip] Translation update
2019-12-16 00:32:25 +00:00
Quentame
820780996a
Add battery sensor to iCloud ( #29818 )
...
* Add battery sensor to iCloud
* Update .coveragerc
* Review: @balloob & @MartinHjelmare
* Review: use f string
2019-12-14 23:06:00 +01:00
HomeAssistant Azure
8f5a00a98b
[ci skip] Translation update
2019-12-14 00:32:08 +00:00
HomeAssistant Azure
7bd98d1082
[ci skip] Translation update
2019-12-12 00:32:15 +00:00
HomeAssistant Azure
c2357d843b
[ci skip] Translation update
2019-12-11 00:32:21 +00:00
HomeAssistant Azure
12f273eb11
[ci skip] Translation update
2019-12-10 00:32:16 +00:00
Franck Nijhof
bc3b7ed06b
Fix build, invalid JSON file in icloud component ( #29798 )
2019-12-09 19:18:41 +01:00
Quentame
c804f8f961
Add config flow to iCloud ( #28968 )
...
* iCloud: setup ConfigFlow and prepare for more platforms
- add config flow + tests
- fix existing services
- add play_sound & display_message services
- document services
- can use devices with the same name
- prepare to add sensor platform
* Review : not copy account conf
* Review: Safer test patch
* Review: remove reset_account
* Review: Use executor_job while IO
* Review: Use executor_job while IO 2
* Review: use hass.helpers.storage.Store()
* Review: no IO in tests
* Remove reset from services.yaml
* Review: remove authenticate.return_value = Mock()
* Review: do not initialize the api with the mocked service
* isort
* Review: @MartinHjelmare Test config flow with all steps
* Review: Fix failed tests names
* Codevov: Add one missing test
2019-12-09 17:19:42 +01:00
Raman Gupta
ff4d256893
move icloud services to icloud domain ( #29144 )
2019-11-27 11:16:53 +01:00
Quentame
78d5184186
Move icloud imports at top-level ( #29089 )
2019-11-26 08:59:42 -08:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Franck Nijhof
f9edec19ad
Use literal string interpolation in integrations H-J (f-strings) ( #26380 )
2019-09-03 17:27:14 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
e6d7f6ed71
Config entry device tracker ( #24040 )
...
* Move zone helpers to zone root
* Add config entry support to device tracker
* Convert Geofency
* Convert GPSLogger
* Track unsub per entry
* Convert locative
* Migrate OwnTracks
* Lint
* location -> latitude, longitude props
* Lint
* lint
* Fix test
2019-05-25 13:34:53 -07:00
Paulus Schoutsen
70ed58a78d
Restructure device tracker ( #23862 )
...
* Restructure device tracker
* Docstyle
* Fix typing
* Lint
* Lint
* Fix tests
2019-05-15 23:43:45 +02:00
Paulus Schoutsen
a52f96b23a
Add stub services.yaml and make validation mandatory ( #23213 )
2019-04-18 15:13:35 -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
57f17707c6
Specify configurator as dependency ( #23030 )
2019-04-11 20:11:56 -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
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00