Skip to content

Commit

Permalink
Add extra example
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Aug 5, 2023
1 parent 33414ad commit 46af56e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/source/strategies/fixed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 46af56e

Please sign in to comment.