Intent: Set light color (#12633)
* Make color_name_to_rgb raise * Add Light Set Color intent * Move some methods around * Cleanup * Prevent 1 more func call * Make a generic Set intent for light * Lint * lint
This commit is contained in:
1 parent
14d052d242
commit
efd155dd3c
6 files changed
+231
-47
No files matched your search
@@ -283,7 +283,7 @@ def test_turn_on_multiple_intent(hass):
|
||||
)
|
||||
yield from hass.async_block_till_done()
|
||||
|
||||
assert response.speech['plain']['speech'] == 'Turned on test lights'
|
||||
assert response.speech['plain']['speech'] == 'Turned on test lights 2'
|
||||
assert len(calls) == 1
|
||||
call = calls[0]
|
||||
assert call.domain == 'light'
|
||||
|
||||
Reference in new issue
Block a user