Merge branch 'master' into master

This commit is contained in:
Tim authored and GitHub committed 2021-08-26 12:52:13 +09:30
commit 45890cf769
4 files changed
+76 -7

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ class LocaltuyaLight(LocalTuyaEntity, LightEntity):
def __find_scene_by_scene_data(self, data):
return next(
(item for item in self._effect_list if self._scenes[item] == data),
(item for item in self._effect_list if self._scenes.get(item) == data),
SCENE_CUSTOM,
)
+2 -1
View File
@@ -9,5 +9,6 @@
],
"issue_tracker": "https://github.com/rospogrigio/localtuya/issues",
"requirements": [],
"config_flow": true
"config_flow": true,
"iot_class": "local_push"
}