We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e8cc2 commit fa17557Copy full SHA for fa17557
custom_components/nordpool/sensor.py
@@ -261,7 +261,7 @@ def inner(*_, **__):
261
262
return pass_context(inner)
263
264
- price = value / _PRICE_IN[self._price_type] * (float(1 + self._vat))
+ price = value / _PRICE_IN[self._price_type] + (_PRICE_IN[self._price_type]*float(self._vat))
265
template_value = self._ad_template.async_render(
266
now=faker(), current_price=price
267
)
0 commit comments