Skip to content

fix: use snake_case attribute names in device_status_callback example#41

Merged
eman merged 1 commit intomainfrom
fix/device-status-attribute-names
Nov 25, 2025
Merged

fix: use snake_case attribute names in device_status_callback example#41
eman merged 1 commit intomainfrom
fix/device-status-attribute-names

Conversation

@eman
Copy link
Copy Markdown
Owner

@eman eman commented Nov 25, 2025

Fixes AttributeError in device_status_callback.py example.

Changes

  • Changed currentDhwFlowRate to current_dhw_flow_rate
  • Changed temperatureType to temperature_type

These attributes were using camelCase but the DeviceStatus model uses snake_case naming convention.

Changed currentDhwFlowRate to current_dhw_flow_rate and
temperatureType to temperature_type to match the DeviceStatus
model's snake_case naming convention.
@eman eman merged commit 3c980aa into main Nov 25, 2025
10 checks passed
@eman eman deleted the fix/device-status-attribute-names branch December 17, 2025 19:49
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