File: test_wall_switch.ambr

package info (click to toggle)
devolo-home-control-api 0.19.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 804 kB
  • sloc: python: 3,167; makefile: 3
file content (155 lines) | stat: -rw-r--r-- 5,727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# serializer version: 1
# name: test_getting_devices
  list([
    Zwave(
      assistants_enabled=1,
      battery_level=84,
      battery_low=False,
      brand='Everspring',
      description=None,
      device_model_uid='devolo.model.Room:Thermostat',
      device_type='Door Lock Keypad',
      element_uids=list([
        'devolo.MultiLevelSensor:hdm:ZWave:CBC56091/5',
        'devolo.MultiLevelSwitch:hdm:ZWave:CBC56091/5#ThermostatSetpoint(1)',
        'devolo.RemoteControl:hdm:ZWave:CBC56091/5',
      ]),
      generic_device_class='Entry Control',
      href='https://mydevolo.com/v1/zwave/products/0x0060/0x0001/0x0002',
      identifier='SP814-US',
      is_own=True,
      is_securely_included=False,
      is_zwave_plus=True,
      manufacturer_id='0x0060',
      multi_level_sensor_property=dict({
        'devolo.MultiLevelSensor:hdm:ZWave:CBC56091/5': MultiLevelSensorProperty(
          device_uid='hdm:ZWave:CBC56091/5',
          element_uid='devolo.MultiLevelSensor:hdm:ZWave:CBC56091/5',
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
          sensor_type='temperature',
          sub_type='',
          unit='°C',
          value=21.3,
        ),
      }),
      multi_level_switch_property=dict({
        'devolo.MultiLevelSwitch:hdm:ZWave:CBC56091/5#ThermostatSetpoint(1)': MultiLevelSwitchProperty(
          device_uid='hdm:ZWave:CBC56091/5',
          element_uid='devolo.MultiLevelSwitch:hdm:ZWave:CBC56091/5#ThermostatSetpoint(1)',
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
          max=28,
          min=4,
          switch_type='temperature',
          unit='°C',
          value=21,
        ),
      }),
      name='Everspring PIR Sensor SP814',
      pending_operations=False,
      product_id='0x0002',
      product_type_id='0x0001',
      remote_control_property=dict({
        'devolo.RemoteControl:hdm:ZWave:CBC56091/5': RemoteControlProperty(
          device_uid='hdm:ZWave:CBC56091/5',
          element_uid='devolo.RemoteControl:hdm:ZWave:CBC56091/5',
          key_count=1,
          key_pressed=0,
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
        ),
      }),
      secure_inclusion_code=0,
      setting_uids=list([
        'gds.hdm:ZWave:CBC56091/5',
        'cps.hdm:ZWave:CBC56091/5',
        'ss.hdm:ZWave:CBC56091/5:0',
      ]),
      settings_property=dict({
        'general_device_settings': SettingsProperty(
          element_uid='gds.hdm:ZWave:CBC56091/5',
          events_enabled=True,
          icon='icon_27',
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
          name='Thermostat',
          zone='Office',
          zone_id='hz_1',
        ),
        'param_changed': SettingsProperty(
          element_uid='cps.hdm:ZWave:CBC56091/5',
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
          param_changed=False,
        ),
      }),
      specific_device_class='Secure Keypad Door Lock',
      status=2,
      uid='hdm:ZWave:CBC56091/5',
      zwave_version='6.51.07',
    ),
    Zwave(
      assistants_enabled=1,
      battery_level=60,
      battery_low=False,
      brand='Everspring',
      description=None,
      device_model_uid='devolo.model.Wall:Control',
      device_type='Door Lock Keypad',
      element_uids=list([
        'devolo.RemoteControl:hdm:ZWave:CBC56091/7',
      ]),
      generic_device_class='Entry Control',
      href='https://mydevolo.com/v1/zwave/products/0x0060/0x0001/0x0002',
      identifier='SP814-US',
      is_own=True,
      is_securely_included=False,
      is_zwave_plus=True,
      manufacturer_id='0x0060',
      name='Everspring PIR Sensor SP814',
      pending_operations=False,
      product_id='0x0002',
      product_type_id='0x0001',
      remote_control_property=dict({
        'devolo.RemoteControl:hdm:ZWave:CBC56091/7': RemoteControlProperty(
          device_uid='hdm:ZWave:CBC56091/7',
          element_uid='devolo.RemoteControl:hdm:ZWave:CBC56091/7',
          key_count=4,
          key_pressed=0,
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
        ),
      }),
      secure_inclusion_code=0,
      setting_uids=list([
        'gds.hdm:ZWave:CBC56091/7',
        'cps.hdm:ZWave:CBC56091/7',
        'ss.hdm:ZWave:CBC56091/7:0',
        'ss.hdm:ZWave:CBC56091/7:1',
        'ss.hdm:ZWave:CBC56091/7:2',
        'ss.hdm:ZWave:CBC56091/7:3',
        'sts.hdm:ZWave:CBC56091/7',
      ]),
      settings_property=dict({
        'general_device_settings': SettingsProperty(
          element_uid='gds.hdm:ZWave:CBC56091/7',
          events_enabled=True,
          icon='icon_47',
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
          name='Wall Switch',
          zone='Office',
          zone_id='hz_1',
        ),
        'param_changed': SettingsProperty(
          element_uid='cps.hdm:ZWave:CBC56091/7',
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
          param_changed=False,
        ),
        'switch_type': SettingsProperty(
          element_uid='sts.hdm:ZWave:CBC56091/7',
          last_activity=FakeDatetime(1970, 1, 1, 1, 0, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')),
          value=4,
        ),
      }),
      specific_device_class='Secure Keypad Door Lock',
      status=1,
      uid='hdm:ZWave:CBC56091/7',
      zwave_version='6.51.07',
    ),
  ])
# ---