v1.12.0-dev1
Pre-releaseTranslation
- Added Dutch (#308 @CasparTheBridge), Norwegian (#307 @corvy) and Swedish translations. @jonasbkarlsson (#306)
Note that Settings->System->General->Language
controls translation of entity names, and User->User settings->Language
controls translation of configuration texts, entity states and state attribute names. For a change of translation to take effect for the entity names, the integration needs to be reloaded (can be done by restarting Home Assistant). Contents of Dashboards do not seem to be automatically updated when translation is changed.
UPDATE: Settings->System->General->Language
does not only translate the entity name, but will also for newly created instances of the integration also translate the entity ID. This is probably not a wanted behaviour. This has been fixed in v1.12.0-dev2.
UPDATE2: Some of the state attribute names changes with this pre-release. This will break automations and dashboards that uses these state attribute names!!!
Provide comments in #306.
Backward-incompatible changes
- Minimum Home Assistant version is changed from 2022.7 to 2023.4.
- Python 3.9 and 3.10 are no longer supported.
- The
sensor.ev_smart_charging_charging
has a couple of state attributes. In order to translate their names, some of their internal identifier had to be updated. This affect the usage of these state attributes in automations and dashboards. The following state attributes needs to be changed.
'EV SOC' => 'ev_soc'
'EV target SOC' => 'ev_target_soc'
'Charging is planned' => 'charging_is_planned'
'Charging start time' => 'charging_start_time'
'Charging stop time' => 'charging_stop_time'
'Charging number of hours' => 'charging_number_of_hours