mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-13 18:14:28 +05:00
Compare commits
2 Commits
v1.0.10b17
...
v1.0.10b18
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
647baa9bb1 | ||
|
|
614525b315 |
@@ -1,5 +1,5 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 1.0.10b17
|
current_version = 1.0.10b18
|
||||||
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d+))(?P<release>[bf]*)(?P<build>\d*)
|
parse = (?P<major>\d+)(\.(?P<minor>\d+))(\.(?P<patch>\d+))(?P<release>[bf]*)(?P<build>\d*)
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
|
|||||||
@@ -15,5 +15,5 @@
|
|||||||
"@andvikt"
|
"@andvikt"
|
||||||
],
|
],
|
||||||
"issue_tracker": "https://github.com/andvikt/mega_hacs/issues",
|
"issue_tracker": "https://github.com/andvikt/mega_hacs/issues",
|
||||||
"version": "v1.0.10b17"
|
"version": "v1.0.10b18"
|
||||||
}
|
}
|
||||||
@@ -171,7 +171,12 @@ class MegaI2C(FilterBadValues):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def customize(self):
|
def customize(self):
|
||||||
return super().customize.get(self.id_suffix, {}) or {}
|
ret = super().customize
|
||||||
|
_old = ret.get(self.id_suffix)
|
||||||
|
if _old is not None:
|
||||||
|
ret = ret.copy()
|
||||||
|
ret.update(_old)
|
||||||
|
return ret
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def extra_state_attributes(self):
|
def extra_state_attributes(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user