mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
rename _calc_percent
This commit is contained in:
parent
8abab027cf
commit
ef444cd941
1 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ class CircadianLighting:
|
|||
self._profile = profile
|
||||
_LOGGER.debug("profile: %s", self._profile)
|
||||
|
||||
self._percent = self.calc_percent()
|
||||
self._percent = self._calc_percent()
|
||||
self._colortemp = self.calc_colortemp()
|
||||
self._rgb_color = self.calc_rgb()
|
||||
self._xy_color = self.calc_xy()
|
||||
|
|
@ -318,7 +318,7 @@ class CircadianLighting:
|
|||
|
||||
async def update(self, _=None):
|
||||
"""Update Circadian Values."""
|
||||
self._percent = self.calc_percent()
|
||||
self._percent = self._calc_percent()
|
||||
self._colortemp = self.calc_colortemp()
|
||||
self._rgb_color = self.calc_rgb()
|
||||
self._xy_color = self.calc_xy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue