Releases: jonasbkarlsson/ev_smart_charging
v2.1.0-dev1
New feature
- Solar power based charging. @jonasbkarlsson (#325)
For comments and suggestions, use #265.
Documentation not updated yet.
New configuration items:
- Grid usage sensor entity. (Should be in Watts. Positive number for import from the grid. Negative numbers for export to the grid.)
- Grid voltage. (Should be in Volts.)
New Controls:
- switch.ev_smart_charging_price_charging_activated (Turns on or off price based charging.)
- switch.ev_smart_charging_solar_charging_activated (Turns on or off solar power based charging.)
New configuration entities:
- switch.ev_smart_charging_three_phase_charging (Turn on if 3-phase charging is used. Turn off if 1-phase charging is used.)
- number.ev_smart_charging_max_charging_current (Default 16 A. Maximum current for solar power based charging.)
- number.ev_smart_charging_min_charging_current (Default 6 A. Minimum current for solar power based charging.)
- number.ev_smart_charging_solar_charging_off_delay (Default 5 minutes. The time with insufficient solar power until charging is stopped.)
- number.ev_smart_charging_default_charging_current (Used by price based charging and low SOC charging.)
New sensors:
- sensor.ev_smart_charging_charging_current (New sensor to control the charger. If this one is used, the old one does not need to be used.)
- sensor.ev_smart_charging_solar_status
v2.0.1
Translation
- Added Danish translation @mortenmathiasen (#318)
v2.0.0
Translation
- Added Dutch (#308 @CasparTheBridge), Norwegian Bokmål (#307 @corvy) and Swedish translations. @jonasbkarlsson (#306)
Note that User->User settings->Language
controls translation of configuration texts, entity states and state attribute names, and Settings->System->General->Language
controls translation of entity 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.
Bug Fixes
- Avoid turning on charger during intialization. @jonasbkarlsson (#315)
This fixes #309 - Reset keep_on state if target SOC is updated. @jonasbkarlsson (#314)
This fixes #237 - Status should always be disconnected when not connected. @jonasbkarlsson (#313)
This fixes #293
Backward-incompatible changes
- The
sensor.ev_smart_charging_charging
has state attributes. In order to translate their names, some of their internal identifier had to be updated. This affects the usage of these state attributes in automations and dashboards. The following internal identifiers needs to be changed in automations and dashboards.
'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' - Minimum Home Assistant version is changed to 2023.4 (was 2022.7 before).
- Python 3.9 and 3.10 are no longer supported. Note that Python 3.12 has been used by Home Assistant since 2024.2.
v1.12.0-dev3
Bug Fixes
- Avoid turning on charger during intialization. @jonasbkarlsson (#315)
This fixes #309 - Reset keep_on state if target SOC is updated. @jonasbkarlsson (#314)
This fixes #237 - Status should always be disconnected when not connected. @jonasbkarlsson (#313)
This fixes #293
Backward-incompatible changes
- See v1.12.0-dev1
v1.12.0-dev2
Bug Fixes
-
No translation for entity ID. @jonasbkarlsson (#311)
This will make sure the entity IDs will always be in English, and fixes the issueUPDATE
in v1.12.0-dev1.Also, the current plan is to keep the backward-incompatible changes mentioned in
UPDATE2
in v1.12.0-dev1.
Backward-incompatible changes
- See v1.12.0-dev1
v1.12.0-dev1
Translation
- 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
v1.11.2
Bug Fixes
- Enable reconfiguration for HA 2024.7 @jonasbkarlsson (#303)
v1.11.1
Bug Fixes
- (Temporarly) Remove support of reconfiguration for HA 2024.7 @jonasbkarlsson (#300)
- The current implementation integration doesn't support reconfiguration for HA 2024.7. Older version of this integration (v1.11.0 or older) can crash Home Assistant if used with HA 2024.7. Please update to v1.11.1 if you are using HA 2024.7 or newer.
- Handling of renaming of devices is also affected for HA 2024.7. Renaming is still possible for HA 2024.7, but the renaming might not take effekt in the integration view in HA.
v1.11.0
New Features
- Support of price template sensor. Related to feature requests #231, #250, #260, #262. @jonasbkarlsson (#274)
- See the Wiki page for the definition of the price template sensor, and examples to use for EPEX Spot and Zonneplan integrations.
Changes
- Charging speed unit changed to "%/h". Battery level entity units changed to "%". @munterkalmsteiner (#242)
Bug Fixes
- Corrected updates of EV SOC Target. Fixes #264. @jonasbkarlsson (#288)
- More robust handling of prices at midnight. Potentially fixes #229. @jonasbkarlsson (#286)
Documentation
- See Wiki page for example of automations that can be used.
v1.11.0-dev4
New Features
- Support of price template sensor. @jonasbkarlsson (#274)
- See the Wiki page for the definition of the price template sensor, and examples to use for EPEX Spot and Zonneplan integrations.
Bug Fixes
- Verify that today's prices are for today. @jonasbkarlsson (#286)
Intended to solve #277.
Maintenance
- Additional error messages. @jonasbkarlsson (#283)
Related to #277.