SYMBOL INDEX (155 symbols across 9 files) FILE: custom_components/battery_sim/__init__.py function async_setup (line 147) | async def async_setup(hass, config): function async_setup_entry (line 175) | async def async_setup_entry(hass, entry) -> bool: function async_update_settings (line 255) | async def async_update_settings(hass, entry): function async_unload_entry (line 261) | async def async_unload_entry(hass, config_entry): class SimulatedBatteryHandle (line 296) | class SimulatedBatteryHandle: method _safe_curve_efficiency (line 300) | def _safe_curve_efficiency(curve, fallback=1.0): method __init__ (line 306) | def __init__(self, config, hass, entry_id=None): method device_identifier (line 406) | def device_identifier(self): method matches_device_identifiers (line 410) | def matches_device_identifiers(self, identifiers): method async_set_battery_charge_state (line 418) | def async_set_battery_charge_state(self, state: float): method async_set_battery_cycles (line 432) | def async_set_battery_cycles(self, cycles: float): method async_reset_battery (line 445) | def async_reset_battery(self): method reset_sim_sensor (line 486) | def reset_sim_sensor(self, target_sensor_key): method async_source_tracking (line 506) | def async_source_tracking(self, event): method async_periodic_update (line 539) | def async_periodic_update(self, now): method async_reading_handler (line 544) | def async_reading_handler( method async_solar_reading_handler (line 632) | def async_solar_reading_handler(self, event): method get_tariff_information (line 683) | def get_tariff_information(self, input_details): method set_slider_limit (line 705) | def set_slider_limit(self, value: float, key: str): method async_trigger_update (line 719) | def async_trigger_update(self): method _async_maybe_update_battery (line 723) | def _async_maybe_update_battery(self): method _async_delayed_update (line 753) | def _async_delayed_update(self, _now): method degradation_factor (line 759) | def degradation_factor(self) -> float: method current_max_capacity (line 766) | def current_max_capacity(self) -> float: method update_battery (line 770) | def update_battery(self, import_amount, export_amount, solar_amount=0.0): FILE: custom_components/battery_sim/button.py function async_setup_entry (line 20) | async def async_setup_entry(hass, config_entry, async_add_entities): function async_setup_platform (line 33) | async def async_setup_platform( class BatteryButton (line 52) | class BatteryButton(ButtonEntity): method __init__ (line 55) | def __init__(self, handle, button_type, key, icon): method unique_id (line 68) | def unique_id(self): method name (line 73) | def name(self): method device_info (line 77) | def device_info(self): method icon (line 84) | def icon(self): method should_poll (line 89) | def should_poll(self): method async_press (line 93) | async def async_press(self): FILE: custom_components/battery_sim/config_flow.py class BatterySetupConfigFlow (line 57) | class BatterySetupConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): method async_get_options_flow (line 62) | def async_get_options_flow(config_entry): method _validate_efficiency_fields (line 67) | def _validate_efficiency_fields(user_input): method async_step_user (line 80) | async def async_step_user(self, user_input): method async_step_custom (line 107) | async def async_step_custom(self, user_input=None): method async_step_meter_menu (line 169) | async def async_step_meter_menu(self, user_input=None): method async_step_add_import_meter (line 182) | async def async_step_add_import_meter(self, user_input=None): method async_step_add_export_meter (line 202) | async def async_step_add_export_meter(self, user_input=None): method async_step_tariff_menu (line 222) | async def async_step_tariff_menu(self, user_input=None): method async_step_no_tariff_info (line 228) | async def async_step_no_tariff_info(self, user_input=None): method async_step_fixed_tariff (line 233) | async def async_step_fixed_tariff(self, user_input=None): method async_step_tariff_sensor (line 251) | async def async_step_tariff_sensor(self, user_input=None): method async_step_all_done (line 265) | async def async_step_all_done(self, user_input=None): class BatteryOptionsFlowHandler (line 269) | class BatteryOptionsFlowHandler(config_entries.OptionsFlow): method __init__ (line 272) | def __init__(self, config_entry=None): method _battery_config_entry (line 279) | def _battery_config_entry(self): method _validate_efficiency_fields (line 284) | def _validate_efficiency_fields(user_input): method async_step_init (line 297) | async def async_step_init(self, user_input=None): method async_step_main_params (line 311) | async def async_step_main_params(self, user_input=None): method async_step_input_sensors (line 420) | async def async_step_input_sensors(self, user_input=None): method async_step_delete_input (line 433) | async def async_step_delete_input(self, user_input=None): method async_step_edit_input_tariff (line 456) | async def async_step_edit_input_tariff(self, user_input=None): method async_step_add_import_meter (line 474) | async def async_step_add_import_meter(self, user_input=None): method async_step_add_export_meter (line 495) | async def async_step_add_export_meter(self, user_input=None): method async_step_tariff_menu (line 516) | async def async_step_tariff_menu(self, user_input=None): method async_step_no_tariff_info (line 522) | async def async_step_no_tariff_info(self, user_input=None): method async_step_fixed_tariff (line 531) | async def async_step_fixed_tariff(self, user_input=None): method async_step_tariff_sensor (line 556) | async def async_step_tariff_sensor(self, user_input=None): method async_step_all_done (line 576) | async def async_step_all_done(self, user_input=None): FILE: custom_components/battery_sim/helpers.py function generate_input_list (line 32) | def generate_input_list(config): function parse_efficiency_curve (line 108) | def parse_efficiency_curve(raw_value): function validate_efficiency_config (line 160) | def validate_efficiency_config(raw_value): function interpolate_efficiency (line 166) | def interpolate_efficiency(curve_points, power_kw): function _validate_efficiency (line 186) | def _validate_efficiency(value): FILE: custom_components/battery_sim/number.py function async_setup_entry (line 53) | async def async_setup_entry(hass, config_entry, async_add_entities): function async_setup_platform (line 65) | async def async_setup_platform( hass, configuration, async_add_entities,... class BatterySlider (line 84) | class BatterySlider(RestoreNumber): method __init__ (line 87) | def __init__(self, handle, slider_type, key, icon, unit, precision): method unique_id (line 117) | def unique_id(self): method name (line 122) | def name(self): method device_info (line 126) | def device_info(self): method native_min_value (line 133) | def native_min_value(self): method native_max_value (line 137) | def native_max_value(self): method native_step (line 141) | def native_step(self): method native_value (line 145) | def native_value(self): method async_set_native_value (line 148) | async def async_set_native_value(self, value: float) -> None: method async_added_to_hass (line 156) | async def async_added_to_hass(self): FILE: custom_components/battery_sim/select.py function async_setup_entry (line 21) | async def async_setup_entry(hass, config_entry, async_add_entities): function async_setup_platform (line 27) | async def async_setup_platform( class BatteryMode (line 42) | class BatteryMode(SelectEntity): method __init__ (line 45) | def __init__(self, handle): method unique_id (line 61) | def unique_id(self): method name (line 65) | def name(self): method device_info (line 69) | def device_info(self): method icon (line 76) | def icon(self): method current_option (line 80) | def current_option(self): method options (line 84) | def options(self): method async_select_option (line 87) | async def async_select_option(self, option: str): FILE: custom_components/battery_sim/sensor.py function async_setup_entry (line 76) | async def async_setup_entry(hass, config_entry, async_add_entities): function async_setup_platform (line 82) | async def async_setup_platform( function define_sensors (line 95) | async def define_sensors(hass, handle): class DisplayOnlySensor (line 184) | class DisplayOnlySensor(RestoreEntity, SensorEntity): method __init__ (line 194) | def __init__(self, handle, sensor_name, type_of_sensor, units): method _supports_last_reset (line 208) | def _supports_last_reset(self): method async_added_to_hass (line 212) | async def async_added_to_hass(self): method name (line 259) | def name(self): method unique_id (line 264) | def unique_id(self): method device_info (line 269) | def device_info(self): method native_value (line 273) | def native_value(self): method device_class (line 284) | def device_class(self): method state_class (line 289) | def state_class(self): method unit_of_measurement (line 302) | def unit_of_measurement(self): method extra_state_attributes (line 307) | def extra_state_attributes(self): method icon (line 343) | def icon(self): method state (line 347) | def state(self): method update (line 361) | def update(self): method last_reset (line 366) | def last_reset(self): method available (line 373) | def available(self) -> bool: class SimulatedBattery (line 380) | class SimulatedBattery(RestoreEntity, SensorEntity): method __init__ (line 385) | def __init__(self, handle): method async_added_to_hass (line 391) | async def async_added_to_hass(self): method name (line 428) | def name(self): method unique_id (line 433) | def unique_id(self): method device_info (line 438) | def device_info(self): method native_value (line 445) | def native_value(self): method device_class (line 450) | def device_class(self): method state_class (line 455) | def state_class(self): method native_unit_of_measurement (line 460) | def native_unit_of_measurement(self): method unit_of_measurement (line 465) | def unit_of_measurement(self): method extra_state_attributes (line 470) | def extra_state_attributes(self): method icon (line 491) | def icon(self): method state (line 502) | def state(self): class BatteryStatus (line 507) | class BatteryStatus(SensorEntity): method __init__ (line 512) | def __init__(self, handle, sensor_name): method async_added_to_hass (line 521) | async def async_added_to_hass(self): method name (line 536) | def name(self): method unique_id (line 541) | def unique_id(self): method device_info (line 546) | def device_info(self): method native_value (line 550) | def native_value(self): method device_class (line 555) | def device_class(self): method extra_state_attributes (line 560) | def extra_state_attributes(self): method icon (line 568) | def icon(self): method state (line 580) | def state(self): FILE: custom_components/battery_sim/switch.py function async_setup_entry (line 19) | async def async_setup_entry(hass, config_entry, async_add_entities): function async_setup_platform (line 31) | async def async_setup_platform( class BatterySwitch (line 50) | class BatterySwitch(SwitchEntity): method __init__ (line 53) | def __init__(self, handle, switch_type, key, icon): method unique_id (line 68) | def unique_id(self): method name (line 72) | def name(self): method device_info (line 76) | def device_info(self): method icon (line 83) | def icon(self): method is_on (line 87) | def is_on(self): method async_turn_on (line 90) | async def async_turn_on(self, **kwargs): method async_turn_off (line 96) | async def async_turn_off(self, **kwargs): FILE: scripts/check_translations_usage.py function parse_consts (line 20) | def parse_consts() -> dict[str, str]: function resolve_const (line 29) | def resolve_const(name: str, consts: dict[str, str]) -> str: function flatten_leaves (line 33) | def flatten_leaves(obj: Any, prefix: tuple[str, ...] = ()) -> set[tuple[... function load_json_and_duplicates (line 43) | def load_json_and_duplicates(path: pathlib.Path) -> tuple[dict[str, Any]... function collect_used_paths (line 60) | def collect_used_paths() -> set[tuple[str, ...]]: function main (line 154) | def main() -> int: