Просмотр исходного кода

Obtaining the consumed energy from switch.

Added hint about using the Riemann integral.
YuriiMaiboroda 3 лет назад
Родитель
Сommit
a3d235c6b8
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      README.md

+ 5 - 0
README.md

@@ -279,6 +279,11 @@ the internet, otherwise an integration sensor based on the Power sensor
 will need to be set up on the Home Assistant side, and the Energy sensor
 will need to be set up on the Home Assistant side, and the Energy sensor
 ignored.
 ignored.
 
 
+For the amount of consumed energy, it may be reasonable to use an additional
+helper - the [Riemann integral](https://www.home-assistant.io/integrations/integration/).
+Select `power` of switch as the sensor for it. The result of the integral will be
+calculated in `(k/M/G/T)W*h` and will correspond to the consumed energy.
+
 ## Kogan Kettle gotchas
 ## Kogan Kettle gotchas
 
 
 Although these look like simple devices, their behaviour is not
 Although these look like simple devices, their behaviour is not