Translation Support and Initilization Improvements
Changes
🚀 Features
📣 Translations Wanted! Please open a pull request with your own translation json file.
- Add sensor name values to
strings.jsonandtranslations/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_valueandfn_set_valueto 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.