From 46af56e6b14b427923b19a5f0ac92625f8a1085d Mon Sep 17 00:00:00 2001 From: Bram Date: Sat, 5 Aug 2023 14:07:11 +0200 Subject: [PATCH] Add extra example --- docs/source/strategies/fixed.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/source/strategies/fixed.rst b/docs/source/strategies/fixed.rst index dd856fc3e..c6387e774 100644 --- a/docs/source/strategies/fixed.rst +++ b/docs/source/strategies/fixed.rst @@ -50,6 +50,17 @@ When you don't have a source entity or helper (ex. `input_boolean`) to bind on a fixed: power: "{{states('input_number.bathroom_watts')}}" +**Example with standby power** + +.. code-block:: yaml + + powercalc: + sensors: + - entity_id: switch.test + fixed: + power: 5 + standby_power: 0.5 + Power per state --------------- The `states_power` setting allows you to specify a power per entity state. This can be useful for example on Sonos devices which have a different power consumption in different states.