how to disable command from Python Framework

Python and python framework

Moderator: leecollings

Post Reply
pipiche
Posts: 2035
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:
Contact:

how to disable command from Python Framework

Post by pipiche »

Inside the Python Framework we would like NOT to accept any command prior to have a well initialized plugin.

I didn't find any way to reject any onCommand() calls in the way that the Domoticz UI get the feedback.

Do you have any hints ?
pipiche
Posts: 2035
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:
Contact:

Re: how to disable command from Python Framework

Post by pipiche »

Alternative, how can we send a notification to Domoticz informing that the command has not been through ?
Post Reply