Skip to content

Fix localized switch/binary_sensor entities#157

Closed
danielszilagyi wants to merge 6 commits into
zivillian:masterfrom
danielszilagyi:master
Closed

Fix localized switch/binary_sensor entities#157
danielszilagyi wants to merge 6 commits into
zivillian:masterfrom
danielszilagyi:master

Conversation

@danielszilagyi

@danielszilagyi danielszilagyi commented Feb 14, 2025

Copy link
Copy Markdown

Fixes #156

Tested with Hungarian settings and my problem is fixed.

@krusta4711

Copy link
Copy Markdown
Collaborator

Hi @danielszilagyi

Thank you for the contribution. Your root cause analyzes is correct and made it easy for me providing a fix. :-) Your code changes would work in general, but only for a few languages as it is hard coded.

I have chosen to fix the issue with using the already existing localization which should work for all supported languages. I fixed it with PR #224

So I will close this PR.

@krusta4711 krusta4711 closed this Jun 7, 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.

After using translations, the switch/binary_sensor entities are misbehaving.

2 participants