Skip to content

[Element Name]

Brief description of the element (1-2 sentences). Focus on what the element represents in the energy system and its primary purpose.

Configuration

Configuration Fields

Provide a table listing all configuration fields with their types, requirements, and descriptions. Link to the Forecasts and Sensors guide for sensor field types.

Field Type Required Default Description
name string Yes - Unique identifier for this element
field_example sensor No - Example sensor field description

Input Entities

Each configuration field creates a corresponding input entity in Home Assistant. Input entities appear as Number or Switch entities with the config entity category.

Input Unit Description
number.{name}_field_one kW Brief description of input
number.{name}_field_two kWh Brief description of input
switch.{name}_boolean_flag - Brief description of switch

Input entities include a forecast attribute showing values for each optimization period. See the Input Entities developer guide for details on input entity behavior.

Field Details

Add subsections for fields that need additional explanation. Keep explanations focused on configuration, not mathematical modeling.

For complex elements, you may group related fields under a descriptive heading.

Configuration Examples

Provide minimal working examples using table format. Keep examples realistic and representative of typical use cases.

Basic Configuration

Field Value
Name Example Element
Field One value
Field Two sensor.example_value

Alternative Configuration

Field Value
Name Alternative Example
Field One different_value
Field Two sensor.alternative_sensor

Sensors Created

Sensor Summary

This element creates sensors organized by device. Each device groups related sensors for a specific aspect of the element's operation.

Sensor Unit Description
sensor.{name}_sensor_one kW Brief description (link to subsection)
sensor.{name}_sensor_two kWh Brief description (link to subsection)
sensor.{name}_shadow_price_* $/kW Shadow price sensors

All sensors include a forecast attribute containing future optimized values for upcoming periods.

For detailed mathematical formulation, see the relevant Model Layer documentation.

Sensor Details

Sensor One

Plain-English explanation of what this sensor represents and what its values mean. Keep explanations focused on interpretation, not mathematical details.

Example interpretation: "A value of 5.2 kW means..."

Sensor Two

Plain-English explanation of what this sensor represents and what its values mean.

Conditional Sensor

Plain-English explanation of when this sensor is created and what it represents.

Availability: This sensor only appears when [specific condition].

Shadow Price One

Brief explanation of shadow price sensors for this element. Reference the Shadow Prices modeling guide for general shadow price concepts.

Interpretation:

  • Zero value: Constraint is not limiting (explain what this means for this element)
  • Nonzero value: Constraint is binding (explain what this means for this element)

All sensors include a forecast attribute containing future optimized values for upcoming periods.

Troubleshooting

List common configuration issues and their solutions. Focus on actionable problems users are likely to encounter.

Issue Name

Problem: Brief description of the issue

Solution: Clear steps to resolve the issue

Next Steps

Template Instructions

Curate 3-4 Next Steps cards that are most relevant for users who just configured this element. Below are example cards showing the structure—replace them with actual links and content. Consider: connecting to other elements, understanding related concepts, related element types, or troubleshooting.

Example patterns for element configuration pages:

  • Connections: Link to connections.md to explain network connectivity
  • Forecasts/Sensors: Link to ../forecasts-and-sensors.md for sensor field details
  • Related elements: Link to complementary elements (battery→grid, solar→battery, etc.)
  • Optimization: Link to ../optimization.md to explain how this element affects results
  • [Card Title]


    Brief description of what the user will learn or accomplish.

    Link text

  • [Card Title]


    Brief description of what the user will learn or accomplish.

    Link text

  • [Card Title]


    Brief description of what the user will learn or accomplish.

    Link text