1
0
mirror of https://github.com/home-assistant/core.git synced 2026-03-04 00:30:26 +00:00
Files
core/tests/components
Ben Dews c20e0b985a Add Lock capability to SmartThings platform (#20977)
* Bumped pysmartthings version to 0.6.1

* Added Lock to supported platforms

* Added SmartThings Lock component

* Updated lock to eagerly set state

* Updated requirements_all.txt & requirements_test_all.txt with pysmartthings==0.6.1

* Added SmartThings Lock tests

* Removed inapplicable comment

* Removed unused import (STATE_UNLOCKED)

* Populated device_state_attributes with values provided by SmartThings

* Condensed if_lock assertion function

* Updated gathered attributes

* Fixed typo

* Updated tests to use new setup_platform

* Updated assignment of device state attributes

* Updated tests to utilise the LOCK_DOMAIN constant where suitable

* Fixed false positive for Switch test: (test_unload_config_entry)

* Implemented constant to contain expected SmartThings state for is_locked check

* Improved allocation of State Attributes

* Improved allocation of state attributes

* Fixed lint error (was running lint checks against the wrong file, whoops)

* Added test for unloading lock config

* Use isinstance instead of type()

* Updated device state to explicitly check for is not None instead of a truthy value
2019-02-13 18:36:49 -06:00
..
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-01-16 14:23:46 -08:00
2019-02-07 22:50:59 +01:00
2019-02-07 22:50:59 +01:00
2019-02-05 19:31:15 -08:00
2019-02-07 22:50:59 +01:00
2019-02-12 16:38:19 +01:00
2019-01-28 17:52:00 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-10 12:50:40 +01:00
2019-02-07 22:50:59 +01:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-08 14:18:18 -08:00
2019-02-05 19:31:15 -08:00
2019-02-05 19:31:15 -08:00
2019-02-07 22:50:59 +01:00
2019-02-08 14:18:18 -08:00
2019-01-26 16:33:11 +01:00
2019-02-05 19:31:15 -08:00
2019-02-07 17:27:31 -08:00