Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename internal_temperature to internalTemperature to correct typo #26114

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

rohankapoorcom
Copy link
Contributor

In #25289, I exposed the internal_temperature sensor from Inovelli devices with the correct device class, however, the actual sensor is called internalTemperature and not internal_temperature. Correcting that mistake here.

@rohankapoorcom rohankapoorcom changed the base branch from master to dev February 2, 2025 09:01
@Koenkk
Copy link
Owner

Koenkk commented Feb 2, 2025

internal_temperature is correct (every attribute should be snake_case), could you correct the definition instead?

@rohankapoorcom
Copy link
Contributor Author

Every attribute on the Inovelli converter is currently using camelCase: https://github.com/Koenkk/zigbee-herdsman-converters/blob/ea46a3f4c46e35f5ce0ec938f9e4f33ac0f6556c/src/devices/inovelli.ts#L315 If I change that, it will cause a breaking change for everyone and I'd prefer to avoid that...

Thoughts?

@Koenkk Koenkk merged commit e4e4f16 into Koenkk:dev Feb 3, 2025
12 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Feb 3, 2025

That's not ideal indeed, then let's keep it like this!

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