JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
159 stars 25 forks source link

Change input selector for the template config #101

Closed evading closed 1 year ago

evading commented 1 year ago

The input field for the "Price Modifier Template" is not very well suited for inputting a multi line template, as mentioned in #18 f.ex.

This patch changes the selector for that field to TemplateSelector which allows multi line template inputs.

Fixes #18.

evading commented 1 year ago

While #18 writes about configuration.yaml support, the actual feature that is requested in that issue is about a better input selector for the price modifier template. I think that is solved by this patch and I think this is the right way to go given the note in the developer documentation at https://developers.home-assistant.io/docs/configuration_yaml_index.

JaccoR commented 1 year ago

Thanks @evading !