Skip to content

Tidy up codebase#106

Closed
KJonline wants to merge 7 commits into
devfrom
tidy-up-codebase
Closed

Tidy up codebase#106
KJonline wants to merge 7 commits into
devfrom
tidy-up-codebase

Conversation

@KJonline

@KJonline KJonline commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Khole Jones added 4 commits November 9, 2025 23:44
…objects

- Changed from bracket notation (device["hiveID"]) to dot notation (device.hive_id) throughout action, alarm, camera, and heating modules
- Updated AWS Cognito client initialization to use unsigned config instead of placeholder credentials
- Replaced device.get() with getattr() for optional attributes
- Fixed sys.settrace implementation to properly enable/disable tracing
- Renamed variables to follow Python naming conventions (snake_case)
- Added proper return values to trace functions and __exit__ method
- Renamed token attributes from camelCase to snake_case (tokenData → token_data, tokenCreated → token_created, tokenExpiry → token_expiry)
- Renamed config attributes to snake_case (homeID → home_id, lastUpdated → last_updated, scanInterval → scan_interval, userID → user_id)
@KJonline
KJonline changed the base branch from master to dev February 20, 2026 15:32
…ctionality

Deleted alarm.py and camera.py modules containing HiveHomeShield/Alarm and HiveCamera/Camera classes. Removed alarm and camera-related API endpoints from both hive_api.py and hive_async_api.py including security-lite, camera images, and camera recordings URLs. Removed camera-specific request handling with Bearer token authentication and x-jwt-token headers. Cleaned up cameraBaseUrl and cameraPlatform references from
Renamed camelCase attributes to snake_case: tokenData to token_data, deviceList to device_list, tokenCreated to token_created, and tokenExpiry to token_expiry. Updated all references throughout hive_async_api.py and session.py to maintain consistency with Python naming conventions.
@KJonline KJonline closed this May 3, 2026
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