@m-a-hueb
Tut mir leid war die letzten Tage unterwegs.
Die Datenpunkte hab ich mir selbst angelegt und dann via Yahka als Switch in Homekit eingebunden. Eine Apple Automation schaltet mir diese dann auch wie gewünscht.
Anbei der Code, allerdings einfach nur Copy-Paste wird nicht funktionieren.
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="on_ext" id="!y7`@#n+=[(Q-|EZ;8:k" x="-462" y="-37">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="E2j7B1.^p9*9kUYNS8JD">
<field name="oid">0_userdata.0.Systeme.Texttospeech_trigger</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="?Kz$y7OooLMA[T=9ec:i">
<value name="IF0">
<block type="logic_operation" id="uW%b3T*~vjac-vF1`0U:" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="X(r4^B.9Z6z`HvQ2mS/)">
<field name="OP">EQ</field>
<value name="A">
<block type="on_source" id="a_=XQTw%mE`j0~b[281@">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="gsEPr=I=t37K^/,3$t{P">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="c2/ei6.)HTg{28ZVy.7u">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="4T%LB;d0ufy99Z;9WBm]">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Systeme.Homepod_Kombi</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Bjt!xC{s0pIjRAA%ev*f">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="oS[.L`.v*Yb?tgy+F[?D">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Systeme.Homepod_Kombi</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="Y]1u):1=|XOpZ+z0YEQf">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="mI!;M#SkwR/S/ufPILg[">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">hass.0.entities.input_text.input_text.set_value</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">1000</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="get_value" id="o6fHE{B,Z/^-QX-/Q{a(">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Systeme.Texttospeech_Homepod</field>
</block>
</value>
<next>
<block type="control" id="frMwj@LQ?1jneZ.Ylk=B">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">0_userdata.0.Systeme.Texttospeech_trigger</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">200</field>
<field name="UNIT">ms</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="s2FpT!=MKY0ucbzGduQ7">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="-YgM}_6QHq6cR~hxK^R=">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="iEX^m6b^f)UGZz,7II7x">
<field name="oid">hass.0.entities.media_player.kuche.state</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="*,Dxpg4A;S3D8{PbFFKg">
<value name="IF0">
<block type="logic_operation" id="M}*}(:*vuTGYPP5=91]=" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_operation" id="T%TbC|K#lG{)rm8^WYB," inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="`[NCzpH4:sJ4z/Q~HDj0">
<field name="OP">EQ</field>
<value name="A">
<block type="on_source" id="Dg4}0`clexDWj$qK]dEI">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="text" id="=80c_.3*SbRub2plUoH=">
<field name="TEXT">paused</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="wnP:[q-t{pYYFJz%Vkr}">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="8Yka^Nc.gWs(h):7.#O*">
<field name="ATTR">val</field>
<field name="OID">shelly.0.SHSW-25#68C63AF96046#1.Relay0.Switch</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="`#NJMJt)L.~@8?9xQ/``">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="=)K1ORztIb+Ce![0TxB0">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="#5#OkW9gRp|qq2@)28(~">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Systeme.Homepod_Kombi</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=";l~[#SE-:K:Qi62]S.mG">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="UMhmY2hoO^]u`8RF-7P]">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Systeme.Homepod_Kombi</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="9cTiMX*-[lXWXGuJ7b#e">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</xml>