Add ring light platform (#25733)

* Add support for turning a flood light on and off

* changes following black

* update following code review, and test fix

* fix naming
This commit is contained in:
Ross Dargan authored and Paulus Schoutsen committed 2019-08-06 14:55:54 -07:00
1 parent c76531a366
commit 98eb8efc6b
5 files changed
+175 -2

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ async def test_siren_can_be_turned_on(hass, requests_mock):
"switch", "turn_on", {"entity_id": "switch.front_siren"}, blocking=True
)
await hass.async_block_till_done()
state = hass.states.get("switch.front_siren")
assert state.state == "on"