Skip to content

Commit 12e81a6

Browse files
committed
Change zone unique id generation
1 parent f1fee99 commit 12e81a6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

airzone/innobus.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import datetime
22
from enum import Enum, IntEnum
33

4-
from airzone.protocol import *
54
from deprecated import deprecated # type: ignore
65

6+
from airzone.protocol import *
7+
78

89
class OperationMode(Enum):
910
STOP = 0
@@ -471,4 +472,4 @@ def get_dif_current_temp(self):
471472

472473
@property
473474
def unique_id(self):
474-
return f'{str(self._machine)}_Z{self._zone_id}'
475+
return f'{self._machine.unique_id}_Z{self._zone_id}'

0 commit comments

Comments
 (0)