Add SmartThings Sensor platform (#20848)
* Add Sensor platform and update pysmartthings 0.6.0 * Add tests for Sensor platform * Redesigned capability subscription process * Removed redundant Entity inheritance * Updated per review feedback.
This commit is contained in:
1 parent
c7df4cf092
commit
706810bbce
11 files changed
+457
-65
No files matched your search
@@ -162,7 +162,7 @@ async def test_event_handler_dispatches_updated_devices(
|
||||
|
||||
assert called
|
||||
for device in devices:
|
||||
assert device.status.attributes['Updated'] == 'Value'
|
||||
assert device.status.values['Updated'] == 'Value'
|
||||
|
||||
|
||||
async def test_event_handler_ignores_other_installed_app(
|
||||
|
||||
Reference in new issue
Block a user