@CoolKau i don’t know if turning off the zwave network will do the same as shutting down home assistant, which is what i did.
I know that when homeassistant is shutdown it will overwrite the zwcfg_xxx.xml file, but i’m not sure if you can prevent that by just shutting down the zwave network.
after homeassistant was down i edited the zwcfg_xxx.xml so
<Commandclass id=91 …> in the <Node id=? name=wallmote …> looks like this:
<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="5" innif="true" scenecount="0">
<Instance index="1" />
<Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
<Value type="int" genre="system" instance="1" index="1" label="Button One" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
<Value type="int" genre="system" instance="1" index="2" label="Button Two" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="1" />
<Value type="int" genre="system" instance="1" index="3" label="Button Three" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
<Value type="int" genre="system" instance="1" index="4" label="Button Four" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
<Value type="int" genre="system" instance="1" index="5" label="Other" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
</CommandClass>
after that i added the automation script, and the button is ready.
I haven’t figured out how to do the swipe function yet, but when I swipe a new value turns up in the unit configuration: Parameter 9 and 10 (same place where you change if you want sound and light when a button is pressed).
An the number must have something to do with the swipe… a bit strange i think