Skip to content

Translation Support and Initilization Improvements

Choose a tag to compare

@dalinicus dalinicus released this 28 Nov 17:47
34df9d3

Changes

🚀 Features

📣 Translations Wanted! Please open a pull request with your own translation json file.

  • Add sensor name values to strings.json and translations/en.json (#41) @dalinicus
  • Replace hard coded sensor names with translation key values (#40) @dalinicus

🪲 Fixes

  • Fix issue with device mode selection where data coordinator was not being refreshed when user changed the mode, resulting in a delay in visual updates (#40) @dalinicus

🔨 Refactoring

  • Incorporate EntityDescription pattern provided by HA Core instead of manually setting _attr values. (#40) @dalinicus
  • Create mixin objects to provide fn_get_value and fn_set_value to built-in EntityDescriptions (#40) @dalinicus
    • Allows each sensor description to be in control of its own data transformation instead of being implemented by the class object
  • Refactor or remove sensor class objects made redundant by using the EntityDescritpion pattern. (#40) @dalinicus

📚 Documentation

  • Various README updates.