Skip to content

Fix the parameter order of SetThingStateChange in the COG docs - #70

Closed
seelenkuchen wants to merge 1 commit into
smlu:developfrom
seelenkuchen:docs/setthingstatechange-params
Closed

seelenkuchen wants to merge 1 commit into
smlu:developfrom
seelenkuchen:docs/setthingstatechange-params

Conversation

@seelenkuchen

Copy link
Copy Markdown

The COG docs listed SetThingStateChange(thing, type, param), but the function takes (thing, state, type): the state payload comes second and the state-change type third. This swaps the signature and parameter descriptions accordingly.

Docs only; no code or tests affected.

The function takes (thing, state, type): the state payload comes before the state-change type. The parameter list and its descriptions now follow that order. Docs only.
@seelenkuchen

Copy link
Copy Markdown
Author

Closing: this was a mistake on my side. #61 restored the original argument order (thing, type, param), and the existing docs match it. Sorry for the noise.

@seelenkuchen
seelenkuchen deleted the docs/setthingstatechange-params branch November 8, 2026 12:26
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.

1 participant