Skip to content

document int to bool conversions#10

Merged
eman merged 1 commit into
mainfrom
docfix
Oct 13, 2025
Merged

document int to bool conversions#10
eman merged 1 commit into
mainfrom
docfix

Conversation

@eman

@eman eman commented Oct 13, 2025

Copy link
Copy Markdown
Owner

No description provided.

@eman
eman requested a review from Copilot October 13, 2025 17:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation to reflect that several device status fields are now converted from integers to booleans in the API client library. The changes clarify that fields representing binary states (on/off, active/inactive, etc.) are automatically converted from their raw integer values (0 or 1) to proper boolean types.

  • Updated field type documentation from "integer" to "bool" for binary status fields
  • Added conversion notes explaining the transformation from integer (0 or 1) to boolean values
  • Updated field descriptions to use True/False instead of 1/0 for consistency with boolean types

@eman
eman merged commit 8ffb687 into main Oct 13, 2025
10 checks passed
@eman
eman deleted the docfix branch October 13, 2025 17:20
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