Given a topological space $X$ and a Banach space $V$, I wonder for which open sets $U$ it is possible to construct a continuous function $f: X \to V$ such that $f^{-1}[B(0, 1)] = U$ - or maybe there is some nonempty open $V \subseteq U$ such that $f^{-1}[B(0, 1)] = V$. Perhaps some separation properties can ensure this, but I do not see an obvious way to construct this (maybe some Urysohn's lemma argument?).
The main goal is to construct a function that is continuous, but not continuous with respect to an algebra. The definition for this is given an algebra $\mathcal A$ on $X$, we say that $f: X \to V$ is $\mathcal A$-continuous at $x \in X$ if for every $\varepsilon > 0$ there are $A_1, \dots, A_n \in \mathcal A$ such that $\bigcup A_i$ is a neighborhood for $x$ and $\mathrm{diam}(f[A_i]) < \varepsilon$ for each $i$.