141 lines
2.8 KiB
Plaintext
141 lines
2.8 KiB
Plaintext
# serializer version: 1
|
|
# name: test_migrate_1_1
|
|
dict({
|
|
'acknowledge': False,
|
|
'devices': list([
|
|
dict({
|
|
'address': tuple(
|
|
0,
|
|
7,
|
|
False,
|
|
),
|
|
'hardware_serial': -1,
|
|
'hardware_type': -1,
|
|
'name': 'TestModule',
|
|
'software_serial': -1,
|
|
}),
|
|
]),
|
|
'dim_mode': 'STEPS200',
|
|
'entities': list([
|
|
dict({
|
|
'address': tuple(
|
|
0,
|
|
7,
|
|
False,
|
|
),
|
|
'domain': 'light',
|
|
'domain_data': dict({
|
|
'dimmable': True,
|
|
'output': 'OUTPUT1',
|
|
'transition': 5.0,
|
|
}),
|
|
'name': 'Light_Output1',
|
|
'resource': 'output1',
|
|
}),
|
|
]),
|
|
'host': 'pchk',
|
|
'ip_address': '192.168.2.41',
|
|
'password': 'lcn',
|
|
'port': 4114,
|
|
'sk_num_tries': 0,
|
|
'username': 'lcn',
|
|
})
|
|
# ---
|
|
# name: test_migrate_1_2
|
|
dict({
|
|
'acknowledge': False,
|
|
'devices': list([
|
|
dict({
|
|
'address': tuple(
|
|
0,
|
|
7,
|
|
False,
|
|
),
|
|
'hardware_serial': -1,
|
|
'hardware_type': -1,
|
|
'name': 'TestModule',
|
|
'software_serial': -1,
|
|
}),
|
|
]),
|
|
'dim_mode': 'STEPS200',
|
|
'entities': list([
|
|
dict({
|
|
'address': tuple(
|
|
0,
|
|
7,
|
|
False,
|
|
),
|
|
'domain': 'light',
|
|
'domain_data': dict({
|
|
'dimmable': True,
|
|
'output': 'OUTPUT1',
|
|
'transition': 5.0,
|
|
}),
|
|
'name': 'Light_Output1',
|
|
'resource': 'output1',
|
|
}),
|
|
dict({
|
|
'address': tuple(
|
|
0,
|
|
7,
|
|
False,
|
|
),
|
|
'domain': 'light',
|
|
'domain_data': dict({
|
|
'dimmable': False,
|
|
'output': 'OUTPUT2',
|
|
'transition': 0.0,
|
|
}),
|
|
'name': 'Light_Output2',
|
|
'resource': 'output2',
|
|
}),
|
|
dict({
|
|
'address': tuple(
|
|
0,
|
|
7,
|
|
False,
|
|
),
|
|
'domain': 'scene',
|
|
'domain_data': dict({
|
|
'outputs': list([
|
|
'OUTPUT1',
|
|
'OUTPUT2',
|
|
'RELAY1',
|
|
]),
|
|
'register': 0,
|
|
'scene': 0,
|
|
'transition': 0.0,
|
|
}),
|
|
'name': 'Romantic',
|
|
'resource': '0.0',
|
|
}),
|
|
dict({
|
|
'address': tuple(
|
|
0,
|
|
7,
|
|
False,
|
|
),
|
|
'domain': 'scene',
|
|
'domain_data': dict({
|
|
'outputs': list([
|
|
'OUTPUT1',
|
|
'OUTPUT2',
|
|
'RELAY1',
|
|
]),
|
|
'register': 0,
|
|
'scene': 1,
|
|
'transition': 10.0,
|
|
}),
|
|
'name': 'Romantic Transition',
|
|
'resource': '0.1',
|
|
}),
|
|
]),
|
|
'host': 'pchk',
|
|
'ip_address': '192.168.2.41',
|
|
'password': 'lcn',
|
|
'port': 4114,
|
|
'sk_num_tries': 0,
|
|
'username': 'lcn',
|
|
})
|
|
# ---
|