Is it possible to create a Push On Button in a python script ?
I want use a Push On instead of a switch
Code: Select all
if 6 not in Devices:
Domoticz.Device(Name="Load Start URL", Unit=6, TypeName="Switch").Create()
Moderator: leecollings
Code: Select all
if 6 not in Devices:
Domoticz.Device(Name="Load Start URL", Unit=6, TypeName="Switch").Create()
Code: Select all
Domoticz.Device(Name="Load Start URL", Unit=6, Type=244,Switchtype = 9, Subtype = 73, Used=1).Create()Users browsing this forum: No registered users and 1 guest