-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Hi,
i want to use as setTopic an predefined on-for-timer command.
PumpControl_TulpeMD/Garten/on-for-timer 60
See full code example below.
But it sends out
PumpControl_TulpeMD/Garten/on-for-timer 60 1
and this command donw know my targe. I checked this with mqtt-exporer.
The getTopic works well. The state value is 1 for ON or 0 for OFF.
Do you have any hint to achieve that?
{
"name": "Garden",
"type": "Switch",
"icon": "garden",
"devices": [
{
"name": "dummy",
"setTopic": "PumpControl_TulpeMD/Garten/on-for-timer 60",
"getTopic": "PumpControl_TulpeMD/Garten/state",
"onValue": "1",
"offValue": "0"
}
]
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels