Merge pull request #159 from andvikt/dev

Dev
This commit is contained in:
andvikt
2023-10-11 11:28:06 +03:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.8b1
current_version = 1.1.8b2
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d+))(?P<release>[bf]*)(?P<build>\d*)
commit = True
tag = True

View File

@@ -264,7 +264,7 @@ class MegaRGBW(LightEntity, BaseMegaEntity):
if item == "rgb_color":
_after = map_reorder_rgb(value, RGB, self._color_order)
_after = _after or self.get_rgbw()
self._rgb_color = tuple(_after[:3])
self._rgb_color = map_reorder_rgb(tuple(_after[:3]), self._color_order, RGB)
if transition is None:
transition = self.smooth.total_seconds()
ratio = self.calc_speed_ratio(_before, _after)

View File

@@ -15,5 +15,5 @@
"@andvikt"
],
"issue_tracker": "https://github.com/andvikt/mega_hacs/issues",
"version": "v1.1.8b1"
"version": "v1.1.8b2"
}