sensor.inverters_energy: production solaire totale en kWhsensor.grid_energy_returned: mon Shelly EM qu mesure l'injection en kWh
template:
# https://www.home-assistant.io/integrations/sensor/
- sensor:bar-card: https://github.com/custom-cards/bar-cardconfig-template-card: https://github.com/iantrich/config-template-cardRequis:

Pour se procurer un DTU avec OpenDTU: http://bit.ly/opendtu
Jour:
Nuit:
| #!/usr/bin/env groovy | |
| import groovy.xml.MarkupBuilder | |
| import java.util.stream.Stream | |
| import static java.util.stream.Collectors.toList | |
| def candidates = Stream.of( | |
| new File(System.getProperty("user.home"), ".sdkman/candidates/java"), | |
| new File('/Library/Java/JavaVirtualMachines')) |