<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="8r9,3DrXH@Vwv(3e.-50">manuell_bedient</variable>
<variable type="" id="A7T|1j3MV@CZ0,`/j7eM">Timesteps</variable>
<variable type="" id="R_!-W,P^7Fc;ljky*rl;">Farbe_Hue</variable>
<variable type="" id="_`6{6c6rA45,ZPo$[9cX">Farbe:Sat</variable>
<variable type="undefined" id="Intervall">Intervall</variable>
</variables>
<block type="variables_set" id="5ls:UweRE{.IQ..d{vm|" x="88" y="-163">
<field name="VAR" id="8r9,3DrXH@Vwv(3e.-50" variabletype="">manuell_bedient</field>
<value name="VALUE">
<block type="logic_boolean" id="J5|/wU[iV6)-$ss?dQ#G">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="comment" id="e7P]EfnRO|mg|xzUU=#.">
<field name="COMMENT">Sonnenaufgang per Schedule</field>
<next>
<block type="schedule" id="mI!1MxMMqfmAkYTPMJX-">
<field name="SCHEDULE">40 7 * * 1-5</field>
<statement name="STATEMENT">
<block type="controls_if" id="y35~folwA64JELdx*aZ_">
<value name="IF0">
<block type="logic_operation" id="n/piVA}VH$eSi|cR%Z+0" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="s3sEA.5IE{Fen=nr3}^(">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="DOA7KEe-NvFZvDH{MK0B">
<field name="ATTR">val</field>
<field name="OID">feiertage.0.today.boolean</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="#rb1##iZs[9_sOPrxI[T">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="time_compare_ex" id="+Hv8;]6^|BT~:?i^+FA7">
<mutation end_time="false" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION"><</field>
<value name="START_TIME">
<shadow type="text" id="KyQMF$[]f9wn+oTX}`q}">
<field name="TEXT">12:00</field>
</shadow>
<block type="time_astro" id="}c/A]}{r=t-#{ofvqB4w">
<field name="TYPE">sunriseEnd</field>
<field name="OFFSET">30</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_clearinterval" id="icH=6OkVId1/.haYArX-">
<field name="NAME">Intervall</field>
<next>
<block type="variables_set" id="fVqkEb48.`%t[:LcLpje">
<field name="VAR" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">Timesteps</field>
<value name="VALUE">
<block type="math_number" id="pSw*~!|l[%.t]7;Ywu|s">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id=",-(_MP:7b]`f(|D7OF`M">
<field name="VAR" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">Farbe_Hue</field>
<value name="VALUE">
<block type="math_number" id="1:[z]B%MWNE}N!hRhmEy">
<field name="NUM">27</field>
</block>
</value>
<next>
<block type="variables_set" id="MQL8QGsHpuw%:IIz?,Ip">
<field name="VAR" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">Farbe:Sat</field>
<value name="VALUE">
<block type="math_number" id="]AXkCF,taTjWXz4(%-eN">
<field name="NUM">100</field>
</block>
</value>
<next>
<block type="comment" id="zL7Fs]/lGoKX#)_8Dx(7">
<field name="COMMENT">Zeiteinheit pro Stufe</field>
<next>
<block type="timeouts_setinterval" id="aYso6.3`0KZpiU!ixQ9T">
<field name="NAME">Intervall</field>
<field name="INTERVAL">30</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="_/oy-UP*Q|OpAe#8j6]z">
<mutation delay_input="false"></mutation>
<field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="LXPUqCPxF_5,=yaCm]Mh">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="control" id="EL#h3qPd3;k/WtxadMHp">
<mutation delay_input="false"></mutation>
<field name="OID">tradfri.0.G-131074.brightness</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="}iroE9Nn~^%nw0Uv40@z">
<field name="VAR" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">Timesteps</field>
</block>
</value>
<next>
<block type="control" id="S~awpi`u+e#,,o?~L3J(">
<mutation delay_input="false"></mutation>
<field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="H~d*_yP{Bc!T;|]H@zX%">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="control" id="th!vt7:0Tk0^Yv2@xlO^">
<mutation delay_input="false"></mutation>
<field name="OID">tradfri.0.G-131074.hue</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="Pb6Yl!1+i!-fvuexZ.3i">
<field name="VAR" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">Farbe_Hue</field>
</block>
</value>
<next>
<block type="control" id="wU3N,FaRZ77wx,:i7G}@">
<mutation delay_input="false"></mutation>
<field name="OID">tradfri.0.L-65539.lightbulb.transitionDuration</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="87hw*u;(lW]E)_[Va*eO">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="control" id="gE7}sOpkMH?!.Y7PNtpz">
<mutation delay_input="false"></mutation>
<field name="OID">tradfri.0.G-131074.saturation</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="0%C^b;Y9b#OQ)/.tO[Qt">
<field name="VAR" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">Farbe:Sat</field>
</block>
</value>
<next>
<block type="comment" id="6]MxZ:=}qAgQgny94518">
<field name="COMMENT">Stufen erhöhen</field>
<next>
<block type="variables_set" id="q|w6}P/MqM^Z]Q9c@lZp">
<field name="VAR" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">Timesteps</field>
<value name="VALUE">
<block type="math_arithmetic" id="7^A`S:+9p^Egv)f[6)?/">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="6R+dE9AjkDe@_Q26AQE-">
<field name="VAR" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">Timesteps</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="XC2hP/tC}U*qITEOk)db">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="3u{v{:UzTA,tfbeouyOC">
<field name="VAR" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">Farbe_Hue</field>
<value name="VALUE">
<block type="math_arithmetic" id="1XiOvP|W[8jo=rRSg2%-">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id=",3Ix@FLr[leEH.PZxCTj">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="4KVUASXRkem*~/T^-%?t">
<field name="VAR" id="R_!-W,P^7Fc;ljky*rl;" variabletype="">Farbe_Hue</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="^2OM=4%4!ojW;=R8BPa0">
<field name="NUM">0.1</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="OJtc]JN(wj0Mc*}^B(mS">
<field name="VAR" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">Farbe:Sat</field>
<value name="VALUE">
<block type="math_arithmetic" id="pBsazw6;9z2l@JujGePr">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="I1~.:i,ZA+OypC#NB!:7">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="}1REB9afZ]0YfX6sl`DP">
<field name="VAR" id="_`6{6c6rA45,ZPo$[9cX" variabletype="">Farbe:Sat</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="+/F]U2:je(yC3}oU@,LU">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="]l~mrti-7j^?,i05z@ZC">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="c9d^cx}En)QJ^5LBl_.e">
<value name="IF0">
<block type="logic_compare" id="6S_vBdKEEXwB9y7dS+5Q">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="`x=8)h:X3ni1O#OwO/;-">
<field name="VAR" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">Timesteps</field>
</block>
</value>
<value name="B">
<block type="math_number" id="/eH;_D[-f!B,_d{.kQ#S">
<field name="NUM">99</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="d@z26Wa+#kDyXAsPPolt">
<field name="COMMENT">Wenn Endeinstellung erreicht stoppe Zyklen</field>
<next>
<block type="timeouts_clearinterval" id="YwJUV,R/}uU_PI:V7VXG">
<field name="NAME">Intervall</field>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
<block type="astro" id="6cx@9j+:vdmPY=xNX/$K" x="663" y="164">
<field name="TYPE">sunriseEnd</field>
<field name="OFFSET">30</field>
<statement name="STATEMENT">
<block type="timeouts_clearinterval" id="1Twe1W84uNp=sTOC9FiW">
<field name="NAME">Intervall</field>
<next>
<block type="control" id="d3=-=bVl8]v}p:M%@YCW">
<mutation delay_input="false"></mutation>
<field name="OID">tradfri.0.G-131074.state</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="-!3|vrr{`mTjh{i!1JM=">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="*EFw|LDD~6Ss4b)In.eM">
<field name="COMMENT">Abbruch per Fernbedienung</field>
<next>
<block type="on_ext" id=":Mw*gCWotTHocSv[3uwd">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="Cj?.K4aL+{%eYH+_bS#L">
<field name="oid">tradfri.0.L-65539.lightbulb.state</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="comment" id="m#[V-7wmJ_s0{XHXk=CO">
<field name="COMMENT">wenn Fernbedienung aus dann stoppe Zyklen</field>
<next>
<block type="controls_if" id="_gdEV:4:y(?k:ip~o/b^">
<value name="IF0">
<block type="logic_operation" id="ghZ#k`vY-z}Re}]kdkyH" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="NFNS+kXaz8myPISu/9;0" inline="false">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="o(N]OR-Tqd4r/r/Q~F|d">
<field name="ATTR">val</field>
<field name="OID">tradfri.0.L-65539.lightbulb.state</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="4a;}(XEFQk[`hRRv1v8%">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="Ix|::b*3j!{%cpgkwjKC">
<field name="OP">LT</field>
<value name="A">
<block type="variables_get" id="Ukl)t7G5qqZX?@`Z(Sj%">
<field name="VAR" id="A7T|1j3MV@CZ0,`/j7eM" variabletype="">Timesteps</field>
</block>
</value>
<value name="B">
<block type="math_number" id="O|pySQ}{qDn|Q9y,-T=[">
<field name="NUM">99</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_clearinterval" id="#`4q,dgH38Q6|+n%=6^:">
<field name="NAME">Intervall</field>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</xml>