async def METHOD_NAME(
    hass: HomeAssistant,
) -> None:
    """
    See https://github.com/bramstroker/homeassistant-powercalc/issues/1544
    """
    template = "{{ 100 * 20 | float}}"
    entry = MockConfigEntry(
        domain=DOMAIN,
        data={
            CONF_SENSOR_TYPE: SensorType.VIRTUAL_POWER,
            CONF_NAME: "testentry",
            CONF_ENTITY_ID: DUMMY_ENTITY_ID,
            CONF_FIXED: {CONF_POWER: template, CONF_POWER_TEMPLATE: template},
        },
        unique_id="abcd",
    )
    entry.add_to_hass(hass)
    await hass.config_entries.async_setup(entry.entry_id)
    await hass.async_block_till_done()
    new_entry = hass.config_entries.async_get_entry(entry.entry_id)
    assert new_entry.data == {
        ENTRY_DATA_ENERGY_ENTITY: "sensor.testentry_energy",
        ENTRY_DATA_POWER_ENTITY: "sensor.testentry_power",
        CONF_SENSOR_TYPE: SensorType.VIRTUAL_POWER,
        CONF_NAME: "testentry",
        CONF_ENTITY_ID: DUMMY_ENTITY_ID,
        CONF_FIXED: {
            CONF_POWER_TEMPLATE: template,
        },
    }
    assert new_entry.version == 2