Skip to content

Handle zeroconf object payloads and format Docker container list; update changelog#102

Merged
404GamerNotFound merged 1 commit intomainfrom
codex/fix-500-internal-server-error-on-ssh-key
Jan 9, 2026
Merged

Handle zeroconf object payloads and format Docker container list; update changelog#102
404GamerNotFound merged 1 commit intomainfrom
codex/fix-500-internal-server-error-on-ssh-key

Conversation

@404GamerNotFound
Copy link
Copy Markdown
Owner

Motivation

  • Avoid setup errors when zeroconf discovery payloads are received as objects instead of dict and ensure the discovery host/name are resolved correctly.
  • Improve readability of the Docker containers sensor by inserting spaces after commas in the returned list string.
  • Record the fixes in the project CHANGELOG.md under a new release entry.

Description

  • Change async_step_zeroconf to accept Any and handle both dict and object discovery payloads, resolving host and name via getattr fallbacks when necessary.
  • Preserve duplicate/abort checks and assign the resolved name to self._discovered_name for use in UI placeholders.
  • Add a transformation in the remote script to format container names with spaces via containers=${containers//,/, } inside read_docker_stats.
  • Add a v1.2.25 entry to CHANGELOG.md documenting the zeroconf and container-list changes.

Testing

  • No automated tests were executed for these changes.

Codex Task

@404GamerNotFound 404GamerNotFound merged commit 87e0c46 into main Jan 9, 2026
2 checks passed
@404GamerNotFound 404GamerNotFound deleted the codex/fix-500-internal-server-error-on-ssh-key branch January 9, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant