SmartThings Component Enhancements/Fixes (#21085)
* Improve component setup error logging/notification * Prevent capabilities from being represented my multiple platforms * Improved logging of received updates * Updates based on review feedback
This commit is contained in:
1 parent
834d8940a8
commit
7ce18146d4
20 files changed
+198
-157
No files matched your search
@@ -20,12 +20,6 @@ async def test_async_setup_platform():
|
||||
await lock.async_setup_platform(None, None, None)
|
||||
|
||||
|
||||
def test_is_lock(device_factory):
|
||||
"""Test locks are correctly identified."""
|
||||
lock_device = device_factory('Lock', [Capability.lock])
|
||||
assert lock.is_lock(lock_device)
|
||||
|
||||
|
||||
async def test_entity_and_device_attributes(hass, device_factory):
|
||||
"""Test the attributes of the entity are correct."""
|
||||
# Arrange
|
||||
|
||||
Reference in new issue
Block a user