Hey. Some time a go the way we code the sensors has changed. I’m trying to implement the new method but I have some problems:( I can’t fing the clear and full explanation how to…
So previously I had:
This works fine, but using this method, the second part of code above is not working (the one using platform:integration)… So how to make it working again ? I know the Reinman sum / utility meter, can be done from GUI but this is just an example to show what this is about… Can anyone help?
Please, format your code consistently. Making sense of what you posted is hard because you’ve skipped the formatting for some, formatted some that you’ve stripped all the indenting out of, and then marked up the second half of the final one.
Or, if the integration one is indented as you wrote it then that’s your problem.
OK so I’m not total idiot At least I hope. It looks like this and it was working fine before I started to change the ‘template’ part
Sorry for that - formatting was lost during posting on the forum
sensor:
- platform: integration
source: sensor.fronius_house_load_positive
name: house_energy_used_hour
unit_time: h
unit: kWh
round: 2
method: left