-
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.
remove no more existing device/template from cache
- Loading branch information
Showing
8 changed files
with
212 additions
and
13 deletions.
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
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
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
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,67 @@ | ||
<?xml version="1.0" ?> | ||
<devicelist version="1"> | ||
<device identifier="08761 0000434" id="17" functionbitmask="896" fwversion="03.33" manufacturer="AVM" productname="FRITZ!DECT 200"> | ||
<present>1</present> | ||
<name>Steckdose</name> | ||
<switch> | ||
<state>1</state> | ||
<mode>auto</mode> | ||
<lock>0</lock> | ||
<devicelock>0</devicelock> | ||
</switch> | ||
<powermeter> | ||
<power>0</power> | ||
<energy>707</energy> | ||
</powermeter> | ||
<temperature> | ||
<celsius>285</celsius> | ||
<offset>0</offset> | ||
</temperature> | ||
</device> | ||
<device identifier="08761 1048079" id="16" functionbitmask="1280" | ||
fwversion="03.44" manufacturer="AVM" productname="FRITZ!DECT Repeater 100"> | ||
<present>1</present> | ||
<name>FRITZ!DECT Rep 100 #1</name> | ||
<temperature> | ||
<celsius>288</celsius> | ||
<offset>0</offset> | ||
</temperature> | ||
</device> | ||
<device identifier="11959 0171328" id="16" functionbitmask="320" | ||
fwversion="03.54" manufacturer="AVM" productname="Comet DECT"> | ||
<present>1</present> | ||
<name>Badezimmer</name> | ||
<temperature> | ||
<celsius>205</celsius> | ||
<offset>-15</offset> | ||
</temperature> | ||
<hkr> | ||
<tist>41</tist> | ||
<tsoll>36</tsoll> | ||
<absenk>36</absenk> | ||
<komfort>42</komfort> | ||
<lock>0</lock> | ||
<devicelock>0</devicelock> | ||
<errorcode>0</errorcode> | ||
<batterylow>0</batterylow> | ||
<nextchange> | ||
<endperiod>1508342400</endperiod> | ||
<tchange>42</tchange> | ||
</nextchange> | ||
</hkr> | ||
</device> | ||
<group identifier="65:3A:18-900" id="900" functionbitmask="512" fwversion="1.0" manufacturer="AVM" productname=""> | ||
<present>1</present> | ||
<name>Gruppe</name> | ||
<switch> | ||
<state>1</state> | ||
<mode>auto</mode> | ||
<lock/> | ||
<devicelock/> | ||
</switch> | ||
<groupinfo> | ||
<masterdeviceid>0</masterdeviceid> | ||
<members>17</members> | ||
</groupinfo> | ||
</group> | ||
</devicelist> |
85 changes: 85 additions & 0 deletions
85
tests/responses/templates/template_list_removed_template.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,85 @@ | ||
<templatelist version="1"> | ||
<!-- Base Data Tests --> | ||
<template identifier="tmp0B32F7-1B0650682" id="60000" functionbitmask="320" applymask="0"> | ||
<name>Base Data</name> | ||
<devices /> | ||
<applymask /> | ||
</template> | ||
|
||
<!-- Device Tests --> | ||
<template identifier="tmp0B32F7-1B0650234" id="60010" functionbitmask="0" applymask="0"> | ||
<name>One Device</name> | ||
<devices> | ||
<device identifier="08735 0525249" /> | ||
</devices> | ||
<applymask /> | ||
</template> | ||
<template identifier="tmp0B32F7-1C40A2B8A" id="60011" functionbitmask="0" applymask="0"> | ||
<name>Multiple Devices</name> | ||
<devices> | ||
<device identifier="08735 0316335" /> | ||
<device identifier="08735 0525249" /> | ||
<device identifier="08735 0526125" /> | ||
<device identifier="08735 0340143" /> | ||
</devices> | ||
<applymask /> | ||
</template> | ||
|
||
<!-- Applymask Tests --> | ||
<template identifier="tmp0B32F7-1B064FA20" id="60020" functionbitmask="0" applymask="0"> | ||
<name>Apply Heating Summer Mode (Heating off)</name> | ||
<devices /> | ||
<applymask> | ||
<hkr_summer /> | ||
</applymask> | ||
</template> | ||
<template identifier="tmp0B32F7-1B064FA21" id="60021" functionbitmask="0" applymask="0"> | ||
<name>Apply Heating Target Temperature</name> | ||
<devices /> | ||
<applymask> | ||
<hkr_temperature /> | ||
</applymask> | ||
</template> | ||
<template identifier="tmp0B32F7-1B064FA22" id="60022" functionbitmask="0" applymask="0"> | ||
<name>Apply Heating Holiday Mode</name> | ||
<devices /> | ||
<applymask> | ||
<hkr_holidays /> | ||
</applymask> | ||
</template> | ||
<template identifier="tmp0B32F7-1B064FA23" id="60023" functionbitmask="0" applymask="0"> | ||
<name>Apply Heating Time Table</name> | ||
<devices /> | ||
<applymask> | ||
<hkr_time_table /> | ||
</applymask> | ||
</template> | ||
<template identifier="tmp0B32F7-1B064FA24" id="60024" functionbitmask="0" applymask="0"> | ||
<name>Apply Switch/Lamp/Actor manuel on/off Setting</name> | ||
<devices /> | ||
<applymask> | ||
<relay_manual /> | ||
</applymask> | ||
</template> | ||
<template identifier="tmp0B32F7-1B064FA25" id="60025" functionbitmask="0" applymask="0"> | ||
<name>Apply Switch/Lamp/Actor Automatic Time Table</name> | ||
<devices /> | ||
<applymask> | ||
<relay_automatic /> | ||
</applymask> | ||
</template> | ||
<template identifier="tmp0B32F7-1B064FA26" id="60026" functionbitmask="0" applymask="0"> | ||
<name>Apply Lamp/Blind Level</name> | ||
<devices /> | ||
<applymask> | ||
<level /> | ||
</applymask> | ||
</template> | ||
<template identifier="tmp0B32F7-1B064FA27" id="60027" functionbitmask="0" applymask="0"> | ||
<name>Apply Lamp Color</name> | ||
<devices /> | ||
<applymask> | ||
<color /> | ||
</applymask> | ||
</template> | ||
</templatelist> |
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
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
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