Commit graph

50 commits

Author SHA1 Message Date
Sezer K
316f6ba397
Only initialize Nuki configurations ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-06 22:29:37 -07:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere () 2021-05-03 09:34:28 -07:00
J. Nick Koston
3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P () 2021-04-27 20:42:21 +02:00
HomeAssistant Azure
69c1721c2a [ci skip] Translation update 2021-04-22 00:02:50 +00:00
HomeAssistant Azure
f6a24e8d68 [ci skip] Translation update 2021-04-20 00:04:05 +00:00
HomeAssistant Azure
a67a45624d [ci skip] Translation update 2021-04-19 00:04:29 +00:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
HomeAssistant Azure
e86aad34b9 [ci skip] Translation update 2021-04-15 00:02:56 +00:00
HomeAssistant Azure
45a92f5791 [ci skip] Translation update 2021-04-11 00:04:41 +00:00
J. Nick Koston
4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth () 2021-04-09 19:41:29 -10:00
HomeAssistant Azure
23dd57a562 [ci skip] Translation update 2021-04-09 00:03:15 +00:00
HomeAssistant Azure
8e6238ff61 [ci skip] Translation update 2021-04-08 00:03:23 +00:00
HomeAssistant Azure
82cc5148d7 [ci skip] Translation update 2021-04-07 00:04:06 +00:00
Pascal Reeb
fb1444c414
Add doorsensor + coordinator to nuki ()
* implemented coordinator + doorsensor

* added async_unload_entry

* small fixes + reauth_flow

* update function

* black

* define _data inside __init__

* removed unused property

* await on update & coverage for binary_sensor

* keep reauth seperate from validate

* setting entities unavailable when connection goes down

* add unknown error when entity is not present

* override extra_state_attributes()

* removed unnecessary else

* moved to locks & openers variables

* removed doorsensorState attribute

* changed config entry reload to a task

* wait for reload
2021-04-06 21:20:57 +02:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ()
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() () 2021-03-11 20:11:25 +01:00
Quentame
198ecb0945
Uniformize platform setup ()
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
HomeAssistant Azure
44ed6cda40 [ci skip] Translation update 2021-03-01 00:09:01 +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
d9ce7db554 [ci skip] Translation update 2021-02-19 00:03:06 +00:00
Pascal Reeb
889baef456
Add DHCP discovery support to Nuki integration () 2021-02-08 17:11:27 -10:00
HomeAssistant Azure
818501216e [ci skip] Translation update 2021-02-07 00:06:57 +00:00
HomeAssistant Azure
ce159d7db3 [ci skip] Translation update 2021-02-06 00:07:22 +00:00
Paulus Schoutsen
959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
Pascal Reeb
f07ffee535
Advanced testing for Nuki config flow () 2021-01-29 17:01:25 -05:00
Pascal Reeb
ba55f1ff4b
Add config flow for nuki ()
* implemented config_flow for nuki component

* warn -> warning

* exception handling & config_flow tests

* gen_requirements_all

* Update config_flow.py

Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-01-29 11:05:13 +01:00
Paulus Schoutsen
e67809713f
Nuki to use entity platform () 2020-12-11 18:02:23 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Philipp Schmitt
027ece52e6
Fix Nuki Locks and Openers not being available after some time () 2020-07-24 16:42:42 +02:00
Tim Messerschmidt
0297c9e612
Fix: Passes secure parameter when setting up Nuki () ()
* Passes secure parameter when setting up Nuki ()

* Adds an additional configuration option for soft bridges instead of passing True when setting up the bridge

* Revert "Adds an additional configuration option for soft bridges instead of passing True when setting up the bridge"

This reverts commit af1d839ab1.
2020-07-17 13:04:12 +02:00
thomkaufmann
4f317353e0
Add Nuki Opener integration ()
* Add Nuki Opener integration

* Update pynuki version requirement; fix typo

* Update requirements_all.txt

* Create base class of shared lock and opener code

* Clean up code formatting

* Update requirements_all; Run isort

* Remove unnecessary pass statements
2020-05-20 14:44:57 +02:00
Erik Montnemery
b30d117e7d
Rename LockDevice to LockEntity () 2020-04-25 18:02:41 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ()
* 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
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
Pascal Vizeli
6f8f23238a
Nuki: add support for unique id ()
* Nuki support unique id and the battery level attribute

* Fix isort

* Address comments

* Cache attribute

* Cleanup

* Restore false

* Fix isort
2020-02-19 08:16:02 -08:00
Raman Gupta
b7896c7b6f move nuki service to nuki domain services.yaml and remove missing service () 2019-11-27 11:14:22 +01:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
Pascal Vizeli
4be0c057d2 Fix Nuki issues ()
* Fix Nuki issues

* remove stale code

* Add comments

* Fix lint
2019-09-17 11:44:43 +02:00
Pascal Vizeli
bee566f893
Nuki less strict () 2019-09-10 23:23:27 +02:00
Pascal Vizeli
af70b6da20 Fix issue with nuki new available state () 2019-08-11 20:48:56 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Fran
4afc19ff3a Improve Nuki lock ()
Using port on bridge initialization
Service: check_connection
Attribute: available
Updated requeriments_all.txt
Change unlatch service for open service

Removed extra info

nuki_lock_n_go renamed to lock_n_go
nuki_check_connection renamed to check_connection
2019-07-16 17:06:47 +02:00
Paulus Schoutsen
a52f96b23a
Add stub services.yaml and make validation mandatory () 2019-04-18 15:13:35 -07:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* 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 ()
* 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 ()
* 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 ()
* 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