Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entertainment fixes #65

Merged
merged 2 commits into from
Jan 10, 2021
Merged

Entertainment fixes #65

merged 2 commits into from
Jan 10, 2021

Conversation

alexyao2015
Copy link
Member

No description provided.

marcelveldt and others added 2 commits January 7, 2021 22:05
Dynamically set streaming mode based on actual status
fixes #63
@@ -298,6 +299,18 @@ async def async_group_action(self, request: web.Request, request_data: dict):
# forward request to all group lights
async for entity in self.__async_get_group_lights(group_id):
await self.__async_light_action(entity, request_data)
if "stream" in group_conf:
# Request streaming stop
# Duplicate code here. Method instead?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do that when we refactor the logic into a separate controller instead of in the api code

@marcelveldt marcelveldt merged commit e4f960b into master Jan 10, 2021
@marcelveldt marcelveldt deleted the entertainment-mode-fixes branch January 10, 2021 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants