Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Fix backward compatibility
  • Loading branch information
hif2k1 authored Feb 7, 2023
1 parent f9e5d27 commit db5b0f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/battery_sim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
{
vol.Required(CONF_IMPORT_SENSOR): cv.entity_id,
vol.Required(CONF_EXPORT_SENSOR): cv.entity_id,
vol.Optional(CONF_ENERGY_TARIFF): cv.entity_id,
vol.Optional(CONF_ENERGY_EXPORT_TARIFF): cv.entity_id,
vol.Optional(CONF_ENERGY_IMPORT_TARIFF): cv.entity_id,
vol.Optional(CONF_NAME): cv.string,
vol.Required(CONF_BATTERY_SIZE): vol.All(float),
Expand Down

0 comments on commit db5b0f3

Please sign in to comment.