Skip to content

Remove unsupported Protected argument from Domoticz device creation#10

Open
MadPatrick wants to merge 3 commits into
adrighem:masterfrom
MadPatrick:master
Open

Remove unsupported Protected argument from Domoticz device creation#10
MadPatrick wants to merge 3 commits into
adrighem:masterfrom
MadPatrick:master

Conversation

@MadPatrick
Copy link
Copy Markdown

Hi,

I'm getting this error after i nstalling the plugin and restart Domoticz

2026-05-31 15:07:41.777 Error: Plugin Store: Expected: myVar = Domoticz.Device(Name="myDevice", Unit=0, TypeName="", Type=0, SubType=0, SwitchType=0, Image=0, Options={}, Used=1). Note: Parameter names are case-insensitive. 2026-05-31 15:07:41.777 Error: Plugin Store: Call to function 'CDevice_init' failed, exception details: 2026-05-31 15:07:41.777 Error: Plugin Store: Exception: 'TypeError: 'protected' is an invalid keyword argument for this function'. No traceback available. 2026-05-31 15:07:41.777 Error: Device creation failed, Device object is not associated with a plugin. 2026-05-31 15:07:41.777 Error: Plugin Store: Expected: myVar = Domoticz.Device(Name="myDevice", Unit=0, TypeName="", Type=0, SubType=0, SwitchType=0, Image=0, Options={}, Used=1). Note: Parameter names are case-insensitive. 2026-05-31 15:07:41.777 Error: Plugin Store: Call to function 'CDevice_init' failed, exception details: 2026-05-31 15:07:41.777 Error: Plugin Store: Exception: 'TypeError: 'protected' is an invalid keyword argument for this function'. No traceback available. 2026-05-31 15:07:41.777 Error: Device creation failed, Device object is not associated with a plugin.

This PR fixes it.
Not sure if it breaks other things

Copilot AI and others added 3 commits May 31, 2026 13:11
Remove unsupported `Protected` argument from Domoticz device creation

Errror :

2026-05-31 15:07:41.777 Error: Plugin Store: Expected: myVar = Domoticz.Device(Name="myDevice", Unit=0, TypeName="", Type=0, SubType=0, SwitchType=0, Image=0, Options={}, Used=1). Note: Parameter names are case-insensitive. 2026-05-31 15:07:41.777 Error: Plugin Store: Call to function 'CDevice_init' failed, exception details: 2026-05-31 15:07:41.777 Error: Plugin Store: Exception: 'TypeError: 'protected' is an invalid keyword argument for this function'. No traceback available. 2026-05-31 15:07:41.777 Error: Device creation failed, Device object is not associated with a plugin. 2026-05-31 15:07:41.777 Error: Plugin Store: Expected: myVar = Domoticz.Device(Name="myDevice", Unit=0, TypeName="", Type=0, SubType=0, SwitchType=0, Image=0, Options={}, Used=1). Note: Parameter names are case-insensitive. 2026-05-31 15:07:41.777 Error: Plugin Store: Call to function 'CDevice_init' failed, exception details: 2026-05-31 15:07:41.777 Error: Plugin Store: Exception: 'TypeError: 'protected' is an invalid keyword argument for this function'. No traceback available. 2026-05-31 15:07:41.777 Error: Device creation failed, Device object is not associated with a plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants