* Revert "Emulated Hue: changed the reported fallback device-type to fix Alexa compatibility issues (#30013)" This reverts commit ddc8d9e25c0c8fd4073c0c516de9fa096cceb9bc. * Revert "Emulated Hue: updated tests (#30013)" This reverts commit 90df461e752fd6ecc1dc65bae0eba17f26a82f5f. * Emulated Hue + Alexa: changed the fallback device-type again to "Dimmable Light" (#30013) after collective debugging; fixed brightness for on/off-devices and scripts to prevent "device malfunction" response from Alexa (#29899) * Emulated Hue + Alexa: lint (#30013, #29899)
This commit is contained in:
1 parent
96ede54a1b
commit
af105d2d61
2 files changed
+14
-16
No files matched your search
@@ -238,7 +238,7 @@ async def test_light_without_brightness_supported(hass_hue, hue_client):
|
||||
)
|
||||
|
||||
assert light_without_brightness_json["state"][HUE_API_STATE_ON] is True
|
||||
assert light_without_brightness_json["type"] == "On/off plug-in unit"
|
||||
assert light_without_brightness_json["type"] == "Dimmable light"
|
||||
|
||||
|
||||
async def test_light_without_brightness_can_be_turned_off(hass_hue, hue_client):
|
||||
|
||||
Reference in new issue
Block a user