Skip to content

Return the readable firmware version from device_info - #174

Open
erwindouna wants to merge 1 commit into
mainfrom
fix-sw-version
Open

erwindouna wants to merge 1 commit into
mainfrom
fix-sw-version

Conversation

@erwindouna

Copy link
Copy Markdown
Collaborator

device_info() has returned the raw firmware integer as sw_version (for example "67643140" instead of "4.8.39.R") since e21bb6c dropped the version_int_to_string() call. Home Assistant shows that raw number as the device's firmware.

This restores the conversion. test_device_info now sends a real firmware value (from an STP5.0-3SE-40 on 4.08.39.R) and fails without the fix.

device_info() returned the raw firmware integer (e.g. "67643140") since
e21bb6c dropped the version_int_to_string() call; restore it.
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