mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Fix effects on HUE integration for Osram bulbs (#22789)
* Fix hue effect for others * New suggestion * switched implementation to remove colorloop for osram bulbs * Check ATTR_EFFECT in kwargs * Fix tests
This commit is contained in:
committed by
Paulus Schoutsen
parent
482cb0146a
commit
264e70922b
@@ -640,7 +640,6 @@ async def test_light_turn_on_service(hass, mock_bridge):
|
||||
'bri': 100,
|
||||
'on': True,
|
||||
'ct': 300,
|
||||
'effect': 'none',
|
||||
'alert': 'none',
|
||||
}
|
||||
|
||||
@@ -661,7 +660,6 @@ async def test_light_turn_on_service(hass, mock_bridge):
|
||||
assert mock_bridge.mock_requests[3]['json'] == {
|
||||
'on': True,
|
||||
'xy': (0.138, 0.08),
|
||||
'effect': 'none',
|
||||
'alert': 'none',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user