-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
catch ValueError when there is no
tsoll
- Loading branch information
Showing
3 changed files
with
140 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
tests/responses/groups/device_list_thermostat_without_tsoll.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<?xml version="1.0"?> | ||
<devicelist version="1" fwversion="7.57"> | ||
<device identifier="09995 0523646" id="16" functionbitmask="320" fwversion="05.08" manufacturer="AVM" productname="FRITZ!DECT 301"> | ||
<present>1</present> | ||
<txbusy>0</txbusy> | ||
<name>Wohnzimmer Couch</name> | ||
<battery>80</battery> | ||
<batterylow>0</batterylow> | ||
<temperature> | ||
<celsius>220</celsius> | ||
<offset>-10</offset> | ||
</temperature> | ||
<hkr> | ||
<tist>44</tist> | ||
<tsoll>43</tsoll> | ||
<absenk>35</absenk> | ||
<komfort>43</komfort> | ||
<lock>0</lock> | ||
<devicelock>0</devicelock> | ||
<errorcode>0</errorcode> | ||
<windowopenactiv>0</windowopenactiv> | ||
<windowopenactiveendtime>0</windowopenactiveendtime> | ||
<boostactive>0</boostactive> | ||
<boostactiveendtime>0</boostactiveendtime> | ||
<batterylow>0</batterylow> | ||
<battery>80</battery> | ||
<nextchange> | ||
<endperiod>0</endperiod> | ||
<tchange>43</tchange> | ||
</nextchange> | ||
<summeractive>0</summeractive> | ||
<holidayactive>0</holidayactive> | ||
<adaptiveHeatingActive>1</adaptiveHeatingActive> | ||
<adaptiveHeatingRunning>0</adaptiveHeatingRunning> | ||
</hkr> | ||
</device> | ||
<device identifier="09995 0517495" id="17" functionbitmask="320" fwversion="05.08" manufacturer="AVM" productname="FRITZ!DECT 301"> | ||
<present>1</present> | ||
<txbusy>0</txbusy> | ||
<name>Wohnzimmer Tisch</name> | ||
<battery>80</battery> | ||
<batterylow>0</batterylow> | ||
<temperature> | ||
<celsius>220</celsius> | ||
<offset>-10</offset> | ||
</temperature> | ||
<hkr> | ||
<tist>44</tist> | ||
<tsoll>43</tsoll> | ||
<absenk>35</absenk> | ||
<komfort>43</komfort> | ||
<lock>0</lock> | ||
<devicelock>0</devicelock> | ||
<errorcode>0</errorcode> | ||
<windowopenactiv>0</windowopenactiv> | ||
<windowopenactiveendtime>0</windowopenactiveendtime> | ||
<boostactive>0</boostactive> | ||
<boostactiveendtime>0</boostactiveendtime> | ||
<batterylow>0</batterylow> | ||
<battery>80</battery> | ||
<nextchange> | ||
<endperiod>0</endperiod> | ||
<tchange>43</tchange> | ||
</nextchange> | ||
<summeractive>0</summeractive> | ||
<holidayactive>0</holidayactive> | ||
<adaptiveHeatingActive>1</adaptiveHeatingActive> | ||
<adaptiveHeatingRunning>0</adaptiveHeatingRunning> | ||
</hkr> | ||
</device> | ||
<group synchronized="1" identifier="grp303E4F-3F7D9BE07" id="900" functionbitmask="4160" fwversion="1.0" manufacturer="AVM" productname=""> | ||
<present>1</present> | ||
<txbusy>0</txbusy> | ||
<name>Wohnzimmer</name> | ||
<hkr> | ||
<tist/> | ||
<tsoll/> | ||
<absenk>35</absenk> | ||
<komfort>43</komfort> | ||
<lock>0</lock> | ||
<devicelock>0</devicelock> | ||
<errorcode>0</errorcode> | ||
<windowopenactiv>0</windowopenactiv> | ||
<windowopenactiveendtime>0</windowopenactiveendtime> | ||
<boostactive>0</boostactive> | ||
<boostactiveendtime>0</boostactiveendtime> | ||
<nextchange> | ||
<endperiod>0</endperiod> | ||
<tchange>43</tchange> | ||
</nextchange> | ||
<summeractive>0</summeractive> | ||
<holidayactive>0</holidayactive> | ||
<adaptiveHeatingActive>1</adaptiveHeatingActive> | ||
<adaptiveHeatingRunning>0</adaptiveHeatingRunning> | ||
</hkr> | ||
<groupinfo> | ||
<masterdeviceid>0</masterdeviceid> | ||
<members>16,17</members> | ||
</groupinfo> | ||
</group> | ||
</devicelist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters