Add support for templates in automations in discharge_battery/charge_battery service #114
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    

Description:
This PR changes the type of the power (watt) parameter for the sonnenbatterie.discharge_battery and charge_battery services from str to int to support the use of templates in automations.
Reason:
Previously, the service accepted the power value as a string. When using templates, this often resulted in a string with extra quotes, which caused parsing errors like:
invalid literal for int() with base 10: '"762"'This occurred during later parsing of the watt value in the code.
By changing the parameter type to int, both templated and direct numeric values are now handled correctly, allowing for smoother integration in automations and avoiding type conversion errors.