jbouwh / ha-elro-connects

Elro Connects K1 for Home Assistant via HACS
MIT License
10 stars 2 forks source link

Update translations and device_state to use lower key text #38

Closed jbouwh closed 1 year ago

jbouwh commented 1 year ago

Translations in Home Assistant require a lower case key.

BREAKING CHANGE: This PR also changes to the untranslated state values of the device_state sensor. Users that have automations based on the device state should update them to expect lower case states.

jbouwh commented 1 year ago

Coverage

Coverage Report
FileStmtsMissCover
custom_components
   __init__.py00100%
custom_components/elro_connects
   __init__.py350100%
   config_flow.py920100%
   const.py50100%
   device.py1180100%
   helpers.py350100%
   sensor.py370100%
   siren.py430100%
TOTAL3650100%

Tests Skipped Failures Errors Time
23 0 :zzz: 0 :x: 0 :fire: 1.541s :stopwatch: