mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 01:24:29 +05:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bb2425918 | ||
|
|
58a4680311 | ||
|
|
03462edf83 | ||
|
|
8847290457 | ||
|
|
36dfad1697 | ||
|
|
dee0d6d1a7 | ||
|
|
da7305c07b | ||
|
|
d3f3eeedc5 | ||
|
|
16ad1ea4d2 |
@@ -1,5 +1,5 @@
|
||||
[bumpversion]
|
||||
current_version = 1.1.8b3
|
||||
current_version = 1.1.8b1
|
||||
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d+))(?P<release>[bf]*)(?P<build>\d*)
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
@@ -263,9 +263,8 @@ class MegaRGBW(LightEntity, BaseMegaEntity):
|
||||
setattr(self, f"_{item}", value)
|
||||
if item == "rgb_color":
|
||||
_after = map_reorder_rgb(value, RGB, self._color_order)
|
||||
self._hs_color = colorsys.rgb_to_hsv(*value)
|
||||
_after = _after or self.get_rgbw()
|
||||
self._rgb_color = map_reorder_rgb(tuple(_after[:3]), self._color_order, RGB)
|
||||
self._rgb_color = tuple(_after[:3])
|
||||
if transition is None:
|
||||
transition = self.smooth.total_seconds()
|
||||
ratio = self.calc_speed_ratio(_before, _after)
|
||||
|
||||
@@ -15,5 +15,5 @@
|
||||
"@andvikt"
|
||||
],
|
||||
"issue_tracker": "https://github.com/andvikt/mega_hacs/issues",
|
||||
"version": "v1.1.8b3"
|
||||
"version": "v1.1.8b1"
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
Если вам понравилась интеграция, не забудьте поставить звезду на гитхабе - вам не сложно, а мне приятно ) А если
|
||||
интеграция очень понравилась - еще приятнее, если вы воспользуетесь кнопкой доната )
|
||||
|
||||
Обновление прошивки MegaD можно делать прямо из HA с помощью [аддона](https://github.com/andvikt/mega_addon.git)
|
||||
Обновление прошивки MegaD можно делать из HA с помощью [аддона](https://github.com/andvikt/mega_addon.git)
|
||||
|
||||
## Основные особенности {: #mains }
|
||||
- Настройка в [веб-интерфейсе](settings.md) + [yaml](yaml.md)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
# MegaD HomeAssistant integration
|
||||
[](https://github.com/custom-components/hacs)
|
||||
[](https://github.com/hacs/integration)
|
||||
[](https://yoomoney.ru/to/410013955329136)
|
||||
|
||||
Интеграция с [MegaD-2561, MegaD-328](https://www.ab-log.ru/smart-house/ethernet/megad-2561)
|
||||
|
||||
Reference in New Issue
Block a user