Skip to content

Commit

Permalink
Merge pull request #231 from claytonjn/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
claytonjn authored Jun 9, 2023
2 parents 332e061 + 56ec2d6 commit ec06f97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions custom_components/circadian_lighting/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"domain": "circadian_lighting",
"name": "Circadian Lighting",
"version": "2.1.3",
"codeowners": ["@claytonjn"],
"dependencies": ["sensor","switch"],
"documentation": "https://github.com/claytonjn/hass-circadian_lighting",
"iot_class": "calculated",
"issue_tracker": "https://github.com/claytonjn/hass-circadian_lighting/issues",
"dependencies": ["sensor","switch"],
"codeowners": ["@claytonjn"],
"requirements": [],
"iot_class": "calculated"
"version": "2.1.4"
}
6 changes: 4 additions & 2 deletions custom_components/circadian_lighting/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,10 @@ async def _adjust_lights(self, lights, transition):
service_data,
)
tasks.append(
self.hass.services.async_call(
LIGHT_DOMAIN, SERVICE_TURN_ON, service_data
self.hass.async_create_task(
self.hass.services.async_call(
LIGHT_DOMAIN, SERVICE_TURN_ON, service_data
)
)
)
if tasks:
Expand Down

0 comments on commit ec06f97

Please sign in to comment.