{
  "common": {
    "source_entity": "Source entity",
    "source_device": "Source device",
    "remarks_smart_switch": "This profile only provides standby power values. \n When you have an appliance which consumes a fixed amount of power when turned on, you can provide that value in next step of the config flow",
    "remarks_smart_dimmer": "This profile only provides standby power values. \n In the next step you can optionally provide the values of the connected light"
  },
  "config": {
    "abort": {
      "already_configured": "Sensor is already configured, specify a unique_id"
    },
    "error": {
      "cost_price_mandatory": "You must supply either an energy price or an energy price sensor",
      "daily_energy_mandatory": "You must supply at least one of Value or Value template",
      "entity_mandatory": "Selecting an entity is required for any strategy other than playbook",
      "fixed_mandatory": "You must supply at least one of Power, Power template or States power",
      "fixed_states_power_only": "This entity can only work with 'states_power' not 'power'",
      "group_mandatory": "You must define at least subgroups or power and energy-entities",
      "linear_mandatory": "You must supply at least one of max_power or calibrate",
      "linear_min_higher_as_max": "Max power cannot be lower than min power",
      "linear_unsupported_domain": "Entity domain not supported for linear mode. Must be one of: fan, light or mediaplayer. You can use the calibrate option however",
      "lut_unsupported_color_mode": "The LUT profile does not support one of the color modes of your light. See the logs for more info",
      "lut_wrong_domain": "Only light entities can use the LUT mode",
      "playbook_mandatory": "You need to specify at least one playbook",
      "unknown": "Unknown error occured, please see the logs for additional information"
    },
    "flow_title": "{name} ({manufacturer} {model})",
    "step": {
      "assign_groups": {
        "data": {
          "group": "Select group(s)",
          "new_group": "New group"
        },
        "data_description": {
          "new_group": "Fill in a custom group name to create a new group"
        },
        "title": "Assign to group"
      },
      "availability_entity": {
        "data": {
          "availability_entity": "Availability entity"
        },
        "data_description": {
          "availability_entity": "When this entity is unavailable, the powercalc sensor will be unavailable as well"
        },
        "title": "Availability entity",
        "description": "This profile is per device. Please select the entity which will be used to determine the availability of the powercalc sensor"
      },
      "daily_energy": {
        "data": {
          "create_utility_meters": "Create utility meters",
          "daily_energy_value": "Daily energy value",
          "name": "Name",
          "on_time": "On time",
          "start_time": "Start time",
          "unit_of_measurement": "Unit of measurement",
          "update_frequency": "Update frequency",
          "value": "Value",
          "value_template": "Value template"
        },
        "data_description": {
          "on_time": "When left empty defaults to 1 day. always on",
          "update_frequency": "time in seconds between state updates of the sensor"
        },
        "title": "Create a daily fixed sensor"
      },
      "energy_options": {
        "title": "Energy options",
        "data": {
          "energy_integration_method": "Integration method",
          "energy_sensor_unit_prefix": "Unit prefix",
          "energy_filter_outlier_enabled": "Filter outliers",
          "energy_filter_outlier_max_step": "Outlier filter max step"
        },
        "data_description": {
          "energy_filter_outlier_enabled": "Enable filtering of outlier values in the energy sensor",
          "energy_filter_outlier_max_step": "Maximum expected step in power values (in watts) for the outlier filter"
        }
      },
      "group_domain": {
        "data": {
          "name": "Name",
          "create_energy_sensor": "Create energy sensor",
          "create_cost_sensor": "Create cost sensor",
          "create_utility_meters": "Create utility meters",
          "domain": "Entity domain",
          "exclude_entities": "Exclude entities"
        },
        "title": "Create a domain based group sensor"
      },
      "fixed": {
        "data": {
          "fixed_value": "Power value"
        },
        "data_description": {
          "fixed_value": "Power value in Watts when the entity is ON"
        },
        "description": "Define a fixed power value for your entity. See the [documentation]({docs_uri}) for more info",
        "title": "Fixed config"
      },
      "global_configuration": {
        "title": "Global configuration",
        "description": "Setup global configuration for Powercalc. For more information see the [documentation]({docs_uri}). Additional options for energy sensors and utility meters can be provided in the next steps.",
        "sections": {
          "power_options": {
            "name": "Power sensor",
            "data": {
              "power_sensor_naming": "Power sensor name pattern",
              "power_sensor_friendly_naming": "Power sensor friendly name pattern",
              "power_sensor_category": "Power sensor category",
              "power_sensor_precision": "Power sensor precision"
            }
          },
          "features": {
            "name": "Create sensors",
            "data": {
              "create_energy_sensors": "Create energy sensors",
              "create_cost_sensors": "Create cost sensors",
              "create_standby_group": "Create standby group",
              "create_utility_meters": "Create utility meters"
            },
            "data_description": {
              "create_energy_sensors": "Whether powercalc needs to create kWh sensors",
              "create_cost_sensors": "Whether powercalc needs to create cost sensors. Requires an energy price to be configured in the next steps",
              "create_standby_group": "Create group which sums all standby power consumption and self-usage of IOT devices",
              "create_utility_meters": "Let powercalc create utility meters, which cycle daily, hourly etc."
            }
          },
          "advanced": {
            "name": "Advanced",
            "data": {
              "enable_analytics": "Enable anonymous analytics",
              "ignore_unavailable_state": "Ignore unavailable state",
              "include_non_powercalc_sensors": "Include non powercalc sensors",
              "disable_extended_attributes": "Disable extended attributes",
              "disable_library_download": "Disable remote library download"
            },
            "data_description": {
              "enable_analytics": "Allow Powercalc to send anonymous, aggregated usage statistics to help improve the integration",
              "ignore_unavailable_state": "Keep Powercalc sensors available, even when the source entity is unavailable",
              "include_non_powercalc_sensors": "Control whether you want to include non powercalc sensors in groups",
              "disable_extended_attributes": "Disable all extra attributes powercalc adds to the power, energy and group entity states. This will help keep the database size small",
              "disable_library_download": "Disable the Powercalc library download feature"
            }
          }
        }
      },
      "global_configuration_cost": {
        "title": "Cost options",
        "description": "Configure the energy price used to calculate cost sensors. Provide either a fixed price or a sensor which provides the current price per kWh. See [documentation]({docs_uri}) for more info",
        "sections": {
          "cost_pricing": {
            "name": "Pricing",
            "data": {
              "energy_price": "Fixed energy price",
              "energy_price_multiplier": "Energy price multiplier",
              "energy_price_sensor": "Energy price sensor",
              "energy_price_surcharge": "Energy price surcharge"
            },
            "data_description": {
              "energy_price": "A fixed price per kWh in your local currency",
              "energy_price_multiplier": "Multiplier applied after the surcharge. Use this for percentage-based taxes or fees, for example 1.21 for 21%",
              "energy_price_sensor": "A sensor which provides the current energy price per kWh (e.g. from a dynamic tariff integration). Leave the fixed price empty to use this sensor",
              "energy_price_surcharge": "Additional fixed amount per kWh added to the fixed price or price sensor value"
            }
          },
          "cost_naming": {
            "name": "Naming",
            "data": {
              "cost_sensor_friendly_naming": "Cost sensor friendly name pattern",
              "cost_sensor_naming": "Cost sensor name pattern"
            },
            "data_description": {
              "cost_sensor_friendly_naming": "Pattern for the friendly name of the cost sensor. The source name is inserted at the placeholder position",
              "cost_sensor_naming": "Pattern used to build the cost sensor name and entity id. The source name is inserted at the placeholder position"
            }
          }
        }
      },
      "global_configuration_cost_apply": {
        "title": "Apply cost sensors",
        "description": "You changed the global cost sensors setting. Do you want to apply this change to all existing powercalc sensors that were created through the GUI?",
        "data": {
          "apply_to_all": "Apply to existing sensors"
        },
        "data_description": {
          "apply_to_all": "Update every existing GUI powercalc sensor to match the new cost sensors setting"
        }
      },
      "global_configuration_discovery": {
        "title": "Discovery options",
        "description": "Powercalc can scan your system for devices and entities that have power profiles in the built-in library. The options below let you fine-tune this behavior.",
        "data": {
          "enabled": "Enable discovery",
          "exclude_device_types": "Excluded device types",
          "exclude_self_usage": "Exclude self-usage"
        },
        "data_description": {
          "exclude_device_types": "Exclude one or more specific device types from discovery.",
          "exclude_self_usage": "Exclude self-usage profiles for smart switches."
        }
      },
      "global_configuration_energy": {
        "title": "Energy options",
        "data": {
          "energy_integration_method": "Energy integration method",
          "energy_sensor_category": "Energy sensor category",
          "energy_sensor_friendly_naming": "Energy sensor friendly name pattern",
          "energy_sensor_naming": "Energy sensor name pattern",
          "energy_sensor_precision": "Energy sensor precision",
          "energy_sensor_unit_prefix": "Energy sensor unit prefix"
        }
      },
      "global_configuration_throttling": {
        "title": "Throttling options",
        "description": "Set update intervals for the different sensor types. See [documentation]({docs_uri}) for more info",
        "data": {
          "group_energy_update_interval": "Group energy update interval",
          "group_power_update_interval": "Group power update interval",
          "energy_update_interval": "Energy update interval",
          "power_update_interval": "Power update interval"
        },
        "data_description": {
          "group_energy_update_interval": "Interval at which group energy sensors are updated. In seconds. Set to 0 to disable",
          "group_power_update_interval": "Interval at which group power sensors are updated. In seconds. Set to 0 to disable",
          "energy_update_interval": "Interval at which energy sensors are updated. In seconds. Set to 0 to disable",
          "power_update_interval": "Interval at which energy sensors are force updated. In seconds. Set to 0 to disable"
        }
      },
      "global_configuration_utility_meter": {
        "title": "Utility meter options",
        "data": {
          "utility_meter_net_consumption": "Utility meter net consumption",
          "utility_meter_tariffs": "Utility meter tariffs",
          "utility_meter_types": "Utility meter types"
        }
      },
      "group_custom": {
        "data": {
          "name": "Name"
        },
        "sections": {
          "members": {
            "name": "Members",
            "data": {
              "group_member_sensors": "Member powercalc sensors",
              "group_member_devices": "Member devices",
              "group_power_entities": "Additional power entities",
              "group_energy_entities": "Additional energy entities",
              "sub_groups": "Sub groups",
              "area": "Area",
              "floor": "Floor"
            },
            "data_description": {
              "group_member_sensors": "Powercalc sensors to include in the group",
              "group_member_devices": "Add power and energy entities from the selected devices to the group",
              "group_power_entities": "Additional power sensors (W) from your HA installation to include",
              "group_energy_entities": "Additional energy sensors (kWh) from your HA installation to include",
              "sub_groups": "All containing sensors from the selected subgroups will be added to this group as well",
              "area": "Adds all power sensors from the specified area",
              "floor": "Adds all power sensors from the specified floor"
            }
          },
          "options": {
            "name": "Options",
            "data": {
              "device": "Device",
              "hide_members": "Hide members",
              "include_non_powercalc_sensors": "Include non powercalc sensors",
              "force_calculate_group_energy": "Force calculate energy",
              "group_energy_start_at_zero": "Start at zero",
              "create_energy_sensor": "Create energy sensor",
              "create_utility_meters": "Create utility meters"
            },
            "data_description": {
              "device": "Add the group entities powercalc creates to an existing device",
              "include_non_powercalc_sensors": "Control whether to include non powercalc sensors when using the area option",
              "force_calculate_group_energy": "By default powercalc sums the energy sensors from the member sensors. Toggle this option to force creating a Riemann Sum sensor",
              "group_energy_start_at_zero": "When enabled, the energy sensor will start at zero when the sensor is created. Otherwise it will sum all the current member energy sensor states",
              "create_energy_sensor": "Whether powercalc needs to create a kWh sensor"
            }
          }
        },
        "title": "Create a group sensor"
      },
      "group_subtract": {
        "data": {
          "create_energy_sensor": "Create energy sensor",
          "create_cost_sensor": "Create cost sensor",
          "create_utility_meters": "Create utility meters",
          "entity_id": "Base entity",
          "name": "Name",
          "subtract_entities": "Subtract entities"
        },
        "data_description": {
          "entity_id": "The base entity to subtract the power from",
          "subtract_entities": "Select all the entities you want to subtract from the base entity"
        },
        "title": "Subtract group sensor"
      },
      "group_tracked_untracked": {
        "data": {
          "main_power_sensor": "Mains power sensor",
          "group_tracked_auto": "Entities auto added",
          "create_energy_sensor": "Create energy sensor",
          "create_cost_sensor": "Create cost sensor",
          "create_utility_meters": "Create utility meters"
        },
        "data_description": {
          "main_power_sensor": "Select the power sensor containing your total power usage. When left empty, only an tracked power sensor will be created",
          "group_tracked_auto": "Powercalc will automatically add all power sensors to the tracked group, skipping powercalc groups. Disable this when you'd like to manually define the tracked entities",
          "create_energy_sensor": "Whether powercalc needs to create a kWh sensor",
          "create_utility_meters": "Let powercalc create utility meters, which cycle daily, hourly etc."
        },
        "description": "Create a group sensor for all tracked and untracked power",
        "title": "Create a tracked power sensor"
      },
      "group_tracked_untracked_manual": {
        "data": {
          "group_tracked_entities": "Tracked entities"
        },
        "description": "Select all the power sensors which are part of the tracked consumption. It is already automatically populated, but you can manually adjust it",
        "title": "Select power entities"
      },
      "group_tracked_untracked_auto": {
        "data": {
          "exclude_entities": "Exclude entities"
        },
        "description": "Exclude specific entities from the auto tracked group",
        "title": "Auto tracked configuration"
      },
      "library": {
        "data": {
          "confirm_autodisovered_model": "Confirm model"
        },
        "data_description": {
          "confirm_autodisovered_model": "If you choose not to confirm, you can input the manufacturer and model yourself"
        },
        "description": "{source}\n\nManufacturer \"{manufacturer}\" and model \"{model}\" were automatically detected for your device.{remarks}",
        "title": "Library"
      },
      "library_custom_fields": {
        "title": "Profile configuration",
        "data": {
          "power_factor": "Power Factor"
        },
        "data_description": {
          "power_factor": "Ratio of real power to apparent power. Use 0.6 for computers/electronics, 0.7 for mixed loads, 1.0 for resistive loads like heaters."
        }
      },
      "library_multi_profile": {
        "data": {
          "model": "Select model"
        },
        "description": "Manufacturer \"{manufacturer}\" and model \"{model}\" were automatically detected for your device. There are multiple profiles found for the entity which can potentially be used. Please look up the exact model of your device in [Powercalc library]({library_link}) and select the correct one",
        "title": "Library"
      },
      "linear": {
        "data": {
          "attribute": "Attribute",
          "calibrate": "Calibration values",
          "gamma_curve": "Gamma curve",
          "max_power": "Max power",
          "min_power": "Min power"
        },
        "data_description": {
          "attribute": "Specify the attribute. When left empty will be brightness for lights, volume for speakers, and percentage for fans",
          "calibrate": "Put a calibration value on each line. Example\n\n1: 20"
        },
        "description": "Define the linear power calculation options. See the [documentation]({docs_uri}) for more information. Use either min/max power or calibration values which allows for more points of control.",
        "title": "Linear config"
      },
      "manufacturer": {
        "data": {
          "manufacturer": "Manufacturer"
        },
        "description": "Select the device manufacturer",
        "title": "Manufacturer config"
      },
      "model": {
        "data": {
          "model": "Model ID"
        },
        "description": "Select the device model. See the [list]({supported_models_link}) of supported models for more information",
        "title": "Model config"
      },
      "menu_group": {
        "menu_options": {
          "group_custom": "Standard",
          "group_domain": "Domain based",
          "group_subtract": "Subtract",
          "group_tracked_untracked": "Tracked/untracked power"
        },
        "title": "Choose the group type",
        "description": "Select the type of group sensor you want to create. Choose domain based group if you want to group all entities of a specific domain, or create a sensor summing all your energy sensor. Choose standard group otherwise"
      },
      "multi_switch": {
        "data": {
          "entities": "Switch entities",
          "power": "Power ON",
          "power_off": "Power OFF"
        },
        "data_description": {
          "entities": "Select all the individual switches that are part of the multi switch",
          "power": "Power for a single switch when turned on",
          "power_off": "Power for a single switch when turned off"
        },
        "description": "Define the Multi switch power calculation options. See the [documentation]({docs_uri}) for more information.",
        "title": "Multi switch config"
      },
      "playbook": {
        "data": {
          "autostart": "Autostart",
          "playbooks": "Playbooks",
          "repeat": "Repeat",
          "states_trigger": "State trigger"
        },
        "data_description": {
          "autostart": "Indicate to start a certain playbook when HA starts. i.e. 'program1'",
          "repeat": "Toggle when you want to keep repeating the playbook after it completes",
          "states_trigger": "Trigger a playbook based on a state change. Example\n\nplaying: program1"
        },
        "description": "Define the playbook options. See the [documentation]({docs_uri}) for more information.",
        "title": "Playbook config"
      },
      "power_advanced": {
        "data": {
          "calculation_enabled_condition": "Calculation enabled condition",
          "energy_integration_method": "Energy integration method",
          "energy_sensor_unit_prefix": "Energy sensor unit prefix",
          "energy_filter_outlier_enabled": "Energy filter outliers",
          "energy_filter_outlier_max_step": "Outlier filter max step",
          "ignore_unavailable_state": "Ignore unavailable state",
          "multiply_factor": "Multiply factor",
          "multiply_factor_standby": "Multiply factor standby",
          "unavailable_power": "Unavailable power"
        },
        "data_description": {
          "calculation_enabled_condition": "The configured power calculation strategy will only be executed when this template evaluates to true or 1, otherwise the power sensor will display 0",
          "energy_filter_outlier_enabled": "Enable filtering of outlier values in the energy sensor",
          "energy_filter_outlier_max_step": "Maximum expected step in power values (in watts) for the outlier filter",
          "ignore_unavailable_state": "Toggle this setting when you want the power sensor to stay available even if the source entity is unavailable",
          "multiply_factor": "Multiplies the calculated power by this ratio. Can be useful for light groups",
          "multiply_factor_standby": "Whether to also apply multiplication factor to standby power",
          "unavailable_power": "Power in W to record when the source entity has an unavailable state"
        },
        "description": "The options below are for advanced powercalc configuration. Most users will not use this so you may skip these",
        "title": "Advanced options"
      },
      "real_power": {
        "data": {
          "create_utility_meters": "Create utility meters",
          "entity_id": "Power sensor id",
          "name": "Name",
          "device": "Device"
        },
        "data_description": {
          "create_utility_meters": "Let powercalc create utility meters, which cycle daily, hourly etc.",
          "name": "Base name for the energy and utility meter. Full entity name will be set accordingly to energy_sensor_naming setting",
          "device": "Add the created energy sensor to an specific device"
        },
        "description": "Currently specific settings can only be configured globally",
        "title": "Create an energy sensor for an existing power sensor"
      },
      "cost": {
        "data": {
          "energy_sensor_id": "Energy sensor",
          "name": "Name"
        },
        "data_description": {
          "energy_sensor_id": "The existing energy sensor (kWh) to calculate the cost for. This can be a sensor from any integration, not only Powercalc",
          "name": "Base name for the cost sensor. The full entity name is set according to the cost_sensor_naming setting"
        },
        "description": "Create a cost sensor for an existing energy sensor. The energy price is taken from the Powercalc global configuration, unless you override it below.",
        "sections": {
          "cost_pricing": {
            "name": "Price override",
            "data": {
              "energy_price": "Fixed energy price",
              "energy_price_multiplier": "Energy price multiplier",
              "energy_price_sensor": "Energy price sensor",
              "energy_price_surcharge": "Energy price surcharge"
            },
            "data_description": {
              "energy_price": "A fixed price per kWh in your local currency. Leave empty to use the global energy price",
              "energy_price_multiplier": "Multiplier applied after the surcharge. Use this for percentage-based taxes or fees, for example 1.21 for 21%. Leave empty to use the global multiplier",
              "energy_price_sensor": "A sensor which provides the current energy price per kWh (e.g. from a dynamic tariff integration). Leave the fixed price empty to use this sensor",
              "energy_price_surcharge": "Additional fixed amount per kWh added to the fixed price or price sensor value. Leave empty to use the global surcharge"
            }
          }
        },
        "title": "Create a cost sensor"
      },
      "sub_profile": {
        "data": {
          "sub_profile": "Sub profile"
        },
        "description": "This device has a model with multiple sub profiles. Select one that corresponds to the following entity of this device:\n\n\"{entity_id}\"{remarks}",
        "title": "Sub profile config"
      },
      "sub_profile_per_device": {
        "data": {
          "sub_profile": "Sub profile"
        },
        "description": "This device has a model with multiple sub profiles. {remarks}",
        "title": "Sub profile config"
      },
      "smart_switch": {
        "data": {
          "power": "Power",
          "self_usage_included": "Self usage included"
        },
        "data_description": {
          "power": "A fixed power value in Watts for the connected appliance",
          "self_usage_included": "Whether the power value includes the power consumed by the smart switch itself. When you omit it Powercalc will add the self usage of the smart switch to the power value, which is {self_usage_power}W"
        },
        "description": "Define the power consumption of the connected appliance. When it doesn't use a fixed amount of power you can skip this step. Powercalc will setup a power sensor for the self usage of the smart switch itself",
        "title": "Smart switch config"
      },
      "user": {
        "data": {
          "sensor_type": "Sensor type"
        },
        "menu_options": {
          "cost": "Cost sensor (from existing energy sensor)",
          "daily_energy": "Daily energy",
          "group": "group",
          "global_configuration": "Global configuration",
          "menu_group": "Group",
          "menu_library": "Virtual power (library)",
          "real_power": "Energy from real power sensor",
          "virtual_power": "Virtual power (manual)"
        },
        "title": "Choose your sensor type"
      },
      "utility_meter_options": {
        "title": "Utility meter options",
        "description": "Define the settings for utility meter creation here",
        "data": {
          "utility_meter_net_consumption": "Net consumption",
          "utility_meter_types": "Cycles",
          "utility_meter_tariffs": "Tariffs"
        },
        "data_description": {
          "utility_meter_net_consumption": "Enable this if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative.",
          "utility_meter_types": "Create utility meters for specified cycles",
          "utility_meter_tariffs": "A list of supported tariffs, leave empty if only a single tariff is needed."
        }
      },
      "virtual_power": {
        "data": {
          "create_energy_sensor": "Create energy sensor",
          "create_cost_sensor": "Create cost sensor",
          "create_utility_meters": "Create utility meters",
          "entity_id": "Source entity",
          "mode": "Calculation strategy",
          "name": "Name",
          "standby_power": "Standby power"
        },
        "data_description": {
          "create_energy_sensor": "Whether powercalc needs to create a kWh sensor",
          "create_utility_meters": "Let powercalc create utility meters, which cycle daily, hourly etc.",
          "entity_id": "Entity the virtual power is based on, the power sensor will listen to state changes of this entity to be updated",
          "name": "Leaving blank will take the name from the source entity",
          "standby_power": "Define the amount of power the device is consuming when in an OFF state"
        },
        "description": "See the readme for more information about the possible strategies and configuration options. Either source entity or name is required, or both.",
        "title": "Create a virtual power sensor"
      },
      "wled": {
        "data": {
          "power_factor": "Power factor",
          "voltage": "Voltage"
        },
        "description": "Make sure to enable brightness limiter in WLED software. Also see {docs_uri}",
        "title": "WLED config"
      }
    }
  },
  "issues": {
    "composite_device_id": {
      "fix_flow": {
        "abort": {
          "entry_removed": "The Powercalc configuration entry has been removed"
        },
        "error": {
          "invalid_device": "Select an existing device or leave the field empty"
        },
        "step": {
          "select_device": {
            "data": {
              "device": "Device"
            },
            "data_description": {
              "device": "The device the entities created by this Powercalc configuration should be linked to"
            },
            "description": "The Powercalc configuration {name} was linked to a device that Home Assistant has split into multiple devices. Its entities cannot be linked to the old device ID.\n\nSelect the device these entities should be linked to, or leave the field empty to leave them without a device.",
            "title": "Select device for {name}"
          }
        }
      },
      "title": "Device for Powercalc configuration {name} needs to be selected again"
    },
    "deprecated_platform_yaml": {
      "description": "Configuring sensors using `sensor->platform` has been deprecated. You need to change your configuration to `powercalc->sensors`. Click on 'Learn more' for further instructions.",
      "title": "Powercalc YAML configuration has moved"
    },
    "legacy_config": {
      "title": "YAML configuration changed",
      "description": "Your YAML configuration for {type} needs to be updated to the new structure. Click learn more for further information."
    },
    "sub_profile": {
      "fix_flow": {
        "step": {
          "sub_profile": {
            "description": "This device has a model with multiple sub profiles. Select one that corresponds to the following entity of this device:\n\n\"{entity_id}\"\n\nManufacturer: {manufacturer}\nModel: {model}{remarks}",
            "title": "Select correct sub profile",
            "data": {
              "sub_profile": "Sub profile"
            }
          }
        }
      },
      "title": "Sub profile selection required for {entry}"
    }
  },
  "options": {
    "abort": {
      "model_not_support": "Model not supported"
    },
    "error": {
      "cost_price_mandatory": "You must supply either an energy price or an energy price sensor",
      "fixed_mandatory": "You must supply at least one of Power, Power template or States power",
      "fixed_states_power_only": "This entity can only work with 'states_power' not 'power'",
      "group_mandatory": "You must define at least subgroups or power and energy-entities",
      "linear_mandatory": "You must supply at least one of max_power or calibrate",
      "linear_min_higher_as_max": "Max power cannot be lower than min power",
      "linear_unsupported_domain": "Entity domain not supported for linear mode. Must be one of: fan, light or mediaplayer. You can use the calibrate option however",
      "unknown": "Unknown error occured, please see the logs for additional information"
    },
    "step": {
      "advanced_options": {
        "title": "Advanced options",
        "data": {
          "calculation_enabled_condition": "Calculation enabled condition",
          "energy_integration_method": "Energy integration method",
          "ignore_unavailable_state": "Ignore unavailable state",
          "multiply_factor": "Multiply factor",
          "multiply_factor_standby": "Multiply factor standby",
          "unavailable_power": "Unavailable power"
        },
        "data_description": {
          "calculation_enabled_condition": "The configured power calculation strategy will only be executed when this template evaluates to true or 1, otherwise the power sensor will display 0",
          "ignore_unavailable_state": "Toggle this setting when you want the power sensor to stay available even if the source entity is unavailable",
          "multiply_factor": "Multiplies the calculated power by this ratio. Can be useful for light groups",
          "multiply_factor_standby": "Whether to also apply multiplication factor to standby power",
          "unavailable_power": "Power in W to record when the source entity has an unavailable state"
        }
      },
      "basic_options": {
        "title": "Basic options",
        "data": {
          "create_energy_sensor": "Create energy sensor",
          "create_cost_sensor": "Create cost sensor",
          "create_utility_meters": "Create utility meters",
          "entity_id": "Source entity",
          "name": "Name",
          "standby_power": "Standby power"
        },
        "data_description": {
          "create_energy_sensor": "Whether powercalc needs to create a kWh sensor",
          "create_utility_meters": "Let powercalc create utility meters, which cycle daily, hourly etc.",
          "entity_id": "Entity the virtual power is based on, the power sensor will listen to state changes of this entity to be updated",
          "name": "Leaving blank will take the name from the source entity",
          "standby_power": "Define the amount of power the device is consuming when in an OFF state"
        }
      },
      "daily_energy": {
        "title": "Daily energy options",
        "data": {
          "daily_energy_value": "Daily energy value",
          "name": "Name",
          "on_time": "On time",
          "start_time": "Start time",
          "unit_of_measurement": "Unit of measurement",
          "update_frequency": "Update frequency",
          "value": "Value",
          "value_template": "Value template"
        },
        "data_description": {
          "on_time": "When left empty defaults to 1 day. always on",
          "update_frequency": "time in seconds between state updates of the sensor"
        }
      },
      "energy_options": {
        "title": "Energy options",
        "data": {
          "energy_integration_method": "Integration method",
          "energy_sensor_unit_prefix": "Unit prefix",
          "energy_filter_outlier_enabled": "Filter outliers",
          "energy_filter_outlier_max_step": "Outlier filter max step"
        },
        "data_description": {
          "energy_filter_outlier_enabled": "Enable filtering of outlier values in the energy sensor",
          "energy_filter_outlier_max_step": "Maximum expected step in power values (in watts) for the outlier filter"
        }
      },
      "fixed": {
        "title": "Fixed options",
        "data": {
          "fixed_value": "Fixed value",
          "self_usage_included": "Self usage included"
        },
        "data_description": {
          "self_usage_included": "Whether the power value includes the power consumed by the smart switch itself."
        }
      },
      "global_configuration": {
        "title": "Basic options",
        "sections": {
          "power_options": {
            "name": "Power sensor",
            "data": {
              "power_sensor_naming": "Power sensor name pattern",
              "power_sensor_friendly_naming": "Power sensor friendly name pattern",
              "power_sensor_category": "Power sensor category",
              "power_sensor_precision": "Power sensor precision"
            }
          },
          "features": {
            "name": "Create sensors",
            "data": {
              "create_energy_sensors": "Create energy sensors",
              "create_cost_sensors": "Create cost sensors",
              "create_standby_group": "Create standby group",
              "create_utility_meters": "Create utility meters"
            },
            "data_description": {
              "create_energy_sensors": "Whether powercalc needs to create kWh sensors",
              "create_cost_sensors": "Whether powercalc needs to create cost sensors. Requires an energy price to be configured in the next steps",
              "create_standby_group": "Create group which sums all standby power consumption and self-usage of IOT devices",
              "create_utility_meters": "Let powercalc create utility meters, which cycle daily, hourly etc."
            }
          },
          "advanced": {
            "name": "Advanced",
            "data": {
              "enable_analytics": "Enable anonymous analytics",
              "ignore_unavailable_state": "Ignore unavailable state",
              "include_non_powercalc_sensors": "Include non powercalc sensors",
              "disable_extended_attributes": "Disable extended attributes",
              "disable_library_download": "Disable remote library download"
            },
            "data_description": {
              "enable_analytics": "Allow Powercalc to send anonymous, aggregated usage statistics to help improve the integration",
              "ignore_unavailable_state": "Keep Powercalc sensors available, even when the source entity is unavailable",
              "include_non_powercalc_sensors": "Control whether you want to include non powercalc sensors in groups",
              "disable_extended_attributes": "Disable all extra attributes powercalc adds to the power, energy and group entity states. This will help keep the database size small",
              "disable_library_download": "Disable the Powercalc library download feature"
            }
          }
        }
      },
      "global_configuration_cost": {
        "title": "Cost options",
        "description": "Configure the energy price used to calculate cost sensors. Provide either a fixed price or a sensor which provides the current price per kWh. See [documentation]({docs_uri}) for more info",
        "sections": {
          "cost_pricing": {
            "name": "Pricing",
            "data": {
              "energy_price": "Fixed energy price",
              "energy_price_multiplier": "Energy price multiplier",
              "energy_price_sensor": "Energy price sensor",
              "energy_price_surcharge": "Energy price surcharge"
            },
            "data_description": {
              "energy_price": "A fixed price per kWh in your local currency",
              "energy_price_multiplier": "Multiplier applied after the surcharge. Use this for percentage-based taxes or fees, for example 1.21 for 21%",
              "energy_price_sensor": "A sensor which provides the current energy price per kWh (e.g. from a dynamic tariff integration). Leave the fixed price empty to use this sensor",
              "energy_price_surcharge": "Additional fixed amount per kWh added to the fixed price or price sensor value"
            }
          },
          "cost_naming": {
            "name": "Naming",
            "data": {
              "cost_sensor_friendly_naming": "Cost sensor friendly name pattern",
              "cost_sensor_naming": "Cost sensor name pattern"
            },
            "data_description": {
              "cost_sensor_friendly_naming": "Pattern for the friendly name of the cost sensor. The source name is inserted at the placeholder position",
              "cost_sensor_naming": "Pattern used to build the cost sensor name and entity id. The source name is inserted at the placeholder position"
            }
          }
        }
      },
      "global_configuration_cost_apply": {
        "title": "Apply cost sensors",
        "description": "You changed the global cost sensors setting. Do you want to apply this change to all existing powercalc sensors that were created through the GUI?",
        "data": {
          "apply_to_all": "Apply to existing sensors"
        },
        "data_description": {
          "apply_to_all": "Update every existing GUI powercalc sensor to match the new cost sensors setting"
        }
      },
      "global_configuration_discovery": {
        "title": "Discovery options",
        "description": "Manage discovery setting. See [documentation]({docs_uri}) for more info",
        "data": {
          "enabled": "Enable discovery",
          "exclude_device_types": "Excluded device types",
          "exclude_self_usage": "Exclude self-usage"
        },
        "data_description": {
          "exclude_device_types": "Exclude one or more specific device types from discovery.",
          "exclude_self_usage": "Exclude self-usage profiles for smart switches."
        }
      },
      "global_configuration_energy": {
        "title": "Energy options",
        "description": "Define the default settings for energy sensors here. See [documentation]({docs_uri}) for more information",
        "data": {
          "energy_integration_method": "Energy integration method",
          "energy_sensor_category": "Energy sensor category",
          "energy_sensor_friendly_naming": "Energy sensor friendly name pattern",
          "energy_sensor_naming": "Energy sensor name pattern",
          "energy_sensor_precision": "Energy sensor precision",
          "energy_sensor_unit_prefix": "Energy sensor unit prefix"
        }
      },
      "global_configuration_throttling": {
        "title": "Throttling options",
        "description": "Set update intervals for the different sensor types. See [documentation]({docs_uri}) for more info",
        "data": {
          "group_energy_update_interval": "Group energy update interval",
          "group_power_update_interval": "Group power update interval",
          "energy_update_interval": "Energy update interval",
          "power_update_interval": "Power update interval"
        },
        "data_description": {
          "group_energy_update_interval": "Interval at which group energy sensors are updated. In seconds. Set to 0 to disable",
          "group_power_update_interval": "Interval at which group power sensors are updated. In seconds. Set to 0 to disable",
          "energy_update_interval": "Interval at which energy sensors are updated. In seconds. Set to 0 to disable",
          "power_update_interval": "Interval at which power sensors are force updated. In seconds. Set to 0 to disable"
        }
      },
      "global_configuration_utility_meter": {
        "title": "Utility meter options",
        "description": "Define the default settings for utility meters here. See [documentation]({docs_uri}) for more information",
        "data": {
          "utility_meter_net_consumption": "Utility meter net consumption",
          "utility_meter_tariffs": "Utility meter tariffs",
          "utility_meter_types": "Utility meter types"
        }
      },
      "group_custom": {
        "title": "Group options",
        "sections": {
          "members": {
            "name": "Members",
            "data": {
              "group_member_sensors": "Member powercalc sensors",
              "group_member_devices": "Member devices",
              "group_power_entities": "Additional power entities",
              "group_energy_entities": "Additional energy entities",
              "sub_groups": "Sub groups",
              "area": "Area",
              "floor": "Floor"
            },
            "data_description": {
              "group_member_sensors": "Powercalc sensors to include in the group",
              "group_member_devices": "Add power and energy entities from the selected devices to the group",
              "group_power_entities": "Additional power sensors (W) from your HA installation to include",
              "group_energy_entities": "Additional energy sensors (kWh) from your HA installation to include",
              "sub_groups": "All containing sensors from the selected subgroups will be added to this group as well",
              "area": "Adds all power sensors from the specified area",
              "floor": "Adds all power sensors from the specified floor"
            }
          },
          "options": {
            "name": "Options",
            "data": {
              "device": "Device",
              "hide_members": "Hide members",
              "include_non_powercalc_sensors": "Include non powercalc sensors",
              "force_calculate_group_energy": "Force calculate energy"
            },
            "data_description": {
              "device": "Add the group entities powercalc creates to an existing device",
              "include_non_powercalc_sensors": "Control whether to include non powercalc sensors when using the area option",
              "force_calculate_group_energy": "By default powercalc sums the energy sensors from the member sensors. Toggle this option to force creating a Riemann Sum sensor"
            }
          }
        }
      },
      "group_subtract": {
        "data": {
          "entity_id": "Base entity",
          "subtract_entities": "Subtract entities"
        },
        "data_description": {
          "entity_id": "The base entity to subtract the power from",
          "subtract_entities": "Select all the entities you want to subtract from the base entity"
        },
        "title": "Group options"
      },
      "group_tracked_untracked": {
        "data": {
          "main_power_sensor": "Mains power sensor",
          "group_tracked_auto": "Entities auto added",
          "create_energy_sensor": "Create energy sensor",
          "create_cost_sensor": "Create cost sensor",
          "create_utility_meters": "Create utility meters"
        },
        "data_description": {
          "main_power_sensor": "Select the power sensor containing your total power usage. When left empty, only an tracked power sensor will be created",
          "group_tracked_auto": "Powercalc will automatically add all power sensors to the tracked group, skipping powercalc groups. Disable this when you'd like to manually define the tracked entities",
          "create_energy_sensor": "Whether powercalc needs to create a kWh sensor",
          "create_utility_meters": "Let powercalc create utility meters, which cycle daily, hourly etc."
        },
        "title": "Tracked/untracked group options"
      },
      "group_tracked_untracked_manual": {
        "data": {
          "group_tracked_entities": "Tracked entities"
        },
        "title": "Select power entities"
      },
      "init": {
        "menu_options": {
          "advanced_options": "Advanced options",
          "basic_options": "Basic options",
          "cost": "Cost options",
          "daily_energy": "Daily energy options",
          "energy_options": "Energy options",
          "fixed": "Fixed options",
          "group_custom": "Group options",
          "group_subtract": "Group options",
          "group_tracked_untracked": "Group options",
          "group_tracked_untracked_manual": "Tracked entities",
          "library_options": "Library options",
          "linear": "Linear options",
          "playbook": "Playbook options",
          "multi_switch": "Multi switch options",
          "real_power": "Real power options",
          "utility_meter_options": "Utility meter options",
          "wled": "WLED options",
          "cost_options": "Cost options"
        }
      },
      "library_options": {
        "title": "Library options",
        "description": "Currently the following library profile is selected: \n manufacturer: {manufacturer}\n model: {model}\n\nIf you want to change the profile, click next."
      },
      "linear": {
        "title": "Linear options",
        "data": {
          "attribute": "Attribute",
          "calibrate": "Calibration values",
          "gamma_curve": "Gamma curve",
          "max_power": "Max power",
          "min_power": "Min power"
        },
        "data_description": {
          "attribute": "Specify the attribute. When left empty will be brightness for lights and percentage for fans",
          "calibrate": "Put a calibration value on each line. Example\n\n1: 20"
        }
      },
      "multi_switch": {
        "title": "Multi switch options",
        "data": {
          "entities": "Switch entities",
          "power": "Power ON",
          "power_off": "Power OFF"
        },
        "data_description": {
          "entities": "Select all the individual switches that are part of the multi switch",
          "power": "Power for a single switch when turned on",
          "power_off": "Power for a single switch when turned off"
        }
      },
      "playbook": {
        "title": "Playbook options",
        "data": {
          "autostart": "Autostart",
          "playbooks": "Playbooks",
          "repeat": "Repeat",
          "states_trigger": "State trigger"
        },
        "data_description": {
          "autostart": "Indicate to start a certain playbook when HA starts. i.e. 'program1'",
          "repeat": "Toggle when you want to keep repeating the playbook after it completes",
          "states_trigger": "Trigger a playbook based on a state change. Example\n\nplaying: program1"
        }
      },
      "real_power": {
        "title": "Real power options",
        "data": {
          "device": "Device"
        },
        "data_description": {
          "device": "Add the created energy sensor to an specific device"
        }
      },
      "cost": {
        "data": {
          "energy_sensor_id": "Energy sensor"
        },
        "data_description": {
          "energy_sensor_id": "The existing energy sensor (kWh) to calculate the cost for"
        },
        "sections": {
          "cost_pricing": {
            "name": "Price override",
            "data": {
              "energy_price": "Fixed energy price",
              "energy_price_multiplier": "Energy price multiplier",
              "energy_price_sensor": "Energy price sensor",
              "energy_price_surcharge": "Energy price surcharge"
            },
            "data_description": {
              "energy_price": "A fixed price per kWh in your local currency. Leave empty to use the global energy price",
              "energy_price_multiplier": "Multiplier applied after the surcharge. Use this for percentage-based taxes or fees, for example 1.21 for 21%. Leave empty to use the global multiplier",
              "energy_price_sensor": "A sensor which provides the current energy price per kWh (e.g. from a dynamic tariff integration). Leave the fixed price empty to use this sensor",
              "energy_price_surcharge": "Additional fixed amount per kWh added to the fixed price or price sensor value. Leave empty to use the global surcharge"
            }
          }
        },
        "title": "Cost options"
      },
      "utility_meter_options": {
        "title": "Utility meter options",
        "data": {
          "utility_meter_net_consumption": "Net consumption",
          "utility_meter_types": "Cycles",
          "utility_meter_tariffs": "Tariffs"
        },
        "data_description": {
          "utility_meter_net_consumption": "Enable this if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative.",
          "utility_meter_types": "Create utility meters for specified cycles",
          "utility_meter_tariffs": "A list of supported tariffs, leave empty if only a single tariff is needed."
        }
      },
      "wled": {
        "title": "WLED options",
        "data": {
          "power_factor": "Power factor",
          "voltage": "Voltage"
        }
      },
      "cost_options": {
        "data": {
          "energy_price": "Fixed energy price",
          "energy_price_multiplier": "Energy price multiplier",
          "energy_price_sensor": "Energy price sensor",
          "energy_price_surcharge": "Energy price surcharge"
        },
        "data_description": {
          "energy_price": "A fixed price per kWh in your local currency. Leave empty to use the global energy price",
          "energy_price_multiplier": "Multiplier applied after the surcharge. Use this for percentage-based taxes or fees, for example 1.21 for 21%. Leave empty to use the global multiplier",
          "energy_price_sensor": "A sensor which provides the current energy price per kWh (e.g. from a dynamic tariff integration). Leave the fixed price empty to use this sensor",
          "energy_price_surcharge": "Additional fixed amount per kWh added to the fixed price or price sensor value. Leave empty to use the global surcharge"
        },
        "description": "Override the globally configured energy price for this sensor only. Leave all fields empty to keep using the global price. See [documentation]({docs_uri}) for more info",
        "title": "Cost options"
      }
    }
  },
  "selector": {
    "daily_energy_value": {
      "choices": {
        "value": "Fixed value",
        "value_template": "Template"
      }
    },
    "fixed_value": {
      "choices": {
        "power": "Fixed value",
        "power_template": "Template",
        "states_power": "State mapping"
      }
    }
  },
  "services": {
    "activate_playbook": {
      "description": "Start execution of a playbook.",
      "fields": {
        "playbook_id": {
          "description": "Playbook identifier.",
          "name": "Playbook"
        }
      },
      "name": "Activate playbook"
    },
    "calibrate_energy": {
      "description": "Sets the energy sensor to a given kWh value.",
      "fields": {
        "value": {
          "description": "The value to set.",
          "name": "Value"
        }
      },
      "name": "Calibrate energy sensor"
    },
    "calibrate_cost": {
      "description": "Sets the cost sensor to a given monetary value.",
      "fields": {
        "value": {
          "description": "The value to set.",
          "name": "Value"
        }
      },
      "name": "Calibrate cost sensor"
    },
    "calibrate_utility_meter": {
      "description": "Calibrates a utility meter sensor.",
      "fields": {
        "value": {
          "description": "The value to set.",
          "name": "Value"
        }
      },
      "name": "Calibrate utility meter"
    },
    "change_gui_config": {
      "description": "Batch change configuration of all Powercalc config entries",
      "fields": {
        "field": {
          "description": "The field you'd like to change",
          "name": "Value"
        },
        "value": {
          "description": "The value to set.",
          "name": "Value"
        }
      },
      "name": "Change GUI config"
    },
    "debug_group": {
      "description": "Get a debug overview of a group power or energy sensor including current member values.",
      "name": "Debug group"
    },
    "get_active_playbook": {
      "description": "Get current running playbook",
      "name": "Get active playbook"
    },
    "get_group_entities": {
      "description": "Retrieve all entity id's of a group energy or power sensor",
      "name": "Get group entities"
    },
    "increase_daily_energy": {
      "description": "Increases the sensor with a given amount.",
      "fields": {
        "value": {
          "description": "Amount to add to the sensor.",
          "name": "Value"
        }
      },
      "name": "Increase daily energy sensor"
    },
    "reload": {
      "description": "Reload Powercalc configuration and entities",
      "name": "Reload"
    },
    "reset_energy": {
      "description": "Reset an energy sensor to zero kWh.",
      "name": "Reset energy sensor"
    },
    "reset_cost": {
      "description": "Reset a cost sensor to zero.",
      "name": "Reset cost sensor"
    },
    "stop_playbook": {
      "description": "Stop currently active playbook.",
      "name": "Stop playbook"
    },
    "switch_sub_profile": {
      "description": "Some profiles in the library has different sub profiles. This service allows you to switch to another one.",
      "fields": {
        "profile": {
          "name": "Sub profile",
          "description": "Define one of the possible sub profiles"
        }
      },
      "name": "Switch to another sub profile"
    }
  }
}
