Need help with creating custom sensors. #1795
-
I have a couple of these Wi-Fi Fan Touch Switches: https://okos.in/products/okos-fan-switch I wanted to log the power of these switches in Home Assistant using PowerCalc but haven't been able to do so successfully. I have confirmed from Okos that the idle power consumed, when state is
How would I go about setting up the sensors using PowerCalc? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You need to use the Set |
Beta Was this translation helpful? Give feedback.
You need to use the
linear
strategy. Have a look at: https://homeassistant-powercalc.readthedocs.io/en/latest/strategies/linear.htmlSet
standby_power
to 0.2 and usemin_power
,max_power
or calibration to set the linear scale for when the Okos is on.