(SOLVED)Problem on time-switch with Expire-Binding

I need some help pls,i need a switch to expire after 2 sec .
This is my switch ,and it works :

`

Switch PowerReleu1 "Power Releu 1" <poweroutlet> [ "Switchable" ] {mqtt=">[broker:SmartHome/Power/Releu1:command:ON:Z3ON],>[broker:SmartHome/Power/Releu1:command:OFF:Z3OFF],<[broker:SmartHome/Power/Releu1/state:state:ON:Z3ON],<[broker:SmartHome/Power/Releu1/state:state:OFF:Z3OFF]", autoupdate="false"}

`

and this is my expire try :slight_smile:

Switch PowerReleu1 "Power Releu 1" <poweroutlet> [ "Switchable" ] {mqtt=">[broker:SmartHome/Power/Releu1:command:*:default]", expire="2s,command=OFF"}

and it`s not working,can somebody help me please.

TY

1 Like

Did you install the Expire binding?